Repository navigation
Description
Current execution and correctness bar — 2026-11-07
The repeated-sample/tier instrument #13076 is merged at dc153734aeb3d6da13a707d9935e097eefc7eb2d; the older open-candidate status below is superseded. Instrument delivery is not acceptance of the runtime target.
Retained failing workload
Hosted report, run 42350776018 / job 128338233978, analyzer 6c1ce93d12ba33a0ecd44a413431cad0a5615af4, runner github-hosted-linux-x86_64-4cpu-amd-epyc-9v74-80-core-processor:
- Fixed heavy consumer
8fbe8bd1598e0b11752c6c989aa54198a0510a2f: warm check p50 92.877 s, sample-max p95 93.040 s, sampled peak 1,586.387 MiB. These breach the configured 60 s / 1,536 MiB ratchets. - Cold pilot, a different command: 233.992 s / 1,476.523 MiB.
- Edited-save LSP refresh: 49.517 s / 1,722.316 MiB.
- Older, smaller consumer
7c64b9c8d0778cc7a6aeaab0deb0452d9e521663: warm check 11.258 s / 582.332 MiB, also above its 11 s ceiling.
The report is recovered from the complete hosted log; retained artifact ID is 13566817823. N=3 makes the reported p95 a sample maximum, not a stable population-tail estimate. The instrument samples direct-process VmHWM every 10 ms; it does not establish aggregate process-tree memory or CPU time. Different hosts/subjects prevent calling this a causal regression from the historical 31 s / 0.90 GB observation. The resource gate really fails; it is not solely an ineligible cross-host comparison.
Next implementation selection
- Preserve this fixed failing subject. Add attribution around fact read/decode/integrity, index/post-process, related-test/macro preparation, classification and output. Retain end-to-end wall, actual user/system CPU and correctly scoped peak memory alongside component results.
- Reconcile the existing cheap avoided-work carriers first: perf(lsp): opening a 6,000-line unsaved Rust buffer spends ~12s in analysis, and exit waits for it #11439's claimed lazy-binding-helper candidate, perf(seam-inventory): fold corpus hash into single-pass index build on proved misses (#8643) #13314 single-pass hash/index, and perf(stub): reuse complete content-bound file guidance inventory (#11358, carrier for #12008) #13542 guidance-cache carrier. No duplicate branches and no component-only speedup claim.
- Use the measured remaining cost to order perf(cache): warm file-fact load re-serializes every FileFacts to verify its digest; cache is 429 MB of pretty JSON for 1,043 files #9216 decode/integrity, perf(pilot): cold pilot peak is ~1.3 GB RSS; ~400 MB is run-scoped evidence-context state that grows during evidence_for_seams #9494 retained context, perf(cache): bound classified-seam cache loads across single and sharded entries #5124/fix(cache): bound classified related-test reference expansion #13535 bounded reconstruction and perf(check): warm check on a product-Rust diff in a macro-dense workspace costs ~90 CPU-s; needs per-probe incremental analysis #9784 semantic reuse. File-cache hits alone do not imply semantic work was avoided.
Discriminating acceptance
- Retain exact analyzer/source-built or installed binary digest, consumer/base/diff, config/features/toolchain, runner, worker count, cache posture and command.
- Measure cold check, cold pilot, unchanged warm check, production-edit warm, related-test-only edit warm and editor refresh separately. Retain raw samples, all terminal outcomes and declared sample count.
- Compare each optimized result with independent cold recomputation on the same edited state, preserving normalized findings, complete counts, limitations, test reach and output detail.
- A changed related-test assertion invalidates affected evidence. A stale-result mutant fails this check; a recompute-all mutant fails an avoided-work/selectivity check.
- No timeout, refusal, omitted inventory, truncated evidence or zero-subject result can satisfy a complete-analysis speed bar. Do not drop failed samples from percentiles.
- Meet and progressively tighten the existing ratchets through matched evidence; do not raise them, switch to the smaller pin, or shrink semantic scope to turn the board green.
- Report original aspirational goals separately from enforced ratchets and accepted product promises.
This issue owns measured edit-loop performance; #12906 owns session residency/instrument semantics. #1693 remains the adoption objective and #2379/#2766 retain finite release authority. Broad architectural completion is not silently added to the 0.11 cut.
Earlier evidence and plan (retained; status corrections above govern)
Delivered ratchet, current candidate, and next edit-loop measurement — November 4, 2026
The original large-tier goals and later floating-head/cold-check/stage-timing/speedup acceptance below remain. The premise “no ceiling gates these rows” is historical for the covered rows.
Merged delivery, with measured scope preserved
- #12958, merge
78f990504274fc63790ff3a7933f166265d1595b, supplies runner-independent ratchet ceilings. At main547910773a24d2ab97eb812fff0e44ba31114e08,benchmarks/dx_scoreboard/scoreboards.tomlgives the old ripr-swarm pin warm ceilings 11,000 ms / 720 MB and ripr-swarm-2026-10 ceilings 60,000 ms / 1,536 MB plus cold pilot 300,000 ms / 2,048 MB. They prevent covered regressions; they do not meet the original goals. - #12985, merge
94fbdc134d522250955571ac8dd3722a3c0db61c, parallelized selected whole-index scans and added diff-stage timings. Its retained same-workload report is warm 40.2→31.3 seconds with identical output; cold values were noisy. This is reported predecessor A/B evidence, not a current rerun or general 10-second pass. - #12999, merge
8e602579707eded4a3bfcde094320ac30d6a888f, extends same-run admission core state. Its quiet-box report is roughly 1.34→0.90 GB with identical output, and unchanged wall time around 32→31 seconds. Do not recast the memory result as a latency gain or a sealed per-probe cache. - #13076 remains the selected open repeated-sample/tier-budget candidate at head
7506368624884688c963fe73e76e7984b4aa61bb. Its author explicitly has not run real corpus samples. Finish its current source/proof/review/normal protected delivery before using its proposed--samplesinterface as landed evidence.
Next executable evidence after that instrument lands
Use the same pinned consumer diff, host, exact identified release-profile binary digest/version, toolchain, configuration and budgets. Record whether the binary is source-built or installed: source-built A/B proof establishes only performance on that measured artifact; an installed ordinary-use/adoption claim requires its separately identified installed artifact. Retain a cold check, unchanged warm repeat, one production-file edit and one related-test edit. Materialize each edited state from a retained clean state and keep the base/source mode fixed. The unchanged repeat alone cannot establish the normal edit cost. Use the current scoreboard command/help and producer latency receipts; do not substitute CI build time, whole pilot time, debug/release mixtures or a different main diff.
Record raw repeated sample series, completion/admission status, scoped nonzero subject count where required, phase spans, peak memory, cache regime and normalized semantic output digest. Compare each warm edited state against its independent cold same-state analysis. No parallel benchmark competing for the same target/cache/memory budget. Retain process cleanup.
Discriminating acceptance and dependencies
- Completed equivalent analysis must meet the budget. A fast oversized-input refusal, zero-subject comparison, partial inventory or timeout is a separate terminal sample, not an edit-loop speed success.
- A related-test assertion change must alter or conservatively invalidate the affected evidence; a stale identical finding is not accepted merely because cache-hit counts improve. Wrong root/config/analyzer and corrupt/incomplete cache inputs cannot authorize reuse.
- Preserve the candidate's nearest-rank population definition and actual N. With fewer than 20 measured samples p95 is the sample maximum; label it accordingly rather than implying a stable tail estimate.
- A failed/non-admitted measured sample makes its series incomplete under perf(dx-scoreboard): warm-check p50/p95 over repeated samples and size-tier memory budgets (Advances #12947) #13076's declared contract. Do not drop it from the latency population to improve percentiles.
- Ratchet adjustment follows retained matched evidence. Do not raise ceilings to pass. Report original goal status separately from regression-ceiling status and current sample incompleteness.
- perf(check): warm check on a product-Rust diff in a macro-dense workspace costs ~90 CPU-s; needs per-probe incremental analysis #9784 owns exact per-probe dependency recording/selective classification; perf(review): reuse semantic units and exact base proofs for bounded diffs #3796 owns semantic-unit/exact-base-proof reuse. Their work cannot be inferred from file-cache hits, same-run reuse or parallel scan speedup. perf(budgets): workload-specific latency, resident memory, and bounded-refusal qualification #12906 retains broader budget/session-memory reconciliation.
The handoff to #1693 is the measured ordinary edit-loop cost and its actual success/limitation state on this exact artifact. This does not turn a performance target, four-workload study or broad adoption into a new finite 0.11 release gate.
Measured on main (3,280 tracked .rs files), ripr check --base HEAD~1 for an 8-line diff: 59.6 s cold, 35.5 s warm, 1.3 GB peak RSS. Hosted nightly run 41750179854: ripr-swarm-2026-10 warm 49.8 s / 1,275 MB, cold pilot 269 s / 1,446 MB.
Neither ripr-swarm corpus row has ceilings, and the baseline never compares (runner class differs), so the speed board reports below_target without failing.
Goals for the large tier: warm check 10 s / 768 MB, cold pilot 60 s.
Step 1 (this issue's first PR): ratchet ceilings just above measured values on both ripr-swarm rows. Later: floating ripr-swarm-head row, cold-check metrics, per-stage timing, and the actual speedups, each lowering the ceilings.
Evidence: /mnt/project-files/audit/speed-memory-scoreboard-gap-2026-11-04.md (see also #9216).
Activity
coderabbitai commentedon Nov 4, 2026
🔗 Related PRs
#9980 - perf(probes): count unchanged token runs once per line, not once per probe shape (
#9895) [closed]#10085 - perf(lsp): cache the worktree-diff git origin across saves (
#10083) [closed]#11320 - perf(analysis): shorter owner-pin lock hold, mask once per file, bounded rename key (
#5361) [closed]#12008 - perf(stub): reuse complete content-bound file guidance inventory (
#11358) [open]📝 Issue Planner
Check the box below or use the
@coderabbitai plancommand to generate an implementation plan and prompts that you can use with your favorite coding assistant.🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
docs(changelog): qualify when the ripr-swarm ceilings fail --gate (#1…
docs(scoreboard): fix ceiling units, state ratchet goals, widen old-p…
test(check): pin same-run index reuse end to end; fold/reduce rayon u…
perf(scoreboard): ratchet ceilings on the ripr-swarm speed rows (Adva…
perf(check): parallelize whole-index parse scans, add diff stage timi…
test(facts): pin the same-run extension to the core's parsed file and…
perf(check): extend the same-run admission core without a full main-i…
[-]perf(scoreboard): ripr check on ripr-swarm itself is 35-60 s / 1.3 GB and no speed row gates it[/-][+]perf(scoreboard): qualify edit-loop latency and memory after landed optimizations[/+]10 remaining items
EffortlessSteven commentedon Nov 9, 2026
Implemented avoided-work candidate: borrowed snapshot-name matching
Current source checked at main
28b102c01f03e750e5ea387778e881d1c1bb0786;rust_snapshot_files.rsblob51454cccfd5652d4c5dcb0bb74013d74c3cf1f3f. No equivalent PR was found by exact-symbol/all-state snapshot-claim search. This is independent of #13542.SnapshotListing::holds_anyinvokesstem_names_snapshotfor each potential snapshot name. The current predicate constructsformat!("__{name}")for each non-exact comparison. The repair checks the borrowed suffix and its preceding__separator. Matching, counter/settings handling, input limits, tracked-file filtering and unknown-listing decisions are unchanged.What was actually established
Root reviewed all three changed paths, read the current caller and matching contract, verified the exact-source extraction/blob identities and reran the seven native controls. Source review is complete for this bounded delta; full-crate, golden, real-repo and hosted qualification are not established.
The in-repository new tests preserve semantics. The separately retained native harness below supplies the red avoided-work assertion and microbenchmark; it is not silently claimed as an installed CI ratchet.
Exact implementation
Patch SHA256:
ed2f59f339dff718bf3abf105e8a03e0d8275c4a0aec7a7cffe8e67d7898f434. Apply only this delta to a full repository after the usual current-claim/source check.Complete source patch
Native raw samples and passing component result
Reproducible native component harness
Rust 1.95.0 on Linux x86_64. This contains seven verbatim production items and six actual repository tests plus the counter control. Use
rustc --edition=2024 --test --cfg instrument_format -C debuginfo=0, then run serially (--test-threads=1 --nocapture); the counters are shared. For timing userustc --edition=2024 -C opt-level=3 -C debuginfo=0without--cfg instrument_format. To reconstruct the old-work control replace only the matcher with the exact original body from the bound source; the semantic tests remain unchanged.Continuation
This delta is implemented and retained here, not yet committed on a remote candidate or merged. Configured Git publication must preserve the requested
EffortlessStevenauthor/noreply identity; the available connector lacks an author override. #13984 owns the separate current-main compiler repair. After publication, qualify the affected production path and then measure the fixed #12947 subject—do not substitute this microbenchmark for its wall/CPU/peak-memory acceptance, change its pin, or relax its ceilings. No new cache, schema, semantics, support tier or release action is included.EffortlessSteven commentedon Nov 9, 2026
Selected implementation: remove warm candidate-list copies and cold module-prefix strings
This is one composed candidate for the existing #12947 performance owner, relevant to the #12940 workload. It does not close either issue or assert that the end-to-end budgets now pass.
Delivery state: implemented and component-reviewed; exact patch and reproducible proof below. No remote branch commit or merge is claimed. This environment's GitHub commit tool cannot set the requested author identity, and an authenticated author-capable native transport is not configured. The local source-subset commits use EffortlessSteven 15812269+EffortlessSteven@users.noreply.github.com; do not push their incomplete source-subset tree as a repository tree.
Candidate identity and reconciliation
28b102c01f03e750e5ea387778e881d1c1bb0786, rechecked unchanged immediately before publication.93263927427f59038c83a1d3d1c9fd9e81452beb; parentdf51aa2895d644f6ffc4af623a05017c12bdb33e.2a9c24f48359d67ee79c5883a503ea25a572f0b6.c8f60586e75317fa9de59c702ab78b3783b9a8c1ec004ab7d1ccc32860352586.f92ef654d5724552069452dbeb476f6d5a747a7e; parentb6938616b1c042990b5c8549d1e6577b185fc051; predicate testscbf16508a381fa1ead0f36ad8b045004a2c8f8f6.Apply this one composed delta, not its earlier standalone warm-copy or lazy-flattening intermediates on top.
What changes
Option<Arc<[usize]>>. Nonempty hits share immutable backing after releasing the lock; cached emptiness and empty keys do not allocate an empty Arc.There is no new scope cap, result truncation, cache retention policy, serialized format, cross-run reuse or cold-miss coalescing.
Measured native component result
Linux x86_64 / Rust 1.95.0, serial source-exact component tests. Fixture setup is outside thread-local-gated System-allocation counters. Counts include allocation/reallocation requests; bytes are requested bytes, not current or peak live memory.
Root independently compiled and ran the composed instrument: 18/18 pass. The original source compiled and ran the common controls: 10 pass, 6 intended assertion failures, not compiler failures. Those six detect warm copying/backing identity and cold per-row allocation. Candidate-only controls additionally compile the actual consumer loops and check Arc ownership release.
The source checker verifies 11 exact candidate items, 8 exact baseline items, both cache-field declarations and both original Git blobs. The three pure predicate tests are included directly from the new repository file and run natively; they preserve semantics and intentionally also pass on the original source. They cover 52 literal pairs plus 924 differential pairs. Three additional parser-backed cache tests are added to the repository, but have not been typechecked/run in the full RIPR crate here.
Root and a separate reviewer read both complete deltas; no actionable source findings remain. Changed-file formatting and whitespace checks pass.
Acceptance still pending
This component does not run parser construction, classification, the full evidence pass or installed CLI. Full-crate tests, Clippy, Windows, hosted required qualification, output parity and matched edit-loop replay remain pending. The original #12947 heavy subject and budgets remain unchanged. Allocation-request reductions do not establish lower whole-run RSS, provider tokens, CPU time or elapsed time.
The duplicate
owner_opt_outstest initializer was repaired separately by #13982, merged as79ca845369eb8b5050310dec41ef241b33723b6a; #13984 was closed as a duplicate. Readback confirms the landing is a sole-parent child of the recorded source basis and changes only that one line inoutput/human.rs. None of this candidate's paths changed, so its patch/source identity remains applicable without a behind-only restack. No full build was launched against the earlier known failure; full repository qualification remains pending in this bounded source-subset environment. No protection was bypassed.Reproduce the bounded proof
After applying the patch to a normal source checkout, save the two native component files from this comment and its original-source/negative-control companion under
proof/; the checker uses upstream source by default:The baseline is expected to exit 101 at the six stated assertions. In the local source-subset packet only, pass
fb78e348c457f182c89fb2c6e5fad5752f6d1cfeto the checker as the base argument; exact upstream blob checks still apply. This is not a substitute for repository-native qualification.Exact composed patch — 19,392 bytes
proof/candidate_component.rs — complete instrument; SHA-256 dfe79d83af1f562d437f73a6b41d8a1a04199ccc107cdec2938ea1b3db36a60d
proof/check-source-identity.mjs — exact-source checks
Complete root composed run
EffortlessSteven commentedon Nov 9, 2026
Original-source and wrong-implementation controls for the selected query-allocation repair
Companion to the exact composed patch and candidate proof, patch SHA-256
c8f60586e75317fa9de59c702ab78b3783b9a8c1ec004ab7d1ccc32860352586.Original source: compiled successfully, then 10 passing tests / 6 intended assertion failures, exit 101. The common semantic oracles pass. The failures detect non-shared warm backing, repeated warm allocations, direct and flattened per-row predicate allocations, and direct and flattened full-query allocations.
Wrong implementations: each independently compiles (exit 0) under the same Rust 1.95 / edition 2024, then one deliberately selected test fails on its assertion (exit 101; 17 filtered). These are not missing dependencies or compilation failures.
a/, testax/testsis wrongly admittedThe three pure predicate repository tests run by direct include in both candidate and baseline. The parser-backed cache tests still await full-crate execution; these controls do not claim otherwise. The allocator is an external proof instrument, not production code.
The four complete mutation diffs below are relative to
proof/candidate_component.rsfrom the first comment. The only common instrument-only adjustment is its repository-test include changing from../crates/to../../crates/, because the variants live underproof/mutations/. Each variant's complete source can be reconstructed from that candidate plus its exact diff; source/diff hashes and commands are in the receipt.The initial mutation run used edition 2021. Review caught that configuration mismatch; it was superseded by the retained edition-2024 compile and assertion runs below. No production or test source changed between those instrument runs.
The new main-health fix is separately merged as #13982 /
79ca845369eb8b5050310dec41ef241b33723b6a. Its one-lineoutput/human.rsdeletion has no overlap with these five candidate paths. Full repository qualification and the fixed-subject #12947 replay remain pending; no end-to-end acceptance or branch publication is implied.proof/baseline_component.rs — complete original-source instrument; SHA-256 3932aa2ae2e3940c31428d716b25b6f30a3cabbb0d28c5341e548e21784b3fed
Complete original-source run — six assertion failures
fresh-empty-arc — exact wrong-implementation diff
fresh-empty-arc — complete focused test output; compile 0, test 101
missing-slash-boundary — exact wrong-implementation diff
missing-slash-boundary — complete focused test output; compile 0, test 101
missing-flattening — exact wrong-implementation diff
missing-flattening — complete focused test output; compile 0, test 101
truncate-at-128 — exact wrong-implementation diff
truncate-at-128 — complete focused test output; compile 0, test 101
Selected edition-2024 commands, outcomes and source/log hashes
{ "candidate_commit": "2a9c24f48359d67ee79c5883a503ea25a572f0b6", "candidate_component_sha256": "dfe79d83af1f562d437f73a6b41d8a1a04199ccc107cdec2938ea1b3db36a60d", "repository_test_sha256": "58c0acbb5ffd0fcd6addb0bde8f4e80232c0fc0762a7e25e5ac8f633743a837f", "compiler": "rustc 1.95.0 (59807616e 2026-04-14)", "edition": "2024", "compilation": "Direct rustc --test -C debuginfo=0; std only; no Cargo or network access.", "common_instrument_adjustment": "Only #[path] changes from ../crates/... to ../../crates/... because variants are nested one directory deeper. All variants include the same unchanged repository module_match_tests.rs.", "source_and_main_proof_mutated": false, "variants": [ { "name": "fresh-empty-arc", "compile_command": "/home/agent/.cargo/bin/rustc --edition=2024 --test -C debuginfo=0 --crate-name fresh_empty_arc proof/mutations/fresh-empty-arc.rs -o proof/mutations/native/fresh-empty-arc", "test_command": "proof/mutations/native/fresh-empty-arc --exact empty_queries_are_allocation_free_when_empty_key_or_warm --nocapture --test-threads=1", "compile_exit": 0, "test_exit": 101, "test_count": 1, "passed": 0, "failed": 1, "ignored": 0, "filtered_out": 17, "observed_assertion": "First two empty-key queries allocate 2 times / 32 requested bytes; expected 0 / 0.", "source": "proof/mutations/fresh-empty-arc.rs", "diff": "proof/mutations/fresh-empty-arc.diff", "compile_log": "proof/mutations/fresh-empty-arc.compile.log", "test_log": "proof/mutations/fresh-empty-arc.test.log", "binary": "proof/mutations/native/fresh-empty-arc" }, { "name": "missing-slash-boundary", "compile_command": "/home/agent/.cargo/bin/rustc --edition=2024 --test -C debuginfo=0 --crate-name missing_slash_boundary proof/mutations/missing-slash-boundary.rs -o proof/mutations/native/missing-slash-boundary", "test_command": "proof/mutations/native/missing-slash-boundary --exact repository_module_match_tests::module_match_agrees_with_literal_prefix_reading --nocapture --test-threads=1", "compile_exit": 0, "test_exit": 101, "test_count": 1, "passed": 0, "failed": 1, "ignored": 0, "filtered_out": 17, "observed_assertion": "Literal boundary oracle rejects owner \"a/\", test \"ax/tests\": mutated same_module returned true; expected false.", "source": "proof/mutations/missing-slash-boundary.rs", "diff": "proof/mutations/missing-slash-boundary.diff", "compile_log": "proof/mutations/missing-slash-boundary.compile.log", "test_log": "proof/mutations/missing-slash-boundary.test.log", "binary": "proof/mutations/native/missing-slash-boundary" }, { "name": "missing-flattening", "compile_command": "/home/agent/.cargo/bin/rustc --edition=2024 --test -C debuginfo=0 --crate-name missing_flattening proof/mutations/missing-flattening.rs -o proof/mutations/native/missing-flattening", "test_command": "proof/mutations/native/missing-flattening --exact component_controls::crowded_query_retains_last_flattened_match_and_drops_distant_rows --nocapture --test-threads=1", "compile_exit": 0, "test_exit": 101, "test_count": 1, "passed": 0, "failed": 1, "ignored": 0, "filtered_out": 17, "observed_assertion": "Crowded query returned []; independently required final flattened match is [4095].", "source": "proof/mutations/missing-flattening.rs", "diff": "proof/mutations/missing-flattening.diff", "compile_log": "proof/mutations/missing-flattening.compile.log", "test_log": "proof/mutations/missing-flattening.test.log", "binary": "proof/mutations/native/missing-flattening" }, { "name": "truncate-at-128", "compile_command": "/home/agent/.cargo/bin/rustc --edition=2024 --test -C debuginfo=0 --crate-name truncate_at_128 proof/mutations/truncate-at-128.rs -o proof/mutations/native/truncate-at-128", "test_command": "proof/mutations/native/truncate-at-128 --exact component_controls::crowded_query_retains_last_flattened_match_and_drops_distant_rows --nocapture --test-threads=1", "compile_exit": 0, "test_exit": 101, "test_count": 1, "passed": 0, "failed": 1, "ignored": 0, "filtered_out": 17, "observed_assertion": "Crowded query returned []; independently required final flattened match is [4095].", "source": "proof/mutations/truncate-at-128.rs", "diff": "proof/mutations/truncate-at-128.diff", "compile_log": "proof/mutations/truncate-at-128.compile.log", "test_log": "proof/mutations/truncate-at-128.test.log", "binary": "proof/mutations/native/truncate-at-128" } ], "hashes": { "proof/candidate_component.rs": "dfe79d83af1f562d437f73a6b41d8a1a04199ccc107cdec2938ea1b3db36a60d", "crates/ripr/src/analysis/test_grip_evidence/related_tests/module_match_tests.rs": "58c0acbb5ffd0fcd6addb0bde8f4e80232c0fc0762a7e25e5ac8f633743a837f", "proof/mutations/fresh-empty-arc.rs": "cf06345970e207471fe688fed914eb3e591006170226e9540b91d01cd80d00ae", "proof/mutations/missing-flattening.rs": "1a2cdf8cd2b72239b4faee8709a883767dd3c6539adb3b6be9e04511af6fdce0", "proof/mutations/missing-slash-boundary.rs": "101efb75faa70107203a81c2b070434e2ff137c9c63d33b66256a7c6dd0da8b7", "proof/mutations/truncate-at-128.rs": "1a6a74da54e248743d9a3b1550aeea8ac6b65e66a1edd0e7c34a1448add6cbca", "proof/mutations/fresh-empty-arc.diff": "a06de54dcd87baebe63ce935ec4ba7cb0529a2985b8c6cb9f20872584e27810c", "proof/mutations/missing-flattening.diff": "eb0804cf18f7f60c1658aaa0635eb917c88a408d93e1cdeb4cf1dc7607eda6e6", "proof/mutations/missing-slash-boundary.diff": "4bbfc3b05903a2e9f1ff7477a0637d31f8d39c6593b75f6cdfe3f8fd7f72d86b", "proof/mutations/truncate-at-128.diff": "5de4c7ce4aed75da0d7946a0480f509aa3e19e6ee62ce75279d34026b158e70b", "proof/mutations/fresh-empty-arc.compile.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "proof/mutations/missing-flattening.compile.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "proof/mutations/missing-slash-boundary.compile.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "proof/mutations/truncate-at-128.compile.log": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "proof/mutations/fresh-empty-arc.test.log": "4524a4c02be2bdc08b15314d5116ab6ecacd3780a0c5e4c2a51a4b1546e5736d", "proof/mutations/missing-flattening.test.log": "fa1c9b46a5da98b9d90b77b2a9ca047722c95cb995c5782854cfc4cdaf940905", "proof/mutations/missing-slash-boundary.test.log": "a87130ab7084b44f280c16841c07d0b345119cd715eb12c9c22d89c5e4ed1cd8", "proof/mutations/truncate-at-128.test.log": "3d70837671e5289cd69d5cb2cab789366ee81224f3c5aff7d3cfa05fa9a8ba37", "proof/mutations/native/fresh-empty-arc": "e2ac1220764a5c4b4607c67d7334f7ea23b9092f2e020e7aadd0fda4f0fadfde", "proof/mutations/native/missing-flattening": "ae9f0b529f4341bb69697a801d5efa618b54d6942b850d66ce1319f2bbbd210a", "proof/mutations/native/missing-slash-boundary": "b85a809a02c780c3ab143f34b41b41d9e13fa8f610376360a33d9b12bf7b8e63", "proof/mutations/native/truncate-at-128": "ec51d5c18d5083d9d4f92b2a01952aba5ac6b0756394a95fc33b7e0d43cd590c" }, "bounds": { "generated_binaries_bytes": 30077536, "current_available_bytes": 57127620608, "required_available_floor_bytes": 42949672960, "no_binaries_deleted": true }, "limits": "Disposable source-extracted component controls. Not full crate typechecking, whole-repository integration, hosted CI clearance, peak RSS, or end-to-end efficiency evidence.", "historical_note": "Edition 2021 was an initial instrument configuration. The selected proof is the unchanged-source rerun with edition 2024; only final 2024 receipts are selected for publication." }docs(facts): say the withheld guard refuses only revived files with t…
test(bolero): pin that an opaque bare check needs the file binding (#…
EffortlessSteven commentedon Nov 15, 2026
#13911 landed on main as d6c9bfa. With it, the withheld indirect-owner pass skips parsing test bodies that never mention the owner. Warm
check --base HEAD~3on ripr-swarm dropped from 172.5 s to 115.2 s (medians), with byte-identical JSON. HEAD~1 is flat because that pass isn't hot there.Still in flight under this issue:
diff_main_index8.0 s → 4.9 s;use bolero::checkbinding only for a barecheckpath (#12947) #14865, bolero escape scan order: warm check −6%.I'm leaving this issue open: the edit-loop latency and memory scoreboard qualification isn't done yet.
Generated by Claude Code
EffortlessSteven commentedon Nov 16, 2026
Two more landed on main under this issue:
include!s.diff_main_indexdropped from 8.0 s to 4.9 s on ripr-swarm.use bolero::checkbinding only for a barecheckpath (#12947) #14865 (46bf55e) landed earlier: the bolero escape scan order change, worth about −6% warm.Still queued:
evidence_contextgoes from 9.3 s to 5.9 s.All of these keep the JSON byte-identical.
A cold-run trace shows the roughly 31 s cold-only review stage (a whole-workspace inventory for the stub route's weak-oracle guidance) can't be narrowed or reused without changing results. Workspace-wide tables such as
function_name_countsdecide evidence filtering. The remaining cold-only costs:index_cached_parse: +10 s over warm;index_test_helper_credit: about 4 s per index build, sequential;diff_drop_unreached_test_filesmodule-tree parses: +4 s.Generated by Claude Code
EffortlessSteven commentedon Nov 16, 2026
Reconciliation receipt — partial-continue
Merges:
cd1d1a23b4(PR #14880, landed 2026-11-16T13:43:25Z) and46bf55ef7b(PR #14865, landed 2026-11-16T07:44:01Z). Claim: #12947.Read on the landed tree, not the PR bodies:
cd1d1a23b4—crates/ripr/src/analysis/classify/owner_pin.rsbuilds the workspace constant table throughmap_scans(&files, |(_, source)| file_constants(source)), so the per-file parses fan out off the pool and stay in line on a pool worker under the perf: share RelatedTestCandidateIndex memos across threads so per-probe classify can run in parallel (#8629 follow-up) #8756 guard. Testthe_workspace_constant_table_fans_out_off_the_pool_with_the_same_tableis present inowner_pin/tests.rs; changelog fragment12947-parallel-workspace-constant-table.mdis present. Delivered row: the cold single-seam review stage's constant-table build is parallel, output unchanged.46bf55ef7b—crates/ripr/src/analysis/syntax/bolero.rsgates theuse bolero::checkbinding scan on a barecheckpath (file_binds_bolero_check,use_imports_bolero_check,is_bolero_check); changelog fragmentbolero-escape-skips-binding-scan.mdis present. Delivered row: the bolero escape no longer scans bindings for qualified paths.Remaining rows (still open under this issue):
index_cached_parse(~12 s cold vs 2.2 s warm),diff_drop_unreached_test_filesmodule-tree parses (5.1 s vs 0.9 s), the whole-workspace index rebuild for the review stage (~12 s, 668 misses), andevidence_contextover 30,669 tests (~8.9 s).Disposition: partial-continue. The claimed slices landed and are verified on the tree; the outcome stays open. Continuing owner: this issue's performance campaign (orchestrator
ripr-swarm). Next executable slice: the coldindex_cached_parsecost, the largest remaining named cold-only row, as one bounded candidate with an A/B on the same cold harness.No premature auto-close: the issue is open and no closing keyword was used by either PR.
test(helper-credit): rename the fold-alone switch so the network poli…
EffortlessSteven commentedon Nov 17, 2026
Progress on the diff-speed claim (all with byte-identical
ripr checkJSON on ripr-swarm):use bolero::checkbinding only for a barecheckpath (#12947) #14865, perf(facts): keep same-run index extension past stable includes and stop rescanning (#12947) #13850, perf(owner-pin): fan the workspace constant table parse out off the pool #14880.No ratchet in this issue is claimed as met by these alone.
Remaining measured cold-only hot spots for the next lane:
index_cached_parse, about +10 s cold.diff_drop_unreached_test_filesmodule-tree parses, about +4 s cold.The ~31 s whole-workspace inventory in the cold review stage is required for stub weak-oracle guidance (workspace-wide tables such as
function_name_countsdecide the result), so it should be made cheaper rather than narrowed.Generated by Claude Code
EffortlessSteven commentedon Nov 17, 2026
Claiming the next lane of remaining cold hot spots from the list above, in order: (1) admission-core first
index_cached_parse(~+10 s cold), then (2)diff_drop_unreached_test_filesmodule-tree parses, then (3) the residual helper-credit fold. Byte-identicalripr checkJSON on ripr-swarm is the bar; before/after timings will be posted per PR.Generated by Claude Code
EffortlessSteven commentedon Nov 17, 2026
Lane progress (subject: detached ripr-swarm at 3603ffa,
check --root . --base HEAD~1 --format json, 210 probes, interleaved release binaries with their own warmRIPR_CACHE_DIR, JSONcmpbyte-identical in every pair):Finding: on this subject the largest cost was not in the listed cold items but in untraced probe classification (the
ripr-classify-*pool): about 80 s of a 104–124 s warm run. gdb sampling attributed it as follows.falsewithout fetching/parsing the test file's snapshot when the file never spells the name (~60% of classify samples were snapshot re-parses orOnceLockwaits after 8 MiB window eviction)Measured and parked (no PR):
index_cached_parse, cold): encoding/writing fresh fact-cache entries in parallel cut it 11.5 s → 10.3 s, about 1% of a 118 s cold run; the rest is the parse itself on 4 cores. Patch kept locally, not worth a qualification run alone.ModuleDeclarations::read(serial whole-file parses before classification): 64.8 s → 62.1 s, but peak RSS rose ~50 MB (concurrent trees / per-thread arenas) even with a memo-free parse. Not taken given the memory goal.Remaining classify profile after #15015 (~45 s of ~62 s): spread across
reveal_outcome→admits_equality_assertion→context_refusal_inner(~31% of samples: per-fileowner_pin_assertions_with_default_featuresbuilds,source_provenance_refusal,macro_root_verified_in_contextsper assertion), whole-file re-parses fromowner_pin.rs:15650,element_field_pin.rs:619,syntax/owner_pin.rs:983/3293andmacro_item_names.rs:71thrashing the 4-entry per-thread parse memo, andworkspace_drop_impls. No single hot line remains above ~15%.Listed items 2 (
diff_drop_unreached_test_files, 4.6 s cold / 0.9 s warm) and 3 (helper-credit residual ~1.3 s) are still open for the next lane. No ratchet in this issue is claimed as met.Generated by Claude Code
EffortlessSteven commentedon Nov 24, 2026
Fixed heavy workload: warmer check and editor readings moved together
Nov 24 hosted job, analyzer
3c5dd25e9c7c69a753298957566e5ae50dd20342, vs Nov 20 hosted job, analyzerbcc5e7d98de8c2976b32c45c547c5ece49b495aa. Both use heavy consumer8fbe8bd1598e0b11752c6c989aa54198a0510a2f,HEAD~1, draft mode, and report 131 findings. Warm check samples were[29.550, 29.914, 29.974]sthen[40.235, 40.781, 40.784]s; successful edited-save refresh oncrates/ripr/src/analysis/classifier/evidence.rswas 29.972s then 39.713s. Same declared Intel 4-CPU runner class, different VM images/regions. The Nov 22→23 matched AMD runner-class trend points the same way (warm 32.048→40.999s, edited save 30.692→40.238s). These are workload measurements, not commit attribution. The heavy current observation is still below the 60s workload ratchet and is not itself the reason that the nightly is red.Next discriminating measurement for this issue: interleave prebuilt Nov 22 (
e7eff2ae65f5eace44bbc46a1fe4f35b11c58331) and Nov 23 (dbfcc9d1555f87cdb21207a56ba2df5df0086dde) analyzer endpoints on one host with the fixed consumer pin, matched build/cache settings, and the same edited-save fixture. Preserve repeated warm samples, phase timings, peak RSS, and the result/finding equivalence. That separates analyzer movement from host/run drift without repeating the full nightly, rebasing the thresholds, or taking over the existing allocation candidate. No run was dispatched.EffortlessSteven commentedon Nov 25, 2026
Nov 25 readback: the heavy warm slowdown persists, but the first two measured phases do not explain it
Nov 22 → Nov 23: warm median 32.048 → 40.999 s, edited save 30.692 → 40.238 s. The two retained warm phase medians,
diff_drop_unreached_test_filesanddiff_main_index, total 5.269 → 5.226 s. The trace hit its phase cap, so this rules out those two rows as the explanation for the observed +8.951 s, not any unrecorded phase. Workflow, lockfile and compiler identities match, as do AMD runner class and image; region/worker and build-cache readback differ. The endpoints are 114 commits apart, not a first-bad range attributed to code.Nov 25, analyzer
5000e3d6, repeats the observation at 41.865 s warm and 40.334 s edited save with 131 findings on Nov 23's region/class/image. Still below the heavy workload's 60 s bound; this is not attribution of the separate red scoreboard result or proof of byte-identical output.Keep the existing same-host interleaved endpoint test as the next step. Compare uninstrumented wall/peak RSS and normalized report equality first. If the gap survives, collect a separate paired trace that retains the phase rows after
diff_main_index; do not use instrumented wall time as the performance verdict. No run was dispatched.