Repository navigation
fix(ci): keep the benchmark cross-build matrix from evaluating to empty (reld#59) - #173
Merged
Merged
Conversation
…ty (reld#59) #168 gave `cross-build-benchmark-driver` a conditional matrix whose Linux-only branch is `[]`. That is the default `platforms: linux` dispatch and every `perf/linux/**` push, i.e. the common path, and a matrix with no vectors is not a reliably skipped job. The decision belongs in `if:`, so the job is skipped outright for a Linux-only run and every branch that does run selects a non-empty target list. `ci.windows_ci build-benchmark-driver` goes with it: its only caller was the native compile step #168 removed, so it was left behind building a driver nothing asks for. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This was referenced Sep 18, 2026
Closed
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.
Follow-up to #172 (leg 2 of #59), found while validating the three merged legs locally.
The matrix could be empty on the common path
#168 gave
cross-build-benchmark-drivera conditional matrix whose Linux-only branch evaluates to[]. That branch is the defaultplatforms: linuxdispatch and everyperf/linux/**push — the path this workflow takes most often — and a matrix with no vectors is not a reliably skipped job.The decision belongs in
if:. The job is now skipped outright for a Linux-only run, and every branch that does run selects a non-empty target list. The downstreambenchmarkjob already tolerates a skipped dependency viaif: ${{ !cancelled() }}.One orphan removed
ci.windows_ci build-benchmark-driver's only caller was the native compile step #168 deleted, so it was left behind building a driver nothing asks for.Local validation of all three merged legs
The cross builds were run here with the exact commands the merged workflows invoke:
x86_64-pc-windows-gnusoldr build --package reld --bin reld --release --locked --target …x86_64-pc-windows-msvc--bin reld-linkaarch64-apple-darwin--bin reld0xfeedfacf), 6.6 MBNative Linux:
cargo fmt --all -- --check,cargo clippy --workspace --all-targets -- -D warnings,cargo build --release -p reldall clean.uv run --no-sync python -m pytest ci/tests -q— 299 passed. All four touched workflows parse.Also checked, since #167 deleted a NOTE that documented real soldr blockers (soldr#2334/#2335): the
version: 0.9.18/linker: platform-default/cache-preset: fullconfiguration it moved to is not invented — it is copied fromcross-ship.yml, which has run green onmainincluding its windows-gnu leg (35276124820), and it builds here locally.🤖 Generated with Claude Code