Skip to content

feat(platform): wake standing roles when workers finish - #4608

Merged
yannickmonney merged 1 commit into
mainfrom
feat/standing-role-wake
Oct 9, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
feat/standing-role-wake

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Idle project workers can now wake their standing manager through the existing native scheduling and admission path. The capability is opt-in and preserves task authorization, retry/circuit limits, and independent review gates.

This change supports the current per-task worker model, bounds fair wake scanning, and fences project wake claims across old and new writers. Migration 0168 preserves forward compatibility. The MCP project-binding path now acquires the existing audit and name locks plus the complete sorted set of wake claim keys before any binding change.

Validation:

  • 139 focused runtime tests and 15 domain-spec tests pass; manual coverage guard, configured semantic typecheck, and scoped lint pass.
  • Actual PostgreSQL: 107/107 assertions across 33 scenarios in the selected wake lane, including MCP binding lock order, concurrent swaps, and the exact three-start circuit/backoff. The earlier 106/107 fixture failure is retained; the corrected fixture passed without a production change.
  • Independent source reviews cover the full composition and final fixture correction. Normal commit hooks pass.
  • Rebased onto current main 0d9f3b6; all 40 reviewed feature file hashes are unchanged.

This is source and isolated native proof, not live Fleet activation. The deployed completion-to-manager-to-distinct-worker observation remains a rollout check. Existing definition auditing can serialize ordinary configuration writes; only the extra wake-key behavior is default-off.

@yannickmonney
yannickmonney force-pushed the feat/standing-role-wake branch from 778df54 to dc07d9c Compare October 9, 2026 05:33
@yannickmonney
yannickmonney merged commit 34f556c into main Oct 9, 2026
@yannickmonney
yannickmonney deleted the feat/standing-role-wake branch October 9, 2026 05:48
tale-review-bot pushed a commit that referenced this pull request Nov 1, 2026
The v0.5.83 notes named migration 0168, which v0.5.82 already had,
and highlighted #4608, which v0.5.81 had already announced. The
validator let both through: it refused notes that name too little,
never notes that name too much.

Before tagging, the validator now also reads from Git what the previous
release tag already ships: its migration files, and the pull requests
and issues its history merged (the squash subject's "(#N)") or closed
("Closes", "Fixes" or "Resolves #N"). It refuses notes that name a
migration that release already has, by file name or as a number after
"migration", or one neither release adds. It also refuses notes that
cite, as #N or by its address, a pull request or issue that release
already merged or closed and no commit since refers to again. A
paragraph or list item that names the earlier release may still name
its work. The --shape-only check after the tag is unchanged.

v0.5.83.md now:
- names its 12 migrations and API contract 3.35.0;
- says how 0173 switches off the never-fired seeded GitHub schedules;
- replaces the #4608 highlight with what v0.5.83 brings;
- drops the bullet about the project's own agents;
- adds the :latest window of #4740 as a known limitation.

The published v0.5.83 release body is the release owner's to edit.

Refs #4785

Task: TALE-161
tale-code-bot added a commit that referenced this pull request Nov 1, 2026
The v0.5.83 notes named migration 0168, which v0.5.82 already had,
and highlighted #4608, which v0.5.81 had already announced. The
validator let both through: it refused notes that name too little,
never notes that name too much.

Before tagging, the validator now also reads from Git what the previous
release tag already ships: its migration files, and the pull requests
and issues its history merged (the squash subject's "(#N)") or closed
("Closes", "Fixes" or "Resolves #N"). It refuses notes that name a
migration that release already has, by file name or as a number after
"migration", or one neither release adds. It also refuses notes that
cite, as #N or by its address, a pull request or issue that release
already merged or closed and no commit since refers to again. A
paragraph or list item that names the earlier release may still name
its work. The --shape-only check after the tag is unchanged.

v0.5.83.md now:
- names its 12 migrations and API contract 3.35.0;
- says how 0173 switches off the never-fired seeded GitHub schedules;
- replaces the #4608 highlight with what v0.5.83 brings;
- drops the bullet about the project's own agents;
- adds the :latest window of #4740 as a known limitation.

The published v0.5.83 release body is the release owner's to edit.

Refs #4785

Task: TALE-161
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