Skip to content

feat(shutdown): handle SIGINT/SIGTERM signals

Codecov / codecov/patch succeeded Oct 4, 2024 in 1s

18.5% of diff hit (target 0.0%)

View this Pull Request on Codecov

18.5% of diff hit (target 0.0%)

Annotations

Check warning on line 83 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L83

Added line #L83 was not covered by tests

Check warning on line 91 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L85-L91

Added lines #L85 - L91 were not covered by tests

Check warning on line 94 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L94

Added line #L94 was not covered by tests

Check warning on line 101 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L97-L101

Added lines #L97 - L101 were not covered by tests

Check warning on line 103 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L103

Added line #L103 was not covered by tests

Check warning on line 109 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L105-L109

Added lines #L105 - L109 were not covered by tests

Check warning on line 117 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L112-L117

Added lines #L112 - L117 were not covered by tests

Check warning on line 121 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L121

Added line #L121 was not covered by tests

Check warning on line 123 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L123

Added line #L123 was not covered by tests

Check warning on line 129 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L127-L129

Added lines #L127 - L129 were not covered by tests

Check warning on line 132 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L131-L132

Added lines #L131 - L132 were not covered by tests

Check warning on line 134 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L134

Added line #L134 was not covered by tests

Check warning on line 137 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L136-L137

Added lines #L136 - L137 were not covered by tests

Check warning on line 142 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L141-L142

Added lines #L141 - L142 were not covered by tests

Check warning on line 145 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L144-L145

Added lines #L144 - L145 were not covered by tests

Check warning on line 198 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L198

Added line #L198 was not covered by tests

Check warning on line 205 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L202-L205

Added lines #L202 - L205 were not covered by tests

Check warning on line 209 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L208-L209

Added lines #L208 - L209 were not covered by tests

Check warning on line 213 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L213

Added line #L213 was not covered by tests

Check warning on line 217 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L215-L217

Added lines #L215 - L217 were not covered by tests

Check warning on line 219 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L219

Added line #L219 was not covered by tests

Check warning on line 221 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L221

Added line #L221 was not covered by tests

Check warning on line 225 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L224-L225

Added lines #L224 - L225 were not covered by tests

Check warning on line 228 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L227-L228

Added lines #L227 - L228 were not covered by tests

Check warning on line 231 in src/astarte.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/astarte.rs#L231

Added line #L231 was not covered by tests