compat: reject async managed-worker targets #406

Open
nsaspy wants to merge 0 commits from rage/compat-runtime-worker-sync into main
Owner

RAGE registry compatibility hardening.

RED first: 745bc6ce proves an async def worker target cannot false-green compatibility: current Zara ManagedWorker invokes its target synchronously with a stop event, so an async target would merely return an un-awaited coroutine and exit.

Implementation: c7cbbd97 rejects coroutine-function worker targets before signature validation. The compatibility gate still does not execute worker bodies, preserving deterministic/network-free checks.

No Core changes, no capability expansion, and no excluded todo work.

RAGE registry compatibility hardening. RED first: `745bc6ce` proves an `async def` worker target cannot false-green compatibility: current Zara `ManagedWorker` invokes its target synchronously with a stop event, so an async target would merely return an un-awaited coroutine and exit. Implementation: `c7cbbd97` rejects coroutine-function worker targets before signature validation. The compatibility gate still does not execute worker bodies, preserving deterministic/network-free checks. No Core changes, no capability expansion, and no excluded todo work.
Some checks failed
CI / test (pull_request) Failing after 18s
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin rage/compat-runtime-worker-sync:rage/compat-runtime-worker-sync
git switch rage/compat-runtime-worker-sync

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff rage/compat-runtime-worker-sync
git switch rage/compat-runtime-worker-sync
git rebase main
git switch main
git merge --ff-only rage/compat-runtime-worker-sync
git switch rage/compat-runtime-worker-sync
git rebase main
git switch main
git merge --no-ff rage/compat-runtime-worker-sync
git switch main
git merge --squash rage/compat-runtime-worker-sync
git switch main
git merge --ff-only rage/compat-runtime-worker-sync
git switch main
git merge rage/compat-runtime-worker-sync
git push origin main
Sign in to join this conversation.
No description provided.