Share the Find Work catalog refresh across application workers #454

Merged
timmy merged 2 commits from timmy/453-shared-available-catalog into main 2026-08-10 04:44:58 +00:00
Owner

Closes #453

What changed

  • coordinate Find Work refreshes with an expiring worker-shared SQLite lease
  • publish catalog freshness and retry state across workers
  • propagate confirmed claims and release invalidation across worker catalogs
  • keep SQLite operations off the event loop and private to the service account

Verification

  • pytest -q tests/test_available_issue_snapshot_store.py tests/test_gitea_work_search.py (28 passed)
  • pytest -q (874 passed)
  • git diff --check
  • python3 -m compileall -q src tests
Closes #453 ## What changed - coordinate Find Work refreshes with an expiring worker-shared SQLite lease - publish catalog freshness and retry state across workers - propagate confirmed claims and release invalidation across worker catalogs - keep SQLite operations off the event loop and private to the service account ## Verification - `pytest -q tests/test_available_issue_snapshot_store.py tests/test_gitea_work_search.py` (28 passed) - `pytest -q` (874 passed) - `git diff --check` - `python3 -m compileall -q src tests`
timmy added 1 commit 2026-08-10 04:40:42 +00:00
perf: share Find Work catalog across workers (#453)
CI / lint (pull_request) Failing after 51s
CI / build-release (pull_request) Has been skipped
CI / release-candidate (pull_request) Has been skipped
20d5176713
timmy added 1 commit 2026-08-10 04:43:35 +00:00
fix: release cancelled catalog refresh leases (#453)
CI / lint (pull_request) Successful in 50s
CI / build-release (pull_request) Successful in 5s
CI / release-candidate (pull_request) Has been skipped
a9508984e2
timmy merged commit b214a49686 into main 2026-08-10 04:44:58 +00:00
Sign in to join this conversation.