Skip to content

fix(usage): bound OpenCode history reads to prevent backend OOM - #17961

Merged
Yash-Singh1 merged 1 commit into
mainfrom
fix/opencode-usage-bounded-reads
Oct 11, 2026
Merged

Yash-Singh1 merged 1 commit into
mainfrom
fix/opencode-usage-bounded-reads

fix(usage): bound OpenCode history reads to prevent backend OOM

ac96fb5
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Approvability Check completed Oct 11, 2026 in 1m 39s

Not approved

  • Eligibility
  • Correctness

Note

More information about how approvability works can be found in our Help Center.

Details

Eligibility
The PR bounds OpenCode history allocations with paginated SQLite reads and adds focused regression coverage, but it changes a production reader that feeds priced token-usage aggregation and also changes concurrent-scan behavior. That metering-sensitive runtime path warrants human review.

Notes:
No code owners found in target merge base c727d12