Block a user
fix: green baseline, and let the template test itself
mathias
pushed to fix/green-baseline-and-self-test at mathias/template-go-web
2026-09-17 16:05:24 +00:00
mathias
created branch fix/green-baseline-and-self-test in mathias/template-go-web
2026-09-17 16:05:24 +00:00
Template ships a non-green baseline: missing go.sum + two errcheck lint bugs
Fixed in 2b3851a (v0.1.0), verified 2026-09-17 — same commit as #1, which is the same defect seen from a second bootstrap. Full write-up is on #1; this records what is specific to this…
Scaffold ships lint-dirty: fresh repos fail
task check on errcheck (deferred shutdown + resp.Body.Close)
Fixed in 2b3851a (v0.1.0), verified 2026-09-17.
Your acceptance criterion was the right one — "verify by generating a throwaway repo and confirming run #1 is green" — and it is now…
Template ships a non-green baseline: missing go.sum + two errcheck lint bugs
Scaffold ships lint-dirty: fresh repos fail
task check on errcheck (deferred shutdown + resp.Body.Close)
cd.yml template guard is defeated by placeholder substitution: every new repo skips check/build/deploy while green
Fixed in b9bbbae (PR #11, v0.2.0), verified 2026-09-17. Auto-closed by the merge; evidence here.
Same root cause as #9 and fixed by the same commit — an explicitly tied pair rather than…
CRITICAL: CD guard self-defeats — every child repo skips all CI (fake green)
Fixed in b9bbbae (PR #11, v0.2.0), verified 2026-09-17. Auto-closed by the merge, so recording the evidence here.
Your proposed fix — grep a pattern the scaffolder cannot rewrite — is…
fix(ci): make the template guard survive its own substitution
cd.yml template guard is defeated by placeholder substitution: every new repo skips check/build/deploy while green
CRITICAL: CD guard self-defeats — every child repo skips all CI (fake green)
The template cannot test itself — the guard skips check as well as build/deploy
fix(ci): make the template guard survive its own substitution
mathias
pushed to fix/guard-survives-substitution at mathias/template-go-web
2026-09-17 14:29:30 +00:00
mathias
created branch fix/guard-survives-substitution in mathias/template-go-web
2026-09-17 14:29:30 +00:00