You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fleet-queue: sweep_wiring test expects a stale call shape (core.rs gained .unwrap_or(200)) #13230
The test (in crates/fleet-queue/src/turso_queue/closed_bound.rs) flattens include_str!("core.rs") and asserts the sweep call shape. The call site in crates/fleet-queue/src/turso_queue/core.rs (line ~1676) now reads:
The .unwrap_or(200) was added without updating the test's expected shape, so the flattened source no longer contains the asserted substring.
Evidence
Reproduced on an unmodified checkout of main 15b2ac834b0d56a397f62852ad89a811d0ccf7b6 (the failing files are untouched by the reporting lane's diff): full suite 565 passed / 1 failed; the single test fails standalone in 0.10s.
Update the test's expected flattened string to include .unwrap_or(200) (or assert on a looser prefix), keeping the other three assertions (opt-out flag, out["closed_bound"], closed_bound_missing > 0) as they are.
Lane TL claiming #13230 for premise verification against current main (Lane SJ's PR #13228 touched this same test minutes ago — the failure may already be fixed). Verifying first-hand before any change; will close with evidence if stale, or land the recorded fix shape if it still fails.
Lane TL — done record: premise STALE, closing as completed.
The failure was real on main 15b2ac834b0d when filed, but it was fixed minutes later by PR #13228 (Lane SJ, for #13215): the test now strips all whitespace from both the core.rs source and the needle before comparing, and its needle run_closed_bound_checks(t,req_i64(req,"closed_bound_limit") is a prefix of the current call shape, so the .unwrap_or(200) suffix no longer matters.
First-hand verification on current main 3ac8e1a00643ccb707fec1336c1acd0bbdcaa6c1 (laptop worktree, off FETCH_HEAD):
Named test standalone: sweep_wiring_runs_the_detective_beside_the_recheckers ... ok
Full crate suite: cargo test -p fleet-queue --features client,queue-broker --lib → 571 passed / 0 failed
No code change needed. Worktree removed after verification.
Activity
developing-today commentedon Nov 23, 2026
CODE-4823
dezren39 commentedon Nov 23, 2026
Lane TL claiming #13230 for premise verification against current main (Lane SJ's PR #13228 touched this same test minutes ago — the failure may already be fixed). Verifying first-hand before any change; will close with evidence if stale, or land the recorded fix shape if it still fails.
dezren39 commentedon Nov 23, 2026
Lane TL — done record: premise STALE, closing as completed.
The failure was real on main
15b2ac834b0dwhen filed, but it was fixed minutes later by PR #13228 (Lane SJ, for #13215): the test now strips all whitespace from both thecore.rssource and the needle before comparing, and its needlerun_closed_bound_checks(t,req_i64(req,"closed_bound_limit")is a prefix of the current call shape, so the.unwrap_or(200)suffix no longer matters.First-hand verification on current main
3ac8e1a00643ccb707fec1336c1acd0bbdcaa6c1(laptop worktree, off FETCH_HEAD):sweep_wiring_runs_the_detective_beside_the_recheckers ... okcargo test -p fleet-queue --features client,queue-broker --lib→ 571 passed / 0 failedNo code change needed. Worktree removed after verification.