Repository navigation
revert: drop wt-perf test layout workaround from #2604 - #2610
Merged
Merged
Conversation
The PR moved timeline tests out of `src/main.rs` into `src/lib.rs` and set `test = false` on the bin to dodge cargo-affected#13 — the runner shim couldn't disambiguate `[lib]` and `[[bin]]` artifacts that both normalize to `wt_perf` when neither kind carries a marker. cargo-affected#14 fixed that by reading `NEXTEST_BINARY_ID` from the nextest env directly, so the shim now handles lib+bin collisions natively. The workaround is no longer needed. CI installs `cargo-affected` from git without a pin, so the upstream fix is picked up automatically — no version bump. Co-Authored-By: Claude <[email protected]>
worktrunk-bot
approved these changes
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR #2604 moved timeline tests out of
tests/helpers/wt-perf/src/main.rsintosrc/lib.rsand settest = falseon the[[bin]]to dodge cargo-affected#13 — the runner shim couldn't disambiguate[lib]and[[bin]]artifacts that both normalize towt_perfwhen neither kind carries a marker.cargo-affected#14 fixed that upstream by reading
NEXTEST_BINARY_IDfrom the nextest env directly, so the shim now handles lib+bin collisions natively. The workaround is no longer needed.This restores the three files in
tests/helpers/wt-perf/to their pre-#2604 state: tests live inmain.rsagain, the bin compiles its#[cfg(test)]block under nextest, and thetest = falseline is gone.CI installs
cargo-affectedfrom git without a pin (see.github/workflows/ci.yaml:287,:359), so the upstream fix is picked up automatically — no pin bump.Verification
cargo build -p wt-perf✓cargo test -p wt-perf✓ — both inline tests run frommain.rs(tests::cmd_failure_annotates_name,tests::renders_sorted_timeline_with_summary), plus thetests/builds.rs::buildsintegration test.affected testsandcollect affected coveragejobs in this PR's CI will exercise the actual fix end-to-end.