Skip to content

fix(engine): fail run when no registered worker matches the node tags - #59

Open
SAY-5 wants to merge 1 commit into
nullclaw:mainfrom
SAY-5:fix/unmatched-worker-tags
Open

SAY-5 wants to merge 1 commit into
nullclaw:mainfrom
SAY-5:fix/unmatched-worker-tags

Conversation

@SAY-5

@SAY-5 SAY-5 commented Nov 13, 2026

Copy link
Copy Markdown

Refs #44

When selectWorker returns null, executeTaskNode now checks whether any registered worker carries one of the node's tags and fails the run with a named error if none does, instead of retrying every tick forever. A matching worker that is busy, draining or dead still retries as before, since the health check brings a dead worker back once its circuit breaker window passes. The regression test drives executeTaskNode with a nonexistent-tag node against a worker tagged coder; zig build test --summary all is 371/371 and zig fmt --check src/ is clean.

Signed-off-by: Sai Asish Y <say.apm35@gmail.com>

This branch has not been deployed

No deployments
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