Skip to content

Select only served runners in the CI template and store-stills - #13

Merged
shtse8 merged 1 commit into
mainfrom
agent/platform-bucket2-org-ci-guards
Nov 27, 2026
Merged

shtse8 merged 1 commit into
mainfrom
agent/platform-bucket2-org-ci-guards

Conversation

@shtse8

@shtse8 shtse8 commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Outcome

Two shared runner selections now name only runners the provider serves Cubeage. An unknown store-stills selection fails before a self-hosted runner is assigned.

  • workflow-templates/ci-fast-path.yml: the heavy job used sylphx-linux-xlarge-merge on merge groups. Cubeage has no such twin, and needs-pass refuses a merge group that selects an unserved twin, so a repository that copied the template could not merge. The job now uses plain sylphx-linux-xlarge on every event. gate and ci-ok are unchanged.
  • .github/workflows/store-stills.yml: runs-on accepts only sylphx-linux-standard. Omitting the input or passing an empty value still gives that default. Any other value sends runs-on to fromJSON with text that is never JSON, so the job fails while runs-on is evaluated and no runner is assigned. The Capture every still body is unchanged.
  • .github/actionlint.yaml: removed sylphx-linux-xlarge-merge. No workflow here uses it, and actionlint now rejects it.

Provider contract

  • SylphxAI/sylphx@5c7a1de kernel/hands/cells/fsn1/scale-sets.toml, Cubeage: classes = [standard, large, xlarge, 2xlarge, control, poller, review, android-kvm], merge = [standard, poller, review]. No other cell binds Cubeage.
  • SylphxAI/.github@21ce9b1 policy/merge-runner-labels.json: "Cubeage": ["sylphx-linux-standard-merge"].
  • Shared R8 checker (scripts/merge_lane.py) run on this template as a private Cubeage consumer:
    • before: heavy: merge_group job selects an unserved twin: sylphx-linux-xlarge-merge
    • after: no findings, plus the expected notice that Cubeage has no xlarge twin

Caller census

Read 2026-11-27 ~01:40Z by cloning all 57 live Cubeage repositories. Git reads, not code search.

  • Default branches: nothing calls store-stills.yml, and no workflow job requests sylphx-linux-xlarge-merge. The label only appears in 18 repositories' own actionlint.yaml lists, which this PR leaves alone.
  • All 2,943 branch heads:
    • last-minute-keel, planet-post-keel (2 refs) and voidies each have a feat/store-stills caller. All of them omit runs-on, and all of them pin @feat/store-stills-workflow, a ref that no longer exists on this repository. This PR doesn't change them.
    • Six voidies branches read store-stills.yml@350cd80 and hash its capture body. That pin doesn't change, and the body hash is 25bfb75f… on main, on this branch and in their check.
    • No job on any branch requests sylphx-linux-xlarge-merge.

Tests

  • New tests/test_runner_selection.py evaluates both selectors with GitHub's expression rules: case-insensitive ==, &&/|| that short-circuit, and fromJSON failing on input that isn't JSON. The cases cover five events, accepted inputs, 16 rejected inputs, and negative controls on the old selectors.
  • On main the new file has 88 failures; on this branch it passes.
  • Also passing: actionlint 1.7.12 (checksum-verified) with this repo's config, all tests/, the self-hosted-runners guard tests, the guard on this repo (public, with no store-stills finding under private), the game-standard and ftl-daily-budget tests, json.tool and git diff --check.

Risk

There's no deployment, and nothing here runs a tenant runtime. PR CI uses this public repository's free hosted runners, so it adds no spend. There are no token, secret or permission changes and no hosted fallback.

Cubeage is served merge twins for standard only (SylphxAI/sylphx@5c7a1de
kernel/hands/cells/fsn1/scale-sets.toml; SylphxAI/.github
policy/merge-runner-labels.json). The fast-path template's heavy job picked
sylphx-linux-xlarge-merge on merge groups, which needs-pass refuses as an
unserved twin, so a repository that copied the template could not merge. The
heavy job now uses the plain xlarge pool on every event, and the retired label
leaves this repository's actionlint list.

store-stills passed any runs-on input straight to the job. It now accepts only
sylphx-linux-standard (omitted and empty keep that default); any other value
fails while runs-on is evaluated, before a runner is assigned. No live caller
passes runs-on: no default branch calls the workflow, the four branch callers
omit the input, and the pinned voidies capture body is byte-identical.
@shtse8
shtse8 enabled auto-merge November 27, 2026 01:46
@shtse8
shtse8 added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit b85b391 Nov 27, 2026
8 checks passed
@shtse8
shtse8 deleted the agent/platform-bucket2-org-ci-guards branch November 27, 2026 01:47
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