Skip to content

Avoid creating review dirs for ledger reads#335

Merged
shiny-code-bot merged 1 commit into
mainfrom
fix/auto-review-ledger-open-existing
Jun 2, 2026
Merged

Avoid creating review dirs for ledger reads#335
shiny-code-bot merged 1 commit into
mainfrom
fix/auto-review-ledger-open-existing

Conversation

@shiny-code-bot
Copy link
Copy Markdown
Collaborator

Summary

  • Add non-creating scoped review path helpers.
  • Make AutoReviewRunStore::open_existing check the Auto Review store path without creating review-state directories.
  • Strengthen the regression test so idle ledger reads prove neither the auto-review dir nor parent review state dir is created.

Validation

  • cargo test -p code-core open_existing_does_not_create_auto_review_dir
  • cargo test -p code-core review_store
  • ./build-fast.sh
  • git diff --check

Follow-up for Auto Review finding on PR #334: idle repo ledger checks should not create review-state directories.

@shiny-code-bot shiny-code-bot merged commit 95ae8e6 into main Jun 2, 2026
1 check passed
@shiny-code-bot shiny-code-bot deleted the fix/auto-review-ledger-open-existing branch June 2, 2026 14:23
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.

2 participants