Skip to content

fix(compiler): bound instant-binary cache retention - #192

Merged
ttbombadil merged 1 commit into
mainfrom
fix/compiler-cache-retention
Oct 5, 2026
Merged

ttbombadil merged 1 commit into
mainfrom
fix/compiler-cache-retention

Conversation

@ttbombadil

Copy link
Copy Markdown
Collaborator

Verified against origin/main 6c284fb: <buildCacheDir>/binaries (+ .output.txt sidecars) was written per sketch hash but never evicted; main-thread cleanup also left sidecars of evicted HEX files.

  • add binaries dir to worker LRU targets (buildCacheEvictionTargets)
  • main-thread cleanup also covers the binaries dir
  • evict sidecar with its HEX

RED/GREEN: new cache-manager sidecar test fails without the fix. No API/SSOT changes.

🤖 Generated with Claude Code

The per-hash binaries store written by ArduinoCompiler was never an LRU
target, so it grew without bound. Add it to the worker eviction targets
and the main-thread cleanup, and drop the .output.txt sidecar together
with an evicted HEX entry.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ttbombadil
ttbombadil merged commit e53d46e into main Oct 5, 2026
5 checks passed
@ttbombadil
ttbombadil deleted the fix/compiler-cache-retention branch October 5, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant