Skip to content

fix(coordinator): stop terminal orphan re-arms - #969

Merged
sabbour merged 4 commits into
devfrom
squad/807-stop-terminal-orphan-rearms
Aug 28, 2026
Merged

fix(coordinator): stop terminal orphan re-arms#969
sabbour merged 4 commits into
devfrom
squad/807-stop-terminal-orphan-rearms

Conversation

@sabbour

@sabbour sabbour commented Aug 28, 2026

Copy link
Copy Markdown
Owner

Closes #807

Summary

  • Settle a stopped coordinator run into its durable work-plan terminal state before orphan recovery.
  • Keep genuinely nonterminal orphaned coordinators eligible for recovery.
  • Add regression coverage for repeated scans, pod restart, terminal transitions, and nonterminal recovery.

Validation

  • npm run validate:layer -- --area dotnet --dotnet-filter "FullyQualifiedName~Agentweaver.Tests.Coordinator.CoordinatorReconcilerTests"
  • npm run changeset:check

Closes #807

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 3f94bc67-d29d-4d47-a8f7-5d99540c4b42
@sabbour sabbour self-assigned this Aug 28, 2026
@sabbour sabbour changed the title squad/807 stop terminal orphan rearms fix(coordinator): stop terminal orphan re-arms Aug 28, 2026
@sabbour sabbour added the changeset:not-required This PR intentionally has no user-facing release note; rationale required in the PR body label Aug 28, 2026
@sabbour
sabbour marked this pull request as ready for review August 28, 2026 07:32
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 3f94bc67-d29d-4d47-a8f7-5d99540c4b42
@sabbour sabbour removed the changeset:not-required This PR intentionally has no user-facing release note; rationale required in the PR body label Aug 28, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 3f94bc67-d29d-4d47-a8f7-5d99540c4b42
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 3f94bc67-d29d-4d47-a8f7-5d99540c4b42
@sabbour
sabbour merged commit 3c59232 into dev Aug 28, 2026
18 of 19 checks passed
@sabbour
sabbour deleted the squad/807-stop-terminal-orphan-rearms branch August 28, 2026 08:43
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.

bug: coordinator reconciler infinite loop on terminal orphaned runs starves new coordinator-draft work

1 participant