1.2 KiB
1.2 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | |
|---|---|---|---|---|---|---|---|
| 06-pr-scoped-request-state | PR-scoped optimistic request state | done | 4 |
|
plan.md | ../../specs/ui/requirements/github-pr-review-actions.md |
Task 06: PR-scoped optimistic request state
Acceptance
- A successful re-request immediately reconciles the reviewer to pending and cannot be replayed while refreshed feedback is delayed or fails.
- Failed writes clear only the in-flight state and remain retryable.
- Mutation state cannot survive a PR identity change.
- Extracted code keeps frontend file and function complexity within enforced limits.
- Deferred-success, refresh-failure, write-failure, and identity-reset behavior have focused tests.
Ownership
apps/web/components/github/pr-detail-panel.tsxapps/web/components/github/pr-detail-panel.test.ts- A new focused hook/helper and test beside the GitHub PR components, if useful.
Do not edit the review-row or mobile-layout files owned by Task 07.
Output contract
Use TDD. Report RED/GREEN evidence, exact checks, files changed, residual risks,
and set only this task file's status to done.