feat: validate memory instrumentation + pending-heavy baseline tooling - #26
Conversation
- add WEAVE_MEMORY_STATS command-end reporting for retained plan, overlay, read-cache, candidate-cache, heap, and RSS roles - sample recursive planner iterations without changing validation behavior when disabled - keep node:v8 behind a dynamic import and cover created-file path classification
- generate flat-source extracted-term meshes with explicit current-only or versioned MeshInventory history policy - prove untargeted validation enters one recursive planning iteration per pending Knop - verify instrumentation is silent when disabled and identifies the conditional history-snapshot arm
- report stable pre-GC and nullable post-GC V8 heap measurements when instrumentation is enabled - add deterministic per-term content sizing to the pending-heavy mesh generator - cover exposed-GC reporting, disabled behavior, and content-sized validation honesty
|
Warning Review limit reached
Next review available in: 48 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
dnt's Node type checking shims the TextEncoder value but has no global TextEncoder type; use a module-level encoder instead of typed params. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Summary
The instrumentation/attribution phase of the whole-mesh validate bounded-memory task (archive note
wa.task.2026.2026-07-29_1220-whole-mesh-validate-bounded-memory, build + adversarial-review receipts inside). Rebased onto main after #25; the two-file overlap (weave.ts,version_execution.ts) reconciled so the classified validate path carries the optionalmemoryStatswiring.feat(validate): instrument retained memory— opt-inWEAVE_MEMORY_STATS=1JSON on stderr: retained bytes by role (created plan text by path class, updated map, overlay staged, read cache, candidate cache), planner loop iterations, peak RSS, V8 heap stats. Zero work when unset;node:v8imported dynamically at finish only; fs-purity guard green.test(validate): add pending-heavy baseline mesh—scripts/generate-pending-heavy-mesh.ts: self-contained generator for meshes with N pending extracted-term Knops (policy- and content-parameterized, no fixture-repo refs); honesty test proves untargeted validate performs exactly N recursive iterations.feat(validate): discriminate retained memory after gc—postGcUsedHeapSizeunder--v8-flags=--expose-gc;--term-content-bytesknob.Evidence this tooling produced (receipts in the archive note)
No behavior changes to validation semantics; instrumentation is inert unless
WEAVE_MEMORY_STATSis set.Test evidence
Full
env -u NO_COLOR deno task ci: 737 passed / 0 failed on the rebased tip; focused memory-stats + generator honesty suites green.🤖 Generated with Claude Code