Repository navigation
Description
What happened
The first post-#7395 bench-agent-surfaces curve point (1cec2a9, expected to confirm the #7292 recovery) instead shows the server-side whole-tree surfaces still far above every pre-regression point. On the pinned mid corpus, LSP first-diagnostics after didOpen is ~2.6-3.1x the baseline and worse than the already-regressed round-8 point itself on all four populations, and ripr_refresh sits at ~2.2-2.3x baseline (down from the round-8 13.6s, but far from the 2.4-2.5s #7395's own branch measured). Two full mid-corpus runs ~7 minutes apart reproduce each other tightly, so this is a stable state at current main, not host noise.
git merge-base --is-ancestor confirms #7395's merge d37d6a1b3c9f0f7f246ebcc38ab7bac187f1ff45 (2026-10-11) is an ancestor of 1cec2a902; git rev-list --count d37d6a1b..1cec2a902 = 146 commits in between. The recovery measured on #7395's branch did not hold at current main.
Exact command and trimmed verbatim output
Two runs, identical command, clean worktree at 1cec2a902:
cd F:/code/Rust/ripr-r9
export CARGO_TARGET_DIR=F:/code/Rust/ripr-r9/target
export RIPR_BENCH_AGENT_SURFACES_TIMEOUT_MS=900000
cargo xtask bench-agent-surfaces --corpus mid
Run 1 exited 0, run 2 exited 0 ~7 minutes later. Both rendered Status: pass, Violations: [], Regressions: []. Trimmed verbatim from run 1's bench-agent-surfaces.md:
# Bench Agent Surfaces
Status: `pass`
Revision: `1cec2a90208ac0438fe68ad4ba5e0aa6c82ce302`
Binary: `F:/code/Rust/ripr-r9/target\debug\ripr.exe` (sha256 `c9d05cadb1a2cb964d6c7d09240bc8ff210779aaf9c7cbed8171e3aaf37e9281`)
Host: `windows-x86_64`
Toolchain: `rustc 1.95.0 (59807616e 2026-04-14)`
| Metric | Corpus | Population / op | n | p50 ms | p95 ms | Delta p50 |
| --- | --- | --- | ---: | ---: | ---: | ---: |
| M1 CLI check | mid | cold | 3 | 2250 | 6663 | n/a |
| M1 CLI check | mid | warm | 7 | 1392 | 1523 | n/a |
| M3 LSP didOpen | mid | cold | 5 | 5429 | 5849 | n/a |
| M3 LSP didOpen | mid | warm | 5 | 4538 | 4940 | n/a |
| M2 MCP | mid | initialize | 5 | 97 | 159 | n/a |
| M2 MCP | mid | ripr_get_gap | 5 | 1 | 2 | n/a |
| M2 MCP | mid | ripr_list_gaps | 5 | 2 | 3 | n/a |
| M2 MCP | mid | ripr_refresh_cold | 5 | 7271 | 8970 | n/a |
| M2 MCP | mid | ripr_refresh_warm | 5 | 7772 | 9844 | n/a |
| M2 MCP | mid | ripr_workspace_status | 5 | 1 | 1 | n/a |
bench-agent-surfaces status: pass
Run 2 (reproduction, same binary): M3 LSP cold 5448 (p95 6281), warm 4482 (4928); M2 refresh cold 7613 (8210), warm 7787 (9678); M1 mid cold 2202, warm 1361. Per-sample spread is tight (LSP cold samples 5180-5849 in run 1, 4141-4940 warm), so no single-session outlier drives the p50s.
Curve comparison, mid corpus p50 ms (prior points from #5257 comments 5983756198, 6037183065, 6103128506; #7395 branch from the PR body; corpora byte-identical across all points):
row f9b8aa10a dce176559 9c88b96ac #7395 branch 1cec2a902 (run1 | run2)
M3 LSP didOpen cold 1752 1491 4236 1595 5429 | 5448
M3 LSP didOpen warm 1766 1564 4424 1578 4538 | 4482
M2 ripr_refresh cold 3260 2383 13600 2460 7271 | 7613
M2 ripr_refresh warm 3401 2199 11887 2527 7772 | 7787
M1 CLI check cold 1405 1098 1967 1205 2250 | 2202
M1 CLI check warm 866 622 1380 632 1392 | 1361
Every mid row is at or worse than the regressed round-8 point, except ripr_refresh (roughly halved from 13.6s/11.9s but still 2.2-2.3x baseline, 3.1-3.5x the round-4 point).
Validity context: all populations fully valid (M1 3/7, M2/M3 5/5), zero timeouts at the 900000 ms ceiling, and all 10 refresh snapshots record outcome_kind: "complete_with_findings", finding_count: 20 (post-#7065 per-op outcomes) — the servers completed real analysis; they are just 2-3x slower than the pre-regression points. M4 actionability is byte-identical to the baseline table (200 findings, all infection_unknown, all fractions 1.0, alignment_absent) and M5 is byte-stable cold and warm, so this is purely a latency state.
Binary provenance
- Source: EffortlessMetrics/ripr-swarm at
1cec2a90208ac0438fe68ad4ba5e0aa6c82ce302, clean worktreeF:/code/Rust/ripr-r9(detached HEAD, no local changes). - Binary:
F:/code/Rust/ripr-r9/target/debug/ripr.exe, built by the harness itself (cargo build -p riprinside the bench) from that worktree; self-reportsripr 0.11.0 (1cec2a90208ac0438fe68ad4ba5e0aa6c82ce302); sha256c9d05cadb1a2cb964d6c7d09240bc8ff210779aaf9c7cbed8171e3aaf37e9281matches the receiptidentity.binary_sha256and an independentsha256sum. Same binary both runs (run 2's harness build was a cached no-op). - Corpora like-for-like: receipt
identity.corpora.midinput_digest f6ddc3fb947aeddf…,tree_digest 246c9f0747d6af5b…— identical to the round-8 comment's recorded values; the mid rows above compare byte-identical inputs. - Host/toolchain:
windows-x86_64,rustc 1.95.0 (59807616e 2026-04-14)— identical toolchain to every prior curve point. After run 2: no cargo/rustc/ripr processes running and CPU at 11%, so the numbers are not sibling-build contamination. - Receipts retained:
F:/Temp/r9-postfix/(receipt.json,receipt-run2.json, both.mdrenderings,bench_run1.log,bench_run2.log).
Why this is not the closed #7292 and not a duplicate
#7292 was closed by #7395 (d37d6a1b, 2026-10-11), whose branch measured mid recovery to LSP 1595/1578 and refresh 2460/2527 on this host class. This filing is the post-fix curve point 146 commits later showing the recovery did not hold. Dedup: scanned all issues created since 2026-10-11 (none cover this), and searched open issues for LSP OR refresh OR regression in:title — nearest are #5317 (draft-mode editor refresh on ripr's own workspace), #4998, #7147 — different subjects.
Consumer harm
An agent consumer of the documented MCP progressive flow waits ~7.3-7.8 s per ripr_refresh on the mid fixture that cost ~2.2-3.4 s at the two pre-regression points and 2.4-2.5 s at #7395's own branch — and warm refresh is no faster than cold (7772/7787 vs 7271/7613), so cache reuse buys an agent nothing on the warm path. LSP first-diagnostics after didOpen at ~4.5-5.4 s is past interactive feel for an editor sidecar and worse than at the already-filed regressed point. METRICS.md's "Static runtime by mode" and "LSP diagnostic refresh latency" rows declare direction down-or-bounded; both move up at fixed inputs, and nothing in CI measures latency, so this drift is silent.
Suggested direction
- Bisect
d37d6a1b..1cec2a902(146 commits) withcargo xtask bench-agent-surfaces --corpus mid(M3 mid cold + M2 mid refresh as the sensitive classifiers), as perf(analysis): recover the #7292 LSP/MCP refresh regression (two serialized git-probe causes) #7395's lane did. - Shape hints from this point, offered as hypotheses only: (a) refresh warm ~= cold and both ~2.2-2.3x baseline — a fixed per-refresh cost outside the analysis cache, the same shape as perf(analysis): recover the #7292 LSP/MCP refresh regression (two serialized git-probe causes) #7395's cause 2 (serialized git children behind refresh); (b) LSP
didOpendegraded beyond the regressed point — the same shape as perf(analysis): recover the #7292 LSP/MCP refresh regression (two serialized git-probe causes) #7395's cause 1 (post-analysis probes back on the critical path). Natural suspects from the range:f17a821cc(fix(mcp): discover durable repair attempts through bounded inventory (#7463) #7585, MCP durable-repair-attempt discovery on the refresh path),cf3d7693a(fix(lsp): disclose retained actions inert during non-current analysis #7628, LSP retained-actions inertness disclosure),1722458bf(Export qualified current-input cache snapshots #7520, exporting qualified current-input cache snapshots),90739280c(fix(cache): invalidate harness evidence on Cargo configuration changes #7578, cache invalidation on Cargo config changes); also check whetherCACHE_SCHEMA_VERSIONmoved again in the range. - Limitation stated honestly: a boundary build at
d37d6a1bwas not run for this filing (the measurement lane's worktree is read-only), so per-commit attribution above is unverified; the bisect is the required next step, not a carried conclusion.
Classification
verified_current at 1cec2a90208ac0438fe68ad4ba5e0aa6c82ce302 (two full mid-corpus runs on one host ~7 minutes apart, byte-identical pinned corpora, all populations valid, receipts retained).
Filed by the r9 closing-binary curve pass (post-#7395 point on the #5257 agentic-surface curve).
Activity
test(load): pin the loader revision capture; name the LSP probe policy (
fix(analysis): keep DisclosureProbes crate-internal (#7716)
fix(analysis): scope the probe-worker test seam to its invocation (#7716
EffortlessSteven commentedon Oct 14, 2026
Reconciliation for the closing PR — one status comment per the issue lifecycle rules.
Landed: #7757 (squash merge
d07de9f35b6909feb066290d726eaea1c802dfd7, merged 2026-10-14T03:39Z). The bisect lane's culprit mechanism — the #5997 disclosure probes (#5997: untracked-routed-filesgit status+ analyzed-revisionsrev-parse×2/merge-base) reaching the LSP didOpen → first-publish window — is removed for the LSP consumer (renders neither field; probe worker skipped) and de-duplicated for CLI/MCP (the naming reuses the diff loader's already-resolved base commit and merge-base origin instead of spawning identical git probes again).Landed (refresh residual, #7949): squash merge
08b8785473abb75e54a51a8b81b980649a52c040, merged 2026-10-14T14:43Z. Theripr_refreshhalf's measured mechanism is NOT the suspect this comment named below: instrumented counts refute it (the constant-tail/format-tail witness arms are family-gated and execute zero parses on the MCP refresh path — 40 entries, 0 parses — and the #7687 culprit's snapshot output is byte-identical to the good anchors). The measured mechanism is the #6292/#6537 same-named call identity family (#6867, first landed by f5b809a):OwnerCallIdentitywas rebuilt per probe, per pin and per pin-scope check (6,440 constructions per refresh measured), each repeating a whole-index crate-layout scan and re-parsing every candidate test — ~28 ms of related-test work per probe pair. #7949 memoizes one shape pass and one shared identity per owner on the analysis-scoped index, with structural pointer-identity tests whose mutation checks were run red-under-mutant and green-restored.Measured recovery (refresh half): paired same-window interleaved A/B on combined main 700cb5d, n=3, cold refresh by round: unfixed 3590/3696/3414 ms → fixed 3029/3039/3291 ms (median −551 ms; warm median −219 ms; the fix won every round). Bench on the merged content (
bench-agent-surfaces --corpus mid, n=5): M2ripr_refresh_coldp50 3525 ms (p95 3559), warm 3026 ms — at/near the 2383-3260 ms pre-regression band (host-load caveat: that band is host-variable; the good anchor d37d6a1 itself measured 2603-2897 ms the same night, and paired deltas are the primary signal). M1 CLI (1460/1072 ms) and M3 didOpen (1614/1501 ms) fully recovered. Per-commit paired attribution of the related share: f5b809a +455 ms, 9692d81 +47 ms, 5baecd8 +58 ms.Residual / next owner (not part of this issue's acceptance): the repair-card producer bind (
bind_snapshot_card_producers→ diff-scoped seam join) still measures +0.4-1.0 s per refresh; both bounded suspect pairs (86b0267, f17a821) read ≈0 vs their parents, so it is unattributed — next step is instrumentingSnapshot::from_outputvsbind_snapshot_card_producersseparately across 86b0267..c0580bd. A further ~+0.5 s related-loop tail (5baecd8..c0580bd, 19 analysis commits) was out of scope by lane instruction. Evidence rig and retained paired/bench JSONs:F:/code/Rust/ripr-m2fix-target/m2fix/.Still noted:
cargo xtask check-fastis red on main independent of both PRs viatools/repo-policylib-testclippy::unwrap-used(reproduced at the 3480fb2 base); the pre-existing overlap-test wait bound was made load-tolerant in #7757. Separately: the fullcargo test -p ripr --librun for #7949 on this Windows host showed 9 failures, all inanalysis::facts::test_helpers::tests, reproduced identically on the exact base without the diff (host-environment, attributed there).perf(analysis): share one call identity per analysis run (residual of #…