ci: fix coin-matrix guard path#47
Merged
Merged
Conversation
The source-presence guard checked src/c2pool/main_<coin>.cpp, but the on-disk directory contract is src/impl/<coin>/main_<coin>.cpp (confirmed against src/impl/dash/main_dash.cpp). The old path matched nothing, so the guard silently skipped all four coins — PR #45's matrix went green because every job no-op'd, not because anything built. Point the guard at src/impl/<coin>/main_<coin>.cpp so each coin's job activates when its split actually lands.
4 tasks
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.
What
One-line fix to the source-presence guard in
.github/workflows/coin-matrix.yml.The guard checked for
src/c2pool/main_<coin>.cpp, but the actual on-diskdirectory contract is
src/impl/<coin>/main_<coin>.cpp(confirmed againstsrc/impl/dash/main_dash.cppin the dash session). The wrong path matchednothing on every branch, so the guard set
exists=0for all four coins andsilently skipped every build/smoke step.
Why it matters
PR #45's coin-matrix went green by accident: every job no-op'd through
the guard rather than actually building anything. The matrix was providing
zero real coverage. With the corrected path, each coin's job activates the
moment its
src/impl/<coin>/main_<coin>.cppsplit lands, which is the wholepoint of the forward-compatible guard.
No build behavior changes on master today (the splits haven't landed yet),
so this stays green until a coin's source is actually present — at which
point it will start building for real.
Scope