Skip to content

fix: reindex recovered PR sessions - #561

Merged
agavra merged 2 commits into
agavra:mainfrom
Guflly:fix/reindex-recovered-pr-session
Aug 11, 2026
Merged

agavra merged 2 commits into
agavra:mainfrom
Guflly:fix/reindex-recovered-pr-session

Conversation

@Guflly

@Guflly Guflly commented Aug 5, 2026 •

Copy link
Copy Markdown
Contributor

Re-index PR sessions recovered from their deterministic path so the review list and review add see them immediately. The repair only updates the manifest and leaves the session JSON unchanged.

Adds regression coverage for missing and stale manifest entries.

Tests:

  • cargo test should_reindex_recovered_pr_session
  • cargo fmt --all -- --check

Closes #449

Comment thread src/app/tests/target_selector_tests.rs Outdated
Comment thread src/app/tests/target_selector_tests.rs Outdated
Comment thread src/persistence/storage.rs
@Guflly
Guflly force-pushed the fix/reindex-recovered-pr-session branch from 139ba3a to 5ac64c4 Compare August 9, 2026 01:33
@Guflly

Guflly commented Aug 9, 2026

Copy link
Copy Markdown
Contributor Author

Rebased on current main. Cargo fmt, cargo check, and the recovered-session regression test pass.

@agavra agavra left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Guflly :)

@agavra
agavra merged commit c3bf60c into agavra:main Aug 11, 2026
4 checks passed
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.

Re-index PR sessions recovered from deterministic fallback path

3 participants