Repository navigation
Try the dind-small pool for the staging ship job - #88
Merged
Merged
Conversation
["self-hosted","linux"] matched no runner. Those two labels are applied automatically to classic self-hosted runners, but the org's capacity is ARC-managed pools, and a runner scale set is addressed by its name alone and carries none of the default labels. So the spec was unsatisfiable, and the first staging deploy after the on-prem switch has been queued since 19:38Z without a runner ever claiming it. Point ship at dind-small, one of the org-wide pools. Whether its pods can reach this host on its RFC1918 address is unconfirmed and is exactly what this run answers. A failure at the SSH step is a useful result: it says the shared pools cannot serve a private-network target, and the build/ship split needs a runner inside the VPC before the host can drop public SSH. Left production alone. Its ship_runs_on stays unmatched, so no release tag can deploy to an arbitrary pool while this is still a question — and putting the production SSH key on shared multi-tenant infrastructure is a decision to take deliberately, not to inherit from a staging experiment. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01R8ZshwKmjD5fZ4Hs9dS6zh
There was a problem hiding this comment.
Pull request overview
Updates the staging deploy workflow so the ship job can be scheduled by targeting an ARC runner scale set name directly, addressing a runner-label mismatch that left the job queued indefinitely.
Changes:
- Update
DEPLOY_HOSTsecret guidance to depend on where theshipjob runs (public vs private reachability). - Change
ship_runs_onfor staging to target thedind-smallARC pool and document the label/scale-set mismatch that caused the stuck queue. - Add contextual notes explaining that this change is an experiment to test reachability to the staging host’s RFC1918 address.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+47
to
+51
| # the ship step fails at SSH rather than hanging, which is the point: a fast, | ||
| # legible answer instead of a queue that never drains. Should it fail, the | ||
| # build/ship split still needs a runner inside the VPC, and the host cannot drop | ||
| # public SSH until one exists. | ||
| ship_runs_on: '"dind-small"' |
6 of 9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The staging
shipjob has never run. Since #84 merged it has been queued withrunner_id: 0— no runner ever claimed it.The cause is a wrong assumption about label semantics, mine.
ship_runs_onwas'["self-hosted","linux"]', on the reasoning that both labels are applied automatically to every Linux self-hosted runner and so the spec is maximally permissive. That is true of classic self-hosted runners. The org's capacity is ARC-managed pools, and an ARC runner scale set is addressed by its name alone — it does not carry the defaultself-hosted/linux/x64labels at all. So the spec selected nothing that exists, and the job sat.This points
shipatdind-small, one of the org-wide pools (Kubernetes,dfinity-ops/k8s, on thedm1-idx1/zh1-idx1bare-metal clusters, owned by@dfinity-ops/idx).This is a test, and it may well fail. Whether those pods can route to the staging host's RFC1918 address is unconfirmed — the pools live in IDX's clusters, not the imcp2 VPC. A failure at the SSH step is a useful result rather than a setback: it answers the question quickly and legibly instead of leaving a queue that never drains, and it tells us the shared pools cannot serve a private-network target, so the build/ship split needs a runner inside the VPC before the host can drop public SSH.
Related issues
None. Context: #84 introduced the build/ship split and the on-prem ship target; #85 and #86 are the other follow-ups from that review.
Changes
deploy.yml:ship_runs_onbecomes'"dind-small"', with a comment recording why the previous value could never match and that pod-to-VPC reachability is the open question this is probing.DEPLOY_HOSTsecret note in the same file's header. It asserted the value must be the host's private address because ship runs on-prem over the VPN; which address is correct actually depends on where ship ends up running, so it now points at that decision instead of pre-empting it.Testing
deploy.ymlparses as YAML, andship_runs_onparses as JSON to the bare stringdind-small— the same single-label shapebuild_runs_onalready uses, whichfromJSONaccepts as aruns-onvalue.main.cargo build/cargo test/clippy— no Rust source changed.npm test --prefix monitoring/mcp-status— no dashboard code changed; the workflow runs it anyway.Checklist
Notes for merging
The stuck run has to be cancelled first.
deploy.ymlusesconcurrency: deploy-stagingwithcancel-in-progress: false, and run 30298700705 still holds the group. It can never make progress — it is pinned to the workflow version with the unsatisfiable labels — so merging this without cancelling it just adds a third run to the queue behind it. (Run 30300549759, pending from #86's merge, will be superseded automatically; GitHub keeps only one pending run per group.)Production is deliberately untouched.
deploy-release.ymlin #81 keeps aship_runs_onthat matches nothing, so no release tag can land on an arbitrary pool while reachability is unsettled. Ifdind-smalldoes work here, whether production should share a multi-tenant pool — the production SSH key would live on it — is a separate decision, not something to inherit from a staging experiment.Generated by Claude Code