You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(mutation): record the templ pre-build as intentional drift
check-template-drift blocks on any deviation from templates/go-app. ci.yml,
release.yml, codeql.yml and container.yml already carry a templ entry;
mutation.yml is the one workflow that never got it, which is why gremlins was
building three packages short.
Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
Copy file name to clipboardExpand all lines: .github/template.yaml
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -63,5 +63,17 @@ intentional-drift:
63
63
pass. Other go-app consumers without templ-style codegen don't
64
64
need this, hence intentional-drift rather than a template
65
65
change."
66
+
- path: .github/workflows/mutation.yml
67
+
reason: "Same templ-extraction problem as ci.yml, release.yml, codeql.yml and
68
+
container.yml — and the one workflow that never got the treatment. gremlins
69
+
compiles the packages it mutates, so without `templ generate` it cannot
70
+
build internal/web/templates, internal/web or cmd/ldap-manager. It reports
71
+
them as `[build failed]`, drops them from the run, and publishes a score
72
+
computed over the rest while the job stays green: the mutation score never
73
+
covered the handler, auth and routing layer. Passes `pre-build-cmd`
74
+
(introduced in netresearch/.github#314, which also makes `[build failed]`
75
+
fail the job) with the same go.mod-pinned templ CLI invocation ci.yml uses.
76
+
Other go-app consumers without templ-style codegen don't need this, hence
77
+
intentional-drift rather than a template change."
66
78
- path: .github/dependabot.yml
67
79
reason: "Opt-in devcontainers ecosystem. The trimmed go-app template (netresearch/.github#166) declares only gomod/github-actions/docker; this repo has a .devcontainer so it self-manages dependabot.yml to keep devcontainers updates. Core blocks are kept in step with the template manually."
0 commit comments