Skip to content

fix(runner): retire already reconciled recovery runners - #177

Merged
lweberru merged 1 commit into
mainfrom
fix/reconciled-runner-retirement
Oct 28, 2026
Merged

lweberru merged 1 commit into
mainfrom
fix/reconciled-runner-retirement

Conversation

@lweberru

Copy link
Copy Markdown
Collaborator

A recovered warm Runner could remain desired STARTED/CRASHED indefinitely because normal pool retirement only accepted succeeded/failed dispatches, while a reconciled interruption retains reconciliation_required as historical status.

Retirement now also accepts the existing validated recovery-replan clearance after Runner tickets expire and with no active guided recovery. Exact space/origin/job/app/package bindings remain mandatory. The stopped-app sweeper uses the same established validator instead of checking only receipt existence, preserving protection when a later separate recovery State invalidates clearance. Historical migrations are unchanged; the additive migration is 077.

Validation: 69 PostgreSQL identity, isolation, recovery and retention tests pass. The actual cleared-apply fixture tests expired authority positively and live tickets/missing clearance negatively, with rollback preserving later recovery assertions. Independent review found no remaining issues. English/German operations documentation is updated. This follow-up changes no Assistant implementation, knowledge, intent schema or qualification oracle; the Assistant qualification for parent #176 remains separately required before the combined Dev deployment. No production or customer Plan/Apply/State/lock mutation is included.

@lweberru
lweberru merged commit d2a0f05 into main Oct 28, 2026
14 checks passed
@lweberru
lweberru deleted the fix/reconciled-runner-retirement branch October 28, 2026 13:20
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