Make Find Work production-schema-safe and truthfully paginated #182

Merged
rockachopa merged 1 commits from timmy/181-find-work-schema-pagination into main 2026-08-07 08:59:02 +00:00
Member

Closes #181

What changed

  • accept Gitea’s nullable pull_request and assignees fields for ordinary available issues and claim revalidation
  • scan a bounded upstream set, globally rank eligible work, then expose truthful logical pagination
  • coalesce and briefly retain available-work snapshots, serve a marked stale snapshot on transient refresh failure, and invalidate confirmed claims
  • keep the mobile Find Work count synchronized after a claim

Verification

  • PYTHONDONTWRITEBYTECODE=1 python3 -m pytest -p no:cacheprovider -q — 246 passed
  • live read-only production-schema probe — 63 eligible issues returned
  • git diff --check and node --check frontend/pick-work.js — passed
Closes #181 ## What changed - accept Gitea’s nullable `pull_request` and `assignees` fields for ordinary available issues and claim revalidation - scan a bounded upstream set, globally rank eligible work, then expose truthful logical pagination - coalesce and briefly retain available-work snapshots, serve a marked stale snapshot on transient refresh failure, and invalidate confirmed claims - keep the mobile Find Work count synchronized after a claim ## Verification - `PYTHONDONTWRITEBYTECODE=1 python3 -m pytest -p no:cacheprovider -q` — 246 passed - live read-only production-schema probe — 63 eligible issues returned - `git diff --check` and `node --check frontend/pick-work.js` — passed
rockachopa added 1 commit 2026-08-07 08:58:24 +00:00
feat: make Find Work production-schema-safe (#181)
All checks were successful
CI / lint (pull_request) Successful in 12s
CI / build-frontend (pull_request) Successful in 4s
b6c7ec83e4
rockachopa merged commit e96ff42dff into main 2026-08-07 08:59:02 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#182
No description provided.