Repository navigation
Conversation
… not spacing Commit 5a70b6b (style(treefmt): auto-format on main) collapsed the multi-line run_closed_bound_checks call in turso_queue/core.rs onto one line, so the flattened-source assertion at closed_bound.rs:822 — which expected 'run_closed_bound_checks( t, ...' with a space — went stale and failed main CI fleet-smoke (run 45157413086, issue #13221). The wiring itself is intact: the detective still rides the sweep with its own closed_bound_limit key, opt-out closed_bound flag defaulting on, and its summary under out["closed_bound"]. This asserts the call pieces (function name, then 't, req_i64(req, "closed_bound_limit")') so treefmt can lay the call out on one line or many without breaking the test. Fixes #13221
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 32 minutes. View limit details
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. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Closing as superseded: #13221 is already fixed on main by merged #13228 (commit b4d5c3f, whitespace-insensitive sweep-wiring assertion). This PR's piece-wise assertion is a duplicate fix for the same stale assertion; the focused closed_bound suite (9 tests, incl. sweep_wiring_runs_the_detective_beside_the_recheckers) passes on main. Verified by lane code-i. |
Summary
Stale source-shape assertion, not a wiring regression. Commit 5a70b6b (style(treefmt): auto-format on main) collapsed the multi-line
run_closed_bound_checkscall inturso_queue/core.rsonto one line, so the whitespace-flattened source no longer containschecks( t,— it ischecks(t,. The detective wiring itself is intact: the call still rides the sweep with its ownclosed_bound_limitkey, the opt-outclosed_boundflag defaulting on, and its summary underout["closed_bound"]. The test now asserts the call pieces (function name, thent, req_i64(req, "closed_bound_limit")) so treefmt can lay the call out on one line or many.Fixes #13221
Evidence
basic: fleet per-variant smoke suite:turso_queue::closed_bound::tests::sweep_wiring_runs_the_detective_beside_the_recheckersfails atclosed_bound.rs:822(assertion failed: flat.contains(...)); 572 passed, 1 failed.After: focused run —
cargo test -p fleet-queue --features queue-broker --lib turso_queue::closed_bound→ 9 passed, 0 failed (including the previously failing test); full lib suitecargo test -p fleet-queue --all-features --lib→ 594 passed, 0 failed.Merge Danger
Door: two-way — one test assertion reverted or restated at any time.
Blast Radius: minimal — test-only change to
fleet-queueunit tests; no production code touched.{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-23T12:00:31Z", "session_id": "ses_e5df7dd69c2ffemklEpYIYgJqT", "lane": null, "host": "amd", "worktree": "/home/user/git/fleet/any-n-8299-20261123T112323Z-36b74631", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/user/git/fleet/any-n-8299-20261123T112323Z-36b74631", "repo": "developing-today/code", "branch": "lane-any-n-8299", "sha": "898f787cd542c345accabbab5449b84bb6971f04" }, "auth_subject": "code-f", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.