Skip to content

ci: build every tool's main against the library - #16

Open
HaoZeke wants to merge 8 commits into
developfrom
fix/compat-ci
Open

HaoZeke wants to merge 8 commits into
developfrom
fix/compat-ci

Conversation

@HaoZeke

@HaoZeke HaoZeke commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

CI now builds and tests the main of every tool built on the library against each commit, and COMPAT.md lists eb-local 2.0.0 to 2.4.0 as built on 0.8.1.

  • COMPAT.md says the scheduled job builds every tool against main, but the tools job built only eb-keep-logs, from its zig branch, nine commits behind its main with a zig-common 0.1.0 pin.
  • The matrix now holds eb-keep-logs, eb-local, eb-staged-rebuild and eessi-arch-guard at main. The job used to rewrite the tool's build.zig.zon to a path dependency, which fails two of eb-local's SBOM tests; zig build --fork replaces the pinned zig-common with this checkout instead and leaves the file alone. eb-local runs with -Dtest-ops=true and Python 3.12, as its own CI does.
  • The 0.8.1 row of COMPAT.md now names eb-local 2.0.0 to 2.4.0; its Zig port pinned zig-common v0.8.1 from its first commit and has not moved.

The branch has a CHANGELOG Unreleased entry.

COMPAT.md says the scheduled job builds every tool against main, but the
tools job built only eb-keep-logs, from its zig branch, nine commits
behind its main with a zig-common 0.1.0 pin. The matrix now holds
eb-keep-logs, eb-local, eb-staged-rebuild and eessi-arch-guard at main.

The job rewrote the tool's build.zig.zon to a path dependency, which
fails two of eb-local's SBOM tests, which read that file. zig build
--fork replaces the pinned zig-common with this checkout instead and
leaves the file alone. eb-local runs with -Dtest-ops=true and Python
3.12, as its own CI does, since its command-line suite needs the test
artifact.
eb-local's Zig port pinned zig-common v0.8.1 from its first commit
(f5a9a88e) and has not moved, so every Zig release, 2.0.0 to 2.4.0, is
built on it; the 0.8.1 row did not name eb-local.
setup-zig sets ZIG_LOCAL_CACHE_DIR to the workspace root, so tool/.zig-cache
never exists. eb-keep-logs and eessi-arch-guard tests create scratch
directories under ./.zig-cache and failed here while passing in their own
repositories.
Its test_metrics.sh stops with 'promtool is required', as its own CI
installs it. Same release and checksum as there.
@HaoZeke
HaoZeke changed the base branch from main to develop November 21, 2026 05:33
develop names this check from the matrix values repo and ref, and
the ruleset requires tools (stackhands/eb-keep-logs, zig). The
promtool flag is a boolean, so the same slot now renders as true.
Name the job from a label, and keep args on the eb-local leg.
Correct the comment above the tools job `name:`. The old check
name came from GitHub's default matrix-value join of `repo` and
`ref`, not from a `name:` key.

Give the eb-local row `label: -Dtest-ops=true`. Build `name:` from
`matrix.repo` and `matrix.label` only, so the required check names
stay `tools (stackhands/eb-keep-logs, zig)`,
`tools (stackhands/eb-local, -Dtest-ops=true)`,
`tools (stackhands/eb-staged-rebuild)`, and
`tools (stackhands/eessi-arch-guard)`.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant