Cut the E2E suite wall-clock: 247s -> 46s (cli_run 211s -> 25s) #255
Reference in New Issue
Block a user
Delete Branch "worktree-250-test-wallclock"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Merged fast-forward onto main at
84e1075(2026-07-13), rebased over #248/#249 first — full workspace suite green over the combined state. Cuts the workspace test suite from ~247 s to ~40 s (cli_run: 211 s → ~25 s, now 142 tests; research_docs: 21.1 s → 1.9 s), everything green, clippy clean, every exact-float pin byte-identical. Second round adds the product-side fixes that fell out of the analysis.closes #250
Test-side commits (the #250 wall-clock work)
038e170— window the whale tests. The two no-window dissolved-walkforward tests assert window-independent properties and now use the ~135-day window the reproduce E2E already uses; the mc roller-fit test replaces its full-archive probe sweep with a fixed ~30-day window. ~19.6 s + 19.6 s + 14.5 s → 1.1–1.9 s each.00cc2fe— dependencies at opt-level 2 in the dev profile. Workspace crates stay at opt 0; zip inflate / sha2 / serde get optimized (−17 % on a full-archive sweep).25b8354— per-test project dirs,project_lockretired. Every store-mutating E2E test mints a tempdir project pointing at the once-built fixture crate via an absolute[nodes]pointer; libtest's 24-thread parallelism returns. The #223 cross-process race window is structurally gone —cargo-nextestis now safe to consider.c31e946— synthetic per-test M1 archive. The two no-window generalize tests generate a deterministic two-symbol archive and drop theirlocal_data_presentgates — hostless, ~35 s + ~50 s → 0.74 s + 1.14 s.Product-side commits (second round)
a04fda3— fix: relativepaths.dataresolves against the project root (closes #254), matchingruns_root()and the[nodes]pointers; RED-first unit test.479c662— perf: synthetic walkforward pre-flight validates axes without executing members (closes #253). Attribution correction recorded on the issue: this path serves only the synthetic walkforward; the--realtrunk's discarded computation is the campaign[Sweep, WalkForward]leading sweep — a design fork, filed as #256.a895891— perf:probe_windowdrain retired (closes #252): archive bounds now derive from the monthly file index via aura-ingest'sarchive_extent()(boundary-month loads, gap-month walking). The probe itself drops 366 ms → 13 ms (~28×); end-to-end command wall-clock moves only ~2-3 % because the sim loop dominates. Characterization tests pinned the resolved windows against the old implementation and stay green unchanged.84e1075— fix: knob-lab test scaffold no longer leaks into/tmp(closes #257): the pid-suffixed tempdir leaked ~66 MB per test run (159 dirs ≈ 10 GB filled a 16 GB tmpfs); now a fixed name underCARGO_TARGET_TMPDIR, each run reclaims the previous one.Verification
cargo test --workspace: green, 39.8 s wall (run twice back-to-back, stable), no newly ignored/skipped tests.cargo clippy --workspace --all-targets -- -D warnings: clean.Remaining follow-ups
--realruntime lever)🤖 Generated with Claude Code
e7f16c179bto84e1075176