fix(snapshot): add phase5 runtime verification and loose-object compaction#79
fix(snapshot): add phase5 runtime verification and loose-object compaction#79riatzukiza wants to merge 2 commits intofix/snapshot-phase4-stressfrom
Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Issue for this PR
Closes #74
Type of change
What does this PR do?
Adds a
debug snapshot verifychurn harness for Phase 5 runtime validation and uses its findings to harden cleanup behavior. Cleanup now compacts high loose-object growth withgit repack -d -land keeps prune fallback when counts remain elevated.How did you verify your code works?
bun run typecheckfrompackages/opencode.bun test test/snapshot/snapshot.test.tsfrompackages/opencode.OPENCODE_CONFIG_CONTENT='{"$schema":"https://opencode.ai/config.json","snapshot":true}' bun run packages/opencode/src/index.ts debug snapshot verify --iterations 12 --concurrency 6 --cleanup-every 3.Screenshots / recordings
N/A (non-UI change).
Checklist