Follow-up: extend PR fixes, forward-port #67, consolidate xtask migration#291
Follow-up: extend PR fixes, forward-port #67, consolidate xtask migration#291EffortlessSteven wants to merge 4 commits into
Conversation
…zers Completes the fix from PR #256 which only covered integration_bus.rs. The same compile error existed in bus_depth_tests.rs (6 sites), depth_tests.rs (10 sites), and mutation_killing_tests.rs (6 sites). All bus tests now compile and pass.
Picks up the cleanest set of helper conversions from the four codex variants (#279-#282) and applies them on top of current main, dropping each variant's stale duplicate test fixes and validate.rs revert. Adds three xtask subcommands: - `fix-front-matter`: walks docs/, normalizes legacy fields, regenerates doc_ids, rewrites YAML front matter in place - `license-inventory`: runs `cargo license --json`, filters workspace crates, emits third-party-components.toml + reference docs - `wix-images`: regenerates the WiX installer placeholder BMPs deterministically without a Python dependency Removes the replaced helpers (scripts/fix_front_matter.py, scripts/generate_license_inventory.ps1, installer/wix/generate-images.py) and updates installer/wix/README.md to point at `cargo xtask wix-images`.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (22)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Forward-ports the test additions from #71 onto current main. The original PR's branch had drifted ~2 months and would have deleted many recently-added workspace members and the existing cli_depth_tests.rs / depth_tests.rs files, so only the new files and dev-dependency additions are picked up here. New test files: - output_format.rs (13) — JSON/human formatting, overlay commands - version_cmd.rs ( 9) — --version flag, version subcommand - help_completeness.rs (26) — all subcommands listed, leaf flag coverage - profile_cmd.rs (12) — list/validate/apply/export/activate/show - device_cmd.rs (13) — list/info/dump/calibrate/test - diag_cmd.rs (17) — bundle/health/metrics/trace/record/replay/export - error_handling.rs (24) — invalid args, exit codes, no-panic checks Adds assert_cmd + predicates as workspace and flight-cli dev-deps, preserving the existing insta dev-dep that backs src/scripting and src/batch snapshot tests. Annotates the unused parse_json_from helper with #[allow(dead_code)] to silence the dead-code warning. Verified: all 113 new tests pass; build is warning-clean.
Summary
Consolidated follow-up work from the PR review/merge pass. Each commit either forward-ports a merge-conflicting PR or extends a partial fix that the original PR didn't cover end-to-end.
fix(test): add missing topic field to remaining RoutePattern initializers— extends fix(test): add missing topic field to RoutePattern #256 (which only fixedintegration_bus.rs) by adding the sameTopic::Anyfield to the 22 otherRoutePattern { ... }sites inbus_depth_tests.rs,depth_tests.rs, andmutation_killing_tests.rs. Without this, the flight-bus test target still fails to compile after fix(test): add missing topic field to RoutePattern #256.fix(ci): increase validate/test timeouts for 100-crate workspace— forward-port of fix(ci): increase job timeouts for 100-crate workspace #67, which conflicted onci.ymlafter fix(ci): handle cargo-public-api JSON format compatibility #74 rewrote the public-API guard section. Raises Validation Pipeline to 45 min and Test Suite to 30/45 min (Linux/Windows) as fix(ci): increase job timeouts for 100-crate workspace #67 intended.chore(xtask): convert maintenance helpers to first-class xtask commands— picks the cleanest subset from the four codex variants (Convert utility scripts to Rust and addxtaskbuild/fix commands #279–Convert Python helpers to Rust xtasks #282) and applies it on top of current main. Addscargo xtask fix-front-matter,license-inventory,wix-images, drops the replacedscripts/fix_front_matter.py,scripts/generate_license_inventory.ps1, andinstaller/wix/generate-images.py, and updatesinstaller/wix/README.mdto point at the new command. Dropped each variant'sxtask/src/validate.rschange because it pre-dated fix(ci): handle cargo-public-api JSON format compatibility #74 and would have reverted the rustdoc JSON format-error handling, and dropped each variant's stale duplicate test fixes because those merged via fix(clippy): replace single-match with if let in profile_linter #255–fix(test): update MockHotplugMonitor usage #257 / Add degradation_reasons field to SafeModeDiagnostic #259.Test plan
cargo test -p flight-bus --tests— bus tests compile and pass after RoutePattern fix (10 + 11 tests across affected files green)cargo build -p xtask— workspace builds with the three new xtask modulescargo clippy -p xtask --no-deps -- -D warnings— cleancargo xtask wix-images— regeneratesinstaller/wix/banner.bmpanddialog.bmpdeterministically (byte-identical to committed BMPs)cargo xtask --help— lists the three new commandsRelated
Squash-merged this pass: #255, #256, #257, #258, #259, #74, #283, #285.
Closed in favour of selected variant or above commits: #67, #284, #286, #279, #280, #281, #282, #287, #288, #289, #290.
Reviewed and left open with comments for split-up: #254, #68.
Generated by Claude Code