Skip to content

ci: run the PR gate on the self-hosted ARC runners - #7

Merged
samykabu merged 1 commit into
mainfrom
ci/arc-main-pr-gate
Aug 1, 2026
Merged

samykabu merged 1 commit into
mainfrom
ci/arc-main-pr-gate

Conversation

@samykabu

@samykabu samykabu commented Aug 1, 2026

Copy link
Copy Markdown

Moves this repo's PR gate on main onto the in-cluster self-hosted ARC runners (resal-arc).

Phase 3 of the runner migration only ever landed on develop. On main, 203 workflow files across
47 repos still run on GitHub-hosted ubuntu-latest. This PR is part of the test/PR-gate half of
that sweep — the image-build half is being handled separately, because ARC has no buildx and needs
per-repo Dockerfile evidence first.

Scope

Only two things change per job: runs-on: ubuntu-latest -> resal-arc, and an added
timeout-minutes: 30. Nothing else — no steps, triggers, versions or expressions.

Each edit was applied mechanically and then re-parsed, and is refused unless the structural
diff between the old and new YAML contains nothing but those two keys. 37 files were processed and
0 were refused.

timeout-minutes is added deliberately: the ARC pool is finite, and without it a hung job holds a
runner for the 6-hour default.

How this is proven

This workflow runs on pull_request, so the checks on this PR are the flipped workflow executing
on ARC
. If ARC cannot run this repo's gate, this PR goes red and simply should not be merged —
the change cannot reach main unproven.

The same flip has been running on develop since 2026-07-22, and the pilot for this sweep
(InventoryMs #702, including a docker compose unit-test job on the ARC dind sidecar) passed all
checks.

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings August 1, 2026 12:47
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s PR gate workflow to run on the in-cluster self-hosted ARC runner pool (resal-arc) instead of GitHub-hosted ubuntu-latest, adding job timeouts to prevent hung jobs from holding limited ARC capacity.

Changes:

  • Switched all jobs in the PR gate workflow from runs-on: ubuntu-latest to runs-on: resal-arc.
  • Added timeout-minutes: 30 to each job to cap runner occupancy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@samykabu
samykabu merged commit c6b9222 into main Aug 1, 2026
2 of 5 checks passed
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.

3 participants