Skip to content

fix(ci): route Required PR Check mirror job like the reusable (private→cldmv-runners) - #209

Merged
Shinrai merged 1 commit into
nextfrom
fix/required-check-runner-routing
Aug 8, 2026
Merged

Shinrai merged 1 commit into
nextfrom
fix/required-check-runner-routing

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

  • fix(ci): route Required PR Check mirror job like the reusable (private→cldmv-runners) (fb23e1d)

📦 Dependencies

No dependency updates

🔧 Other Changes

No other changes

👥 Contributors

…e→cldmv-runners)

The ✅ Required PR Check mirror job hardcoded runs-on: ubuntu-latest while
workflow-ci.yml (since v4.19.1) routes private CLDMV repos to self-hosted
cldmv-runners. On private repos the GitHub-hosted Actions budget is
exhausted, so the mirror could not provision a runner and failed the
required check on every PR. Match the reusable's visibility-aware routing
(private→cldmv-runners, public→ubuntu-latest, RUNS_ON_DEFAULT override).

Refs #208
@cldmv-bot cldmv-bot Bot added the ! fix → next v4 flow: fix contributor PR targeting the next integration branch label Aug 8, 2026
@Shinrai
Shinrai requested a lite review from Copilot August 8, 2026 16:54

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

Aligns the example “Required PR Check” mirror job’s runner selection with the org reusable CI workflow so the required check can provision runners correctly in CLDMV-owned private repositories (where GitHub-hosted minutes are metered/exhausted).

Changes:

  • Route the required-check job to cldmv-runners for CLDMV-owned private repos, while keeping ubuntu-latest for public repos.
  • Respect vars.RUNS_ON_DEFAULT as an override, matching the reusable workflow’s routing behavior.
  • Add inline rationale documenting why ubuntu-latest hardcoding breaks required checks for private repos.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Shinrai

Shinrai commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Resolves #208 — closed when this ships to the default branch.

Verified: the diff routes the ✅ Required PR Check mirror job with the same visibility-aware expression workflow-ci.yml uses (RUNS_ON_DEFAULT → private CLDMV cldmv-runners → public ubuntu-latest), which is exactly what #208 calls for. The mirror is pure shell, so it runs fine on cldmv-runners.

Remaining after this merges (tracked on #208): sweep the same one-line runs-on change into onboarded consumers (git-embedded golden reference + the rest), and decide the v4-bootstrap.yml:83 sibling.

@Shinrai
Shinrai merged commit 233e060 into next Aug 8, 2026
17 checks passed
@cldmv-bot
cldmv-bot Bot deleted the fix/required-check-runner-routing branch August 8, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

! fix → next v4 flow: fix contributor PR targeting the next integration branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants