Skip to content

fix(server): task_status no longer reports a restart-continued task as cancelled (carry #32414) - #77

Merged
eyeveil merged 1 commit into
mainfrom
fix/delegated-task-restart-status
Nov 10, 2026
Merged

eyeveil merged 1 commit into
mainfrom
fix/delegated-task-restart-status

Conversation

@eyeveil

@eyeveil eyeveil commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Why

After a server restart, task_status reported a delegated child as latestTerminalStatus: "cancelled" for the run the restart cut, even while its continuation was running. Parent agents read that as a dead task and started replacements, so two workers edited the same files (seen on nixbox on 2026-10-31).

What changed

A carry of open upstream PR pingdotgg#32414, unchanged: latestTerminalResultRun in OrchestratorMcpService.ts hides runs a restart continuation supersedes, plus upstream's test.

Scope

Carry only. Drop it at the next sync once pingdotgg#32414 merges upstream.

Verification

Model and harness: Claude Opus 5.5 (lead, implementation, review) via Claude Code in T3 Code.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:M labels Nov 10, 2026
@greptile-apps

greptile-apps Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This PR appears safe to merge; no actionable issues were found.

Summary

Keeps task_status from reporting a cancelled run that a restart continuation has replaced.

  • Task status hides cancelled runs while restart continuations are active.

Reviews (1) · Last reviewed commit: "fix(server): task_status no longer repor..." · Reviewed by Greptile

@eyeveil
eyeveil merged commit 9b63a6c into main Nov 10, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant