Commit 1e98bd8
committed
fix: delete broken task-dump examples and fix CI to catch example failures
The `task_dump` module was removed but 4 examples (long_sleep,
completing_task, cancelled_task, debug_timing) and 1 bench
(poll_overhead) that depended on it were left behind. These compiled
fine in the default CI because:
1. `cargo build` didn't use `--all-features` or `--all-targets`, so
feature-gated examples were never compiled
2. `cargo clippy` didn't use `--all-targets` or `--all-features`, so
examples and feature-gated code were not linted
Only the nightly stress test (which uses `--all-features`) caught the
breakage.
Changes:
- Delete 4 broken task-dump examples and 1 broken bench
- Remove the `task-dump` feature from Cargo.toml and README
- Build action: `cargo build` → `cargo build --all-targets --all-features`
- Build action: `cargo test` → `cargo test --all-features`
- Clippy: `cargo clippy --workspace` → `cargo clippy --all-targets --all-features`1 parent 2117416 commit 1e98bd8
10 files changed
Lines changed: 3 additions & 309 deletions
File tree
- .github
- actions/rust-build
- workflows
- dial9-tokio-telemetry
- benches
- examples
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | 69 | | |
76 | 70 | | |
77 | 71 | | |
78 | 72 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | 73 | | |
96 | 74 | | |
97 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
225 | 224 | | |
226 | 225 | | |
227 | 226 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments