Skip to content

ci(coin-matrix): fix BTC entrypoint gate (src/c2pool/main_<coin>.cpp)#66

Merged
frstrtr merged 1 commit into
masterfrom
ci-steward/coin-matrix-btc-entrypoint-gate
Jun 4, 2026
Merged

ci(coin-matrix): fix BTC entrypoint gate (src/c2pool/main_<coin>.cpp)#66
frstrtr merged 1 commit into
masterfrom
ci-steward/coin-matrix-btc-entrypoint-gate

Conversation

@frstrtr

@frstrtr frstrtr commented Jun 4, 2026

Copy link
Copy Markdown
Owner

What

The coin-matrix smoke gate keyed presence on src/impl/<coin>/main_<coin>.cpp, but the per-coin entrypoint actually lives at src/c2pool/main_<coin>.cpp — the convention already documented in the file header comment.

Why it matters

The BTC binary entrypoint is src/c2pool/main_btc.cpp; there is no src/impl/btc/main_btc.cpp. So when btc source lands, the btc matrix job silently skips — a false green. This fix makes the gate match the real entrypoint path while retaining the src/impl/<coin>/ directory check. Generalizes correctly across ltc/doge/dash/btc.

Scope

One-line change to .github/workflows/coin-matrix.yml. Independent of btc-heap-opt's btc-embedded preservation/rebase plan.

Merge gated on operator push-approval.

The presence check keyed on src/impl/<coin>/main_<coin>.cpp, but the
per-coin entrypoint actually lives at src/c2pool/main_<coin>.cpp (the
convention documented in the file header comment). The btc binary
entrypoint is src/c2pool/main_btc.cpp with no src/impl/btc/main_btc.cpp,
so the btc matrix job silently skipped as a false green. Gate now
matches the real entrypoint path while retaining the src/impl/<coin>/
directory presence check.
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