Skip to content

fix(cli): include deploy error on --wait timeout - #88

Merged
akirilyuk merged 1 commit into
mainfrom
fix/runner-rollout-leader-capacity
Sep 15, 2026
Merged

akirilyuk merged 1 commit into
mainfrom
fix/runner-rollout-leader-capacity

Conversation

@akirilyuk

Copy link
Copy Markdown
Contributor

Why

voicethere deploy --wait timed out with only (last status=queued) when the control plane already had a cluster admission error on the job.

What

pollWithBackoff can append last-job detail. Deploy --wait uses job.error, so a timeout looks like:

(last status=queued; CLUSTER_NO_CAPACITY: deploy_admission cpu_deficit=255m memory_deficit=0)

Requires the matching platform change that persists deploy_jobs.error while the job is still queued.

Verify

From cli/:

npx vitest run src/commands/deploy.test.ts src/lib/poll-backoff.test.ts

Verified locally (exit 0).

Append the deployment job error field after last status when voicethere deploy
--wait times out so CLUSTER_NO_CAPACITY messages are visible during retries.
@akirilyuk
akirilyuk merged commit f82d720 into main Sep 15, 2026
8 checks passed
@akirilyuk
akirilyuk deleted the fix/runner-rollout-leader-capacity branch September 15, 2026 12:02
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