Skip to content

fix #268: park evaluations as Waiting when org has no eval-capable worker#269

Merged
DerDennisOP merged 6 commits into
mainfrom
fix/268-park-no-workers
May 24, 2026
Merged

fix #268: park evaluations as Waiting when org has no eval-capable worker#269
DerDennisOP merged 6 commits into
mainfrom
fix/268-park-no-workers

Conversation

@DerDennisOP
Copy link
Copy Markdown
Member

@DerDennisOP DerDennisOP commented May 24, 2026

Summary

  • Closes Give error when creating an project with unconfigured organization #268. A freshly-created project in an org with no eval-capable worker registration showed Queued (sometimes forever, when only build-only workers were connected). It now parks as Waiting + Workers { connected_workers: 0 } immediately, mirroring the existing NoCache gate.
  • Adds org_has_eval_capable_worker_registration + park_if_no_workers + unpark_no_workers_for_org, wires them into apply_trigger, the manual /projects/{org}/{project}/evaluate endpoint, and the worker register/patch endpoints.
  • Teaches decide_pre_build_target to count eval-capable connected workers rather than total and closes the runtime gap where a connected build-only worker left a Queued eval stranded with no possible eval-side progress.

@DerDennisOP DerDennisOP merged commit 49d26c3 into main May 24, 2026
3 checks passed
@DerDennisOP DerDennisOP deleted the fix/268-park-no-workers branch May 24, 2026 23:36
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.

Give error when creating an project with unconfigured organization

1 participant