Skip to content

fix: show human review as Sent once dispatched, not Sending - #378

Merged
Rassl merged 1 commit into
mainfrom
fix/human-review-sent-state
Jul 28, 2026
Merged

fix: show human review as Sent once dispatched, not Sending#378
Rassl merged 1 commit into
mainfrom
fix/human-review-sent-state

Conversation

@Rassl

@Rassl Rassl commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

A human review runs for as long as a human takes, so a PENDING/RUNNING StakworkRun rendered "Sending…" with a spinner for that entire duration — implying the dispatch was still in progress when it had already completed.

The spinner is now scoped to the POST itself (sub-second). Once a run exists, running and completed both read "Sent", which is the only fact the operator needs. Polling is unchanged: onCompleted still refreshes the list when the workflow's results land as new Reviews.

The sent state is now genuinely disabled rather than only click-guarded.

A human review runs for as long as a human takes, so a PENDING/RUNNING
StakworkRun rendered "Sending…" with a spinner for that entire duration —
implying the dispatch was still in progress when it had already completed.

The spinner is now scoped to the POST itself (sub-second). Once a run
exists, running and completed both read "Sent", which is the only fact the
operator needs. Polling is unchanged: onCompleted still refreshes the list
when the workflow's results land as new Reviews.

The sent state is now genuinely disabled rather than only click-guarded.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Rassl
Rassl merged commit 3bb409d into main Jul 28, 2026
1 check passed
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