Skip to content

fix: harden github activity recovery - #95

Merged
f0rr0 merged 1 commit into
nextfrom
f0rr0/fix-audit-read-retry
Aug 31, 2026
Merged

fix: harden github activity recovery#95
f0rr0 merged 1 commit into
nextfrom
f0rr0/fix-audit-read-retry

Conversation

@f0rr0

@f0rr0 f0rr0 commented Aug 31, 2026

Copy link
Copy Markdown
Owner

What changed

  • open a fresh PostgreSQL connection for every strict post-discovery audit
  • retry inconclusive projection reads on a bounded 2s, 5s, and 10s schedule without weakening the audit
  • emit only sanitized projection error name/code diagnostics
  • bypass reachable-history walks when exact durable push evidence can be hydrated directly
  • cap exact sequential recovery at 100 commits so a maximum-size stale push becomes an explicit gap instead of starving every worker run

Production evidence

  • the August backfill completed discovery in 19 minutes with zero pending queues, then three projection reads on one long-lived client returned inconclusive
  • replaying the exact failed snapshot succeeded with all 456 sources through both transaction and session poolers
  • after exact webhook recovery, the strict August audit passes 459/459 with zero coverage gaps and every queue settled
  • the live August 31 page renders 2 unique repository headers for 2 repositories and contains no merge milestones or PR-work labels

Verification

  • 246 tests passed with 1,540 assertions
  • typecheck, lint, formatting, production build, and diff check passed
  • focused exact-push tests cover compare contradictions, 404 bypass, and over-cap rejection before commit hydration

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
f0rr0-github-io Ready Ready Preview Aug 31, 2026 9:58am

@f0rr0
f0rr0 merged commit abe3bb1 into next Aug 31, 2026
3 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.

1 participant