Skip to content

Mitigate worker timeout starvation#412

Merged
espadonne merged 2 commits into
trunkfrom
hotfix/worker-timeout-mitigations
May 29, 2026
Merged

Mitigate worker timeout starvation#412
espadonne merged 2 commits into
trunkfrom
hotfix/worker-timeout-mitigations

Conversation

@espadonne

Copy link
Copy Markdown
Contributor

Summary

  • bound lifecycle hard-delete work per stale repo/org so one stuck tombstone cannot consume the full sweep job
  • make repo hard-delete rollback use a fresh short context after child timeouts
  • prefilter code-search blobs by git-reported size before spawning cat-file, while preserving path indexing

Tests

  • go test ./internal/worker/jobs ./internal/repos/git ./internal/repos/lifecycle
  • go test ./internal/worker/... ./internal/repos/...
  • make ci

@espadonne espadonne merged commit 1dc532f into trunk May 29, 2026
1 check passed
@espadonne espadonne deleted the hotfix/worker-timeout-mitigations branch May 29, 2026 23:47
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