ci: run workflows on fedora-tiny with Bazel remote execution #144

Merged
prskr merged 11 commits from paperclip/ICB-47-fedora-tiny-rbe into main 2026-10-07 16:42:35 +00:00
Contributor

Refs ICB-47 (same change as prskr/tools #137/#138).

What

  • All workflows on fedora-tiny; tests/builds/pusher use --config=remote (nativelink RBE, arm64). Added build:remote block to .bazelrc and //platforms:linux_arm64_rbe; removed local --remote_cache and runner DOCKER_HOST.
  • build:remote --@protobuf//bazel/flags:allow_nonstandard_protoc: the protobuf protoc check is a run_shell action with no PATH, so on the RBE worker it fails with grep/cat: command not found. Local builds still run the check.
  • New validate.yaml (PR + main): bazel run //tools/format:format.check (check only), then bazel test --config=remote //.... The repo had no validate workflow; go.yaml ran tests on PR/main before, so it is now tag-only (release).
  • Release push: --platforms=//:linux_amd64 --remote_download_toplevel, tool_cfg = "target" on image_push (runner is amd64). kustomize in release uses the runner's kustomize instead of bazel run (avoids arm64 binary).
  • Tagged manual so //... analysis works with one arm64 execution platform: //:go, //:format, //tools:bazel_env, //tools/format:format, //dev:generate_crd_code, //dev:update_snapshots, //dev:dev, //dev:dev-manifest, //dev:apply-dev-manifest, //dev:apply_kustomization. bazel run <target> still works when named directly.
  • yamlfmt on apm.lock.yaml and config/dev/kustomization.yaml (indent only), so the format check passes.

Verification

  • bazel build --config=remote --nobuild //... passes locally.
  • Temporary dry-run workflow (run 846, a0c7b61, removed in 70123fd): 12/12 tests pass on RBE, images and the amd64 pusher //:push build, and every pusher ELF binary is x86-64 (e_machine=0x3e).
  • validate (run 847 on a0c7b61, run 848 on 70123fd): format check and 12/12 tests green.

Not verified / risks

  • Real image push, release creation, manifest build on tag, git cliff on fedora-tiny.
  • RBE stability: earlier runs failed with nativelink connection errors (reset reason: overflow on GoLink, handshake timeout). They did not repeat in the last 3 runs.
  • Blast radius: CI only; revert with git revert.

🤖 Generated with Claude Code

Refs ICB-47 (same change as prskr/tools #137/#138). ## What - All workflows on `fedora-tiny`; tests/builds/pusher use `--config=remote` (nativelink RBE, arm64). Added `build:remote` block to `.bazelrc` and `//platforms:linux_arm64_rbe`; removed local `--remote_cache` and runner `DOCKER_HOST`. - `build:remote --@protobuf//bazel/flags:allow_nonstandard_protoc`: the protobuf protoc check is a `run_shell` action with no `PATH`, so on the RBE worker it fails with `grep`/`cat: command not found`. Local builds still run the check. - New `validate.yaml` (PR + main): `bazel run //tools/format:format.check` (check only), then `bazel test --config=remote //...`. The repo had no `validate` workflow; `go.yaml` ran tests on PR/main before, so it is now tag-only (release). - Release push: `--platforms=//:linux_amd64 --remote_download_toplevel`, `tool_cfg = "target"` on `image_push` (runner is amd64). kustomize in release uses the runner's `kustomize` instead of `bazel run` (avoids arm64 binary). - Tagged `manual` so `//...` analysis works with one arm64 execution platform: `//:go`, `//:format`, `//tools:bazel_env`, `//tools/format:format`, `//dev:generate_crd_code`, `//dev:update_snapshots`, `//dev:dev`, `//dev:dev-manifest`, `//dev:apply-dev-manifest`, `//dev:apply_kustomization`. `bazel run <target>` still works when named directly. - yamlfmt on `apm.lock.yaml` and `config/dev/kustomization.yaml` (indent only), so the format check passes. ## Verification - `bazel build --config=remote --nobuild //...` passes locally. - Temporary dry-run workflow (run 846, a0c7b61, removed in 70123fd): 12/12 tests pass on RBE, images and the amd64 pusher `//:push` build, and every pusher ELF binary is x86-64 (`e_machine=0x3e`). - `validate` (run 847 on a0c7b61, run 848 on 70123fd): format check and 12/12 tests green. ## Not verified / risks - Real image push, release creation, manifest build on tag, `git cliff` on fedora-tiny. - RBE stability: earlier runs failed with nativelink connection errors (`reset reason: overflow` on GoLink, handshake timeout). They did not repeat in the last 3 runs. - Blast radius: CI only; revert with `git revert`. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ci: run workflows on fedora-tiny with Bazel remote execution
Some checks failed
Validate / validate (pull_request) Failing after 23s
Dry run (temporary) / dry-run (push) Failing after 1m3s
b3ada19532
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
style: format YAML with yamlfmt
Some checks failed
Validate / validate (pull_request) Failing after 32s
Dry run (temporary) / dry-run (push) Failing after 39s
29d504b0a7
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
build(dev): tag host-Go dev tools manual for RBE analysis
Some checks failed
Validate / validate (pull_request) Failing after 16s
Dry run (temporary) / dry-run (push) Failing after 35s
7678c670ef
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
fix(dev): tag //dev:dev manual so //... analyses on RBE
Some checks failed
Dry run (temporary) / dry-run (push) Failing after 55s
Validate / validate (pull_request) Failing after 1m9s
c5ca06944c
multirun needs a C++ toolchain for its launcher, which the RBE
execution platform does not have.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
build(remote): allow nonstandard protoc on RBE
Some checks failed
Validate / validate (pull_request) Failing after 20m3s
Dry run (temporary) / dry-run (push) Failing after 20m3s
a486083173
The protobuf authenticity check runs without PATH on the RBE worker and fails with grep/cat not found.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
ci: re-trigger validate and dry-run (RBE upstream reset in runs 838/839)
Some checks failed
Dry run (temporary) / dry-run (push) Failing after 12m58s
Validate / validate (pull_request) Failing after 17m58s
c246e831c8
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ci: re-trigger validate and dry-run (RBE handshake timeout in runs 840/841)
Some checks failed
Validate / validate (pull_request) Failing after 2m20s
Dry run (temporary) / dry-run (push) Failing after 3m8s
f932c6577f
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
build(dev): tag local dev-manifest chain manual for RBE
Some checks failed
Validate / validate (pull_request) Successful in 5m59s
Dry run (temporary) / dry-run (push) Failing after 10m50s
c0fe50c026
//dev:dev-manifest is a local genrule. It runs on the amd64 runner, but
kustomize is built for the arm64 RBE execution platform (exec format
error). Tag it and its dependents manual so //... skips them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ci(dry-run): check pusher arch without file(1)
All checks were successful
Validate / validate (pull_request) Successful in 1m22s
Dry run (temporary) / dry-run (push) Successful in 1m40s
a0c7b617a6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ci: remove temporary dry-run workflow
All checks were successful
Validate / validate (pull_request) Successful in 1m19s
70123fde0f
Dry run 846 on a0c7b61 passed: 12/12 tests on RBE, images and the
amd64 pusher build, pusher binaries are x86-64.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner

I guess it makes sense to add/update .gitattributes like this:

# Ignore agent and IDE configurations from formatting
/.agents/** rules-lint-ignored
/.claude/** rules-lint-ignored
/.codegraph/** rules-lint-ignored
/.pi/** rules-lint-ignored
/.mcp.json rules-lint-ignored

# Ignore generated lock files from formatting
*.lock rules-lint-ignored
*.lock.yaml rules-lint-ignored
*.lock.json rules-lint-ignored
pnpm-lock.yaml rules-lint-ignored
apm.lock.yaml rules-lint-ignored
MODULE.bazel.lock rules-lint-ignored

to avoid formatting generated files

I guess it makes sense to add/update .gitattributes like this: ``` # Ignore agent and IDE configurations from formatting /.agents/** rules-lint-ignored /.claude/** rules-lint-ignored /.codegraph/** rules-lint-ignored /.pi/** rules-lint-ignored /.mcp.json rules-lint-ignored # Ignore generated lock files from formatting *.lock rules-lint-ignored *.lock.yaml rules-lint-ignored *.lock.json rules-lint-ignored pnpm-lock.yaml rules-lint-ignored apm.lock.yaml rules-lint-ignored MODULE.bazel.lock rules-lint-ignored ``` to avoid formatting generated files
ci: exclude generated and agent files from format check
All checks were successful
Validate / validate (pull_request) Successful in 1m19s
ded70a9318
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
prskr merged commit 5d40258b01 into main 2026-10-07 16:42:35 +00:00
prskr deleted branch paperclip/ICB-47-fedora-tiny-rbe 2026-10-07 16:42:35 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
prskr/meilisearch-operator!144
No description provided.