Skip to content

An attempt a rejudge overtook says so - #101

Merged
kisielewski merged 1 commit into
mainfrom
fix/the-queue-review-findings
Sep 4, 2026
Merged

An attempt a rejudge overtook says so#101
kisielewski merged 1 commit into
mainfrom
fix/the-queue-review-findings

Conversation

@kisielewski

Copy link
Copy Markdown
Member

A sixth job state, superseded, for an attempt a rejudge replaced before a Runner picked it up.

Not cancelled, which a manager does on purpose and which MANAGER_PANEL.md states as an action of theirs. Nothing is released, so the only argument for reusing it was the size of the change — against telling somebody reading an attempt list that a person cancelled an attempt nobody cancelled.

The type system found two exhaustive Record<JobState, string> maps, which is what those annotations are for.

The submissions filter is deliberately unchanged. A submission's own badge follows its newest attempt and a rejudge always adds a newer one, so superseded never appears there — only in the attempt list.

isFinished gains it, and cancelled with it: the Server refuses four states and this listed two, with the button's own disabled making up one of the difference — so a cancelled attempt was correctly unclickable under a tooltip offering to cancel it.

The fake supersedes the same way, or the screen check:ui drives disagrees with the Server.

tsc, check:i18n, check:api against the regenerated document, and check:ui all green.

A sixth job state. Telling a manager that somebody cancelled an attempt
nobody cancelled is a misreading with nothing in the row to correct it.
The fake supersedes the same way, or the screen check:ui drives disagrees
with the Server.
@kisielewski
kisielewski merged commit 89c75d2 into main Sep 4, 2026
3 checks passed
@kisielewski
kisielewski deleted the fix/the-queue-review-findings branch September 4, 2026 17:12
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