Make Find Work batch claiming respect Today time capacity #675

Closed
opened 2026-08-12 19:49:26 +00:00 by timmy · 0 comments
Owner

User problem

Find Work currently validates only free Today item slots before irreversibly claiming a selected batch. When a Today minute budget exists, operators can claim and queue more work than fits their day, or queue unestimated work that cannot be evaluated against the budget.

Vertical slice

Add a pre-claim estimate review for selected Find Work items whenever Today has a minute budget. Show remaining minutes, require valid estimates, block over-budget batches before any Gitea mutation, then persist estimates only for successfully queued claims. Preserve slot-only behavior when no minute budget is configured.

Acceptance criteria

  • Valid estimates fitting remaining minutes permit sequential claim and queue in selection order.
  • Missing/invalid estimates or total overage make zero claim requests and provide an accessible correction message.
  • Existing Today estimates are deducted from capacity; item slots remain a separate limit.
  • Partial assignment conflicts persist estimates only for successfully queued items.
  • No configured minute budget retains the current batch flow.
  • Mobile review is keyboard/safe-area friendly with 44px controls and no horizontal overflow.
  • Browser Back/cancel performs no claim and preserves Find Work query/selection.

Non-duplication evidence

Open issues and PRs, 334 closed issue titles, releases, and recent main history were checked. #671/#672 implemented slot-count batch claiming; #459/#633 and related work added minute-aware planning for already-owned work. No existing issue or recent commit combines time estimates with pre-claim Find Work admission.

## User problem Find Work currently validates only free Today item slots before irreversibly claiming a selected batch. When a Today minute budget exists, operators can claim and queue more work than fits their day, or queue unestimated work that cannot be evaluated against the budget. ## Vertical slice Add a pre-claim estimate review for selected Find Work items whenever Today has a minute budget. Show remaining minutes, require valid estimates, block over-budget batches before any Gitea mutation, then persist estimates only for successfully queued claims. Preserve slot-only behavior when no minute budget is configured. ## Acceptance criteria - Valid estimates fitting remaining minutes permit sequential claim and queue in selection order. - Missing/invalid estimates or total overage make zero claim requests and provide an accessible correction message. - Existing Today estimates are deducted from capacity; item slots remain a separate limit. - Partial assignment conflicts persist estimates only for successfully queued items. - No configured minute budget retains the current batch flow. - Mobile review is keyboard/safe-area friendly with 44px controls and no horizontal overflow. - Browser Back/cancel performs no claim and preserves Find Work query/selection. ## Non-duplication evidence Open issues and PRs, 334 closed issue titles, releases, and recent main history were checked. #671/#672 implemented slot-count batch claiming; #459/#633 and related work added minute-aware planning for already-owned work. No existing issue or recent commit combines time estimates with pre-claim Find Work admission.
timmy self-assigned this 2026-08-12 19:49:26 +00:00
timmy closed this issue 2026-08-12 19:56:10 +00:00
Sign in to join this conversation.
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#675
No description provided.