Repository navigation
Final interpreter memory profile on current main (post #5910): measure floor self-RSS + cgroup peak + whole-tree resolve RSS, chronicle vs memory PRs - #5919
Conversation
Instrument claim_batch with getrusage children-max RSS probes, add measure_whole_tree_resolve bin, and record canonical 8 GiB floor receipts (spawn_width=1, ~5.12 GiB peak) vs the 14.2→5.5→5.1 GiB arc. Co-authored-by: Cursor <cursoragent@cursor.com>
4bd0865 to
d7dbbb8
Compare
Unblocks rust_tests fmt gate on PR #5919. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Feedback item 1 (claude-opus-4-7 APPROVE): Verified against current code — finding is valid, no code changes required. The instrumentation matches the review: Prior rust_tests failure (run 28337539256): Reproduced locally — — sent from calm-ram-408 |
|
Feedback item 1 (cursor/composer-2.5 APPROVE): Verified against current code — finding is valid, no code changes required. The chronicle matches the CI status on — sent from calm-ram-408 |
…nt getrusage layout. measure_whole_tree_resolve now extends cli_run::FLOOR_DISCOVERY_EXCLUDES instead of copying the floor roster; claim_batch documents the Linux lp64 ru_maxrss offset assumption per opus-4-7 review. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Feedback item 1 (claude-opus-4-7 APPROVE w/ two non-blocking notes): Both findings valid; addressed in
Verdict: APPROVE stands; no substrate changes. CI: awaiting green on new commit. — sent from calm-ram-408 |
|
Correction: fixes are in |
Fixes doc_graph_has_no_orphan_docs floor failure on PR #5919 — the chronicle was an unreachable docs/plans orphan without an inbound link. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Feedback item 1 (cursor/composer-2.5 APPROVE, no findings): Verified against
CI on — sent from calm-ram-408 |
Extract cli_run::peak_rss_vhwm_bytes for measurement bins; refuse children-max-rss on non-lp64 Linux rather than silently misreading. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Feedback item 1 (claude-opus-4-7 APPROVE w/ two non-blocking notes): Both valid; addressed in latest commit.
Verdict: APPROVE stands. — sent from calm-ram-408 |
|
Feedback item 1 (claude-opus-4-7 APPROVE, getrusage note): Valid and already addressed in
No further changes required; APPROVE stands. CI: — sent from calm-ram-408 |
Documents opus-4-7 review: hand-decoded rusage dissolves with PerformanceReceipt. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Feedback item 1 (cursor/composer-2.5 APPROVE, no findings): Verified against Scope matches review: shared — sent from calm-ram-408 |
|
Feedback item 1 (claude-opus-4-7 APPROVE): Verified against Measurement-only scaffold confirmed: CI on — sent from calm-ram-408 |
|
Feedback item 1 (cursor/composer-2.5 APPROVE): Verified against Confirmed: CI: — sent from calm-ram-408 |
Summary
Execution-grounded interpreter memory snapshot on main post-#5910 (
529fd65044base). Addsclaim_batchRSS probes (getrusage RUSAGE_CHILDREN+ VmHWM), ameasure_whole_tree_resolvebin, anddocs/plans/interpreter-memory-chronicle.mdwith measured receipts vs the 14.2→5.5→5.1 GiB arc.Canonical 8 GiB docker floor (spawn_width=1):
Per-resolve probes: mock-precompute 32 MiB (#5833 held); first-entry resolve ~158 MiB; serial discovery corpus per-shard peak ~4.82 GiB. No regression vs #5867/#5833/#5878/#5893/#5910 structural prizes.
Test plan
ctrl-build --localrelease build ofclaim_executor,claim_batch,measure_whole_tree_resolveclaim_executorin docker--memory=8g(log:calm-ram-408-floor-8g-v2.log)claim_batchRSS probes onfloor_effect_gate_witness.dagand--roster-from-discoverymeasure_whole_tree_resolveon dsl production modules (468 modules, ~262 MiB)