ci: migrate 2 of 9 ci jobs to smithy self-hosted runners#32
Open
ci: migrate 2 of 9 ci jobs to smithy self-hosted runners#32
Conversation
light buildifier (ci.yml), docs (docs.yml)
Stays on hosted:
- verify-rules (ci.yml) needs Bazel (not on smithy)
- build (ci.yml) needs Nix + Bazel + Rocq toolchain
- build-macos (ci.yml) smithy is Linux-only
- verify-multiplatform Bazel + macOS matrix
(ci_comprehensive.yml)
- quick-test (quick_test.yml) needs Bazel
- release (release.yml) runs bazel build
- publish (publish.yml) reusable bazel-contrib workflow
This is a Bazel rules repo bridging Rocq (Coq) and Rust. Per the
smithy migration playbook, neither Bazel nor Coq/Rocq are installed
on the smithy fleet, so every job that compiles or queries Bazel
targets stays on ubuntu-latest, and the macOS matrix entry stays on
macos-latest (smithy is Linux-only).
The two migrable jobs are pure Linux non-Bazel checks: buildifier
just curls a static binary and runs it on the tree; docs runs a
README structure check + `npm install -g markdown-link-check` (Node
LTS via nvm is preinstalled on smithy, no sudo needed).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
This is a Bazel rules repo bridging Rocq (Coq) and Rust. Per the
smithy migration playbook,
neither Bazel nor Coq/Rocq are installed on the smithy fleet, so the
migrable surface is small: every job that compiles or queries Bazel
targets stays on
ubuntu-latest, and the macOS matrix entry stayson
macos-latest(smithy is Linux-only). Following the sameper-job approach as pulseengine/spar#201, pulseengine/rivet#262, and
pulseengine/kiln#247.
Coverage
lightbuildifier(ci.yml),docs(docs.yml)Stays on hosted (each commented in-place)
verify-rules(ci.yml)bazel query; Bazel not on smithybuild(ci.yml)build-macos(ci.yml)verify-multiplatform(ci_comprehensive.yml)quick-test(quick_test.yml)bazel queryrelease(release.yml)bazel buildpublish(publish.yml)bazel-contribWorkarounds applied
None. The two migrated jobs are clean drop-ins:
buildifier-linux-amd64binary andruns
--mode=check -r .. No sudo, no apt, no Bazel invocation(the
setup-bazeliskstep is harmless on smithy and is leftin-place to keep the diff minimal).
grepchecks on README plusnpm install -g markdown-link-check. Smithy ships Node LTS vianvm with a writable global prefix, so the global install needs no
sudo.
Test plan
buildifieranddocsjobs land onlightsmithy runnersjournalctl -u smithy-trace-eacces.serviceduring the runverify-rules,build,build-macos,verify-multiplatform,quick-test) continue to pass as beforenpm install -g markdown-link-checkresolves to nvm's prefix (no permission error)Rollback
Revert this commit. Every job's
runs-on:flips back toubuntu-latest/macos-latestand the next run uses GitHub-hostedcompute.
Follow-ups (out of scope here)
Bazel,Coq/Rocq, andNixare tracked as open items in thesmithy playbook's "out of scope" table. When smithy's toolchains
role grows them, the seven hosted jobs above become candidates
for migration in a follow-up PR.