Skip to content

Commit 54cea5f

Browse files
authored
Merge branch 'main' into 302-config-from-env
2 parents f501477 + 6342350 commit 54cea5f

30 files changed

Lines changed: 1534 additions & 1516 deletions

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ jobs:
212212
if: github.event_name == 'pull_request'
213213
steps:
214214
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
215+
with:
216+
# Need full history so cargo-semver-checks can use origin/main as the baseline.
217+
fetch-depth: 0
215218
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master
216219
with:
217220
toolchain: ${{ env.STABLE_TOOLCHAIN }}
@@ -225,8 +228,14 @@ jobs:
225228
- name: Check semver compliance
226229
env:
227230
RUSTFLAGS: "--cfg tokio_unstable"
231+
# Compare against origin/main rather than the latest crates.io release. This
232+
# surfaces only breaking changes introduced *by this PR* — accumulated breaks
233+
# already on main don't relitigate on every PR. release-plz's own
234+
# semver_check (at release time) is the gate that ensures a major bump
235+
# before publishing.
228236
run: |
229237
cargo semver-checks \
238+
--baseline-rev origin/main \
230239
-p dial9-trace-format-derive \
231240
-p dial9-trace-format \
232241
-p dial9-perf-self-profile \

AGENTS.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ Unguarded logging in loops causes log spam that degrades observability and can i
7777
## Running tests
7878

7979
- Always run `cargo nextest run` to run tests
80+
- Shuttle tests are NOT included in `cargo nextest run`. They require a separate invocation: `./scripts/test-shuttle.sh`. Always run this when modifying code under `#[cfg(all(test, shuttle))]` or the flush/source paths.
8081

8182
## Ownership
8283

@@ -125,3 +126,13 @@ Failing to update it will cause the viewer to fail when loading the demo.
125126
## Ways of working
126127
- After finishing your work use showboat to demonstrate what you have done. include key code, tests, and what was changed.
127128
- Use a progress doc to keep track of what you are doing. progress docs are just for you. when we are ready for PR, we unstage the progress docs
129+
130+
## Agent skills
131+
132+
### Issue tracker
133+
134+
GitHub Issues on `dial9-rs/dial9-tokio-telemetry`. See `docs/agents/issue-tracker.md`.
135+
136+
### Domain docs
137+
138+
Single-context layout. See `docs/agents/domain.md`.

dial9-tokio-telemetry/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ worker-s3 = [
8585
"dep:aws-config",
8686
"dep:time",
8787
]
88+
## Removes #[non_exhaustive] from event structs so downstream crates can
89+
## construct them directly. Unstable: no semver guarantees on new fields.
90+
unstable-events = []
8891
## All features except platform-specific ones (taskdump). Used in CI for non-Linux targets.
8992
__nonlinux_all_features = [
9093
"analysis",
@@ -97,6 +100,7 @@ __nonlinux_all_features = [
97100
dial9-tokio-telemetry = { path = ".", features = [
98101
"analysis",
99102
"tracing-layer",
103+
"unstable-events",
100104
"worker-s3",
101105
] }
102106
assert2 = { workspace = true }

0 commit comments

Comments
 (0)