Skip to content

Stop redundant GitHub polling for deleted issues and active PR maintenance loops#305

Merged
nicobistolfi merged 2 commits intomainfrom
vigilante/issue-304-stop-redundant-github-polling-for-deleted-issues-and-active-pr-maintenance-loops
Mar 26, 2026
Merged

Stop redundant GitHub polling for deleted issues and active PR maintenance loops#305
nicobistolfi merged 2 commits intomainfrom
vigilante/issue-304-stop-redundant-github-polling-for-deleted-issues-and-active-pr-maintenance-loops

Conversation

@nicobistolfi
Copy link
Copy Markdown
Collaborator

Summary

  • stop monitoring sessions whose issues now return permanent GitHub unavailability errors such as HTTP 410
  • reuse a single PR-details lookup for each maintenance cycle, including baseRefName, and avoid the extra label-sync refetch
  • cache assignee resolution per scan and delay unchanged successful PR-maintenance polling to cut fixed-cadence churn

Validation

  • go test ./...

Closes #304

@nicobistolfi nicobistolfi merged commit d544327 into main Mar 26, 2026
1 check passed
@nicobistolfi nicobistolfi deleted the vigilante/issue-304-stop-redundant-github-polling-for-deleted-issues-and-active-pr-maintenance-loops branch March 26, 2026 16:22
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.

Stop redundant GitHub polling for deleted issues and active PR maintenance loops

1 participant