This repository was archived by the owner on Dec 12, 2025. It is now read-only.
ci: migrate build and CodeQL to GitHub-hosted runners #64
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.
CI Migration: Move Bedrock CI & CodeQL to GitHub-Hosted Runners
Summary
This PR modernizes Bedrock’s continuous integration setup by migrating all required CI jobs from the self-hosted dev-01 runner to GitHub-hosted runners (ubuntu-latest).
Self-hosted runners remain available for optional heavy/soak workflows, but no longer gate merges or block PRs when offline.
This is part of the Side Quest: CI Modernization & Hygiene, and aligns Bedrock CI with Phoenix’s new GitHub-hosted CI architecture.
⸻
Key Changes
File changed: .github/workflows/ci.yml
• Replaced:
runs-on: [self-hosted, linux, x64, dev01, fastpath]
with:
runs-on: ubuntu-latest
⸻
File changed: .github/workflows/codeql.yml
• Replaced:
runs-on: [self-hosted, linux, x64, dev01, fastpath]
with:
runs-on: ubuntu-latest
⸻
File changed: .github/workflows/auto-merge.yml
Updated check names so dependabot auto-merge recognizes the actual status checks emitted by GitHub:
• "CI / build" instead of "CI"
• "CodeQL Analysis" instead of "CodeQL"
This resolves silent auto-merge failures caused by mismatched check names.
⸻
Why This Change Is Needed
Before this PR:
• CI jobs were locked to the self-hosted dev-01 runner
• When dev-01 was offline, CI stalled indefinitely
• PR Guard showed “Expected — Waiting for status…” deadlocks
• CodeQL never ran on PRs
• auto-merge workflows had stale check name expectations
After this PR:
• All required checks run on GitHub infrastructure
• Bedrock CI is now:
• Reliable
• Scalable
• Independent of local hardware
• Consistent across contributors
Self-hosted runners remain available for non-required soak/perf tests.
⸻
Validation
✔ Builds on GitHub-hosted ubuntu-latest
• Full build + test run completes successfully
• No dev-01-specific paths remain
• No unexpected toolchain differences
✔ CodeQL runs successfully on PRs
• Correct triggers
• No dependency errors
• Fully GitHub-infra based
✔ auto-merge workflows now match actual check names
✔ No changes to core Bedrock code or behavior
This PR touches only workflow files.
⸻
Files Changed (High-level)
.github/workflows/ci.yml
.github/workflows/codeql.yml
.github/workflows/auto-merge.yml
⸻
Next Steps (Post-Merge)
After merging this PR:
1. Update branch protection rules (manual GitHub UI step):
• Required:
• CI / build
• CodeQL Analysis
• validate (if applicable)
• Remove any self-hosted required checks
2. Optional in future PRs:
• Migrate soak/heartbeat jobs off self-hosted runners if desired
• Add macOS or Windows CI as separate jobs
• Add cache rehydration steps for faster builds
⸻
Confidence
This PR implements exactly the plan outlined in:
• BEDROCK_CI_HYGIENE_AUDIT.md
• CI_MIGRATION_PLAN.md
All edits were performed on the feature/ci-migration branch and validated locally before opening this PR.
⸻