Repository navigation
Start/stop the CI k8s sandbox for regional sandbox labels too (ENG-221179) - #37
Merged
Merged
Conversation
…sted region (ENG-221179) needs_sandbox:<region> and stop_sandbox now also dispatch sandbox.yml for the regional labels (sandbox 🇪🇺, 🍁, 🏛️, 🇦🇪, 🇺🇸, 🇦🇺), passing the region as the needs_sandbox suffix (eu, ca, gov, uae, wu, ap). A region is dispatched only when it is listed in SANDBOX_K8S_REGIONS, set by the calling workflow, so a region joins CI k8s by being listed there. The plain `sandbox` dispatch is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dependency Review✅ No vulnerabilities or license issues found.Scanned FilesNone |
…des, no SANDBOX_K8S_REGIONS (ENG-221179) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Follow-up to #36. That PR dispatches EightfoldAI/vscode's
sandbox.ymlonly for the plainsandboxlabel. This one does the same for the regional sandbox labels, soneeds_sandbox:ap/:wu/ … start and stop a CI k8s sandbox in that region.sandbox_k8s_request <start|stop> [region]: a region is passed as theneeds_sandboxsuffix (eu,ca,gov,uae,wu,ap) in the dispatch'sregioninput.needs_sandbox:<region>and ofstop_sandboxcalls it with its region.sandbox.yml's ownregionoptions in vscode: it refuses any other (HTTP 422, e.g.uae), and|| truekeeps the action green. A region joins by being added there, with no change in this repo.sandboxdispatch: same payload, noregionkey;SANDBOX_K8S_TRIGGERisn't"true"(vscode'sMIGRATION_STATUS_SANDBOXisofftoday);SANDBOX_K8S_TRIGGERstart(US){"pr","action":"start"}, as #36start wu/stop wu…,"region":"wu"start uae…,"region":"uae"→ 422 fromsandbox.yml, ignoredChecked with the function sourced alone and
curl/jqstubbed (bash -nclean).Order
MIGRATION_STATUS_SANDBOXisoff; a regional dispatch gets 422 until the vscode side adds theregioninput);sandbox.yml'sregioninput (us, ap, eu, ca, gov, wu);MIGRATION_STATUS_SANDBOX→shadowturns on US and every region together.JIRA: ENG-221179
🤖 Generated with Claude Code