Skip to content

Recover stale sessions from GitHub state#325

Merged
nicobistolfi merged 1 commit intomainfrom
vigilante/issue-322-recover-stale-sessions-by-reconciling-local-state-with-github-issue-and-pr-status
Mar 26, 2026
Merged

Recover stale sessions from GitHub state#325
nicobistolfi merged 1 commit intomainfrom
vigilante/issue-322-recover-stale-sessions-by-reconciling-local-state-with-github-issue-and-pr-status

Conversation

@nicobistolfi
Copy link
Copy Markdown
Collaborator

Summary

  • reconcile stale local running sessions against live GitHub issue and PR state before keeping them in running
  • reuse the reconciliation in both daemon stale-session recovery and vigilante status, persisting recovered session state
  • add regression coverage for open PR recovery, closed issue plus merged PR, issue unavailable, and GitHub lookup failure

Validation

  • go test ./internal/app/...
  • go test ./...

Closes #322

@nicobistolfi nicobistolfi merged commit 51a1ec5 into main Mar 26, 2026
1 check passed
@nicobistolfi nicobistolfi deleted the vigilante/issue-322-recover-stale-sessions-by-reconciling-local-state-with-github-issue-and-pr-status branch March 26, 2026 20:07
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.

Recover stale sessions by reconciling local state with GitHub issue and PR status

1 participant