Skip to content

CI PR gating on main (post-flip trunk)#348

Merged
clkao merged 1 commit into
mainfrom
spacedock-ensign/ci-pr-gating-on-main
Jun 13, 2026
Merged

CI PR gating on main (post-flip trunk)#348
clkao merged 1 commit into
mainfrom
spacedock-ensign/ci-pr-gating-on-main

Conversation

@clkao

@clkao clkao commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

Gate main-PRs on the Go test suite and install smoke, so code cannot reach the post-flip release trunk untested.

What changed

  • Add main to the pull_request branch filter of install-e2e.yml and runtime-live-e2e.yml.
  • The offline go build ./... + go test ./... gate and the install matrix now run on main-PRs.
  • The three live e2e lanes stay environment-gated — they queue waiting, never auto-spend API credits.
  • Refresh the runtime-live-e2e SECURITY-MODEL header to name next and main.

Evidence

Review guidance

On main's branch protection, mark only offline / install / docs as required checks — never the live lanes (they wait on environment approval by design).


ea

Post-flip, main is the release trunk and PRs target it, but install-e2e.yml
and runtime-live-e2e.yml triggered pull_request on [next] only — so a main-PR
ran neither the offline go test ./... gate nor the install smoke (only
docs.yml). Extend the pull_request branch filter to [next, main] in both.

runtime-live-e2e's pull_request trigger is workflow-level, so adding main
queues all four jobs on a main-PR, but the three live jobs each declare an
approval-gated environment: + needs: offline, so they sit in waiting (no
auto-credit-burn). Only the secret-free offline job (go build + go test) runs
unconditionally — the same build-runs / deploy-gated split docs.yml uses.
Refresh the SECURITY-MODEL header phrase to match the new trigger; the
security reasoning is branch-agnostic and unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
clkao added a commit that referenced this pull request Jun 13, 2026
@clkao clkao temporarily deployed to CI-E2E-CODEX June 13, 2026 07:32 — with GitHub Actions Inactive
@clkao clkao merged commit 41bd47a into main Jun 13, 2026
12 of 14 checks passed
@clkao clkao deleted the spacedock-ensign/ci-pr-gating-on-main branch June 13, 2026 08:01
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