You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switches Linux CI jobs on main (non-pull_request runs) to use the self-hosted artcraft-k8s-trusted ARC runner scale set, while keeping pull requests on GitHub-hosted ubuntu-24.04 / ubuntu-latest runners.
Why we're doing this
Faster builds with shared cluster & node caches:artcraft-k8s-trusted pods run in our K3s cluster with node-local SSD/page-cache mounts (/cache for CARGO_HOME, npm, pnpm, uv, pip, go) and authenticated write access to the shared cluster-wide sccache WebDAV cache (arc-cache:8080) and BuildKit layer registry (arc-registry:5001).
Trusted-only cache writes:artcraft-k8s-trusted is in the artcraft-trusted GitHub runner group, which is locked down via selected_workflows to default-branch (@refs/heads/main) workflows only, so untrusted PRs cannot target artcraft-k8s-trusted or poison the shared caches.
What changed
Updated Linux runs-on and gate.ymlos inputs to evaluate:
Pull requests / other branches -> ubuntu-24.04 / ubuntu-latest (unchanged)
Summary by CodeRabbit
Chores
Updated the automated checks used for changes to the main branch. Their execution environment now differs from the one used for pull requests and other cases. These changes affect the project’s internal verification process; no user-facing product changes are included.
Reviewing files that changed from the base of the PR and between cd765f9 and dbefc9a.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
The CI workflow selects artcraft-k8s-main for non-pull-request runs on main. Other runs continue to use ubuntu-24.04. Both OS matrices include windows-latest.
This change moves Linux CI on main pushes to a self-hosted runner and leaves pull requests on GitHub-hosted runners. No concrete defect was found in the workflow edit. Before merging, confirm that the artcraft-k8s-main runner is online and that its runner group admits only trusted default-branch workflows. Those settings are outside the repository.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "ci: use artcraft-k8s-main runner on main" matches the single change in the diff. The CI workflow now selects the artcraft-k8s-main runner when the ref is main and the event is not a pull re…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "ci: use artcraft-k8s-main runner on main" matches the single change in the diff. The CI workflow now selects the artcraft-k8s-main runner when the ref is main and the event is not a pull request. The title names the runner and the branch condition, so a reviewer scanning history can see the primary change. The objectives note the runner was renamed from artcraft-k8s-trusted, which the title does not mention, but that detail is secondary.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Reviewing files that changed from the base of the PR and between 4181b48 and cd765f9.
Files selected for processing: 1
.github/workflows/ci.yml
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Source review of cd765f9. The shared gate consumes the selected runner matrix. The expression keeps PRs on ubuntu-24.04 and Windows on windows-latest. Please update the PR description to name artcraft-k8s-main, which the current diff selects, and identify its runner group and cache setup if that differs from the old label. Runner availability and runtime behavior were outside this source review.
Source review only. I did not build the project, run tests, or check CI.
The reason will be displayed to describe this comment to others. Learn more.
Read the diff: one line in ci.yml that sends the os matrix to the artcraft-k8s-main runner for pushes to main and keeps ubuntu-24.04 for pull requests, with windows-latest unchanged. It is the same expression photocraft's ci.yml already uses, so the label exists and the pull-request path is unaffected. CI is green on this head.
Nit, not blocking: the description says the runner is artcraft-k8s-trusted, but the workflow uses artcraft-k8s-main. Please fix the text so it matches what runs. I did not run anything.
The isolated MaterialCraft runner validation reached and ran the shared Ubuntu gate on artcraft-k8s-main, so this repository can schedule that label for the dispatched proof. The gate did not pass: menu_bar::a_suspended_engine_cooks_nothing_until_it_is_resumed failed at menu_bar.rs:49 because the initial cook had not settled within the test's five-second deadline. The GitHub-hosted PR gate passed the same test; intervening main changes were documentation only. This does not establish whether the runner failure is transient or a sustained responsiveness problem, so the proposed main-runner switch remains unverified. The proof ran by workflow dispatch on an isolated branch; it does not prove a default-branch push or its runner-group permissions.
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Summary
Switches Linux CI jobs on
main(non-pull_requestruns) to use the self-hostedartcraft-k8s-trustedARC runner scale set, while keeping pull requests on GitHub-hostedubuntu-24.04/ubuntu-latestrunners.Why we're doing this
artcraft-k8s-trustedpods run in our K3s cluster with node-local SSD/page-cache mounts (/cacheforCARGO_HOME,npm,pnpm,uv,pip,go) and authenticated write access to the shared cluster-widesccacheWebDAV cache (arc-cache:8080) and BuildKit layer registry (arc-registry:5001).artcraft-k8s-trustedis in theartcraft-trustedGitHub runner group, which is locked down viaselected_workflowsto default-branch (@refs/heads/main) workflows only, so untrusted PRs cannot targetartcraft-k8s-trustedor poison the shared caches.What changed
runs-onandgate.ymlosinputs to evaluate:github.ref == 'refs/heads/main' && github.event_name != 'pull_request'->artcraft-k8s-trustedubuntu-24.04/ubuntu-latest(unchanged)Summary by CodeRabbit