From b10468d4e3b6991763e71441c3347406e4cdc8d3 Mon Sep 17 00:00:00 2001 From: ZDDC Date: Sat, 9 May 2026 20:13:21 -0500 Subject: [PATCH] fix(build): drop dead form.html reference in embedded-commit step MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The build's embedded-commit step (beta + stable cuts) tried to 'git add zddc/internal/handler/form.html' alongside tables.html, but that path doesn't exist — form.html was never an //go:embed target. Form-mode renders through the unified tables.html bundle via the zddcMode dispatcher; there's no standalone embedded form HTML on the server side. The line was a leftover from before form and tables were unified. A beta cut against current main hits 'fatal: pathspec ... did not match any files' and aborts before the embedded changes are committed, leaving them dangling in the working tree. Co-Authored-By: Claude Opus 4.7 (1M context) --- build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build b/build index d7cafa1..019f0c4 100755 --- a/build +++ b/build @@ -978,10 +978,10 @@ if [ "$RELEASE_CHANNEL" = "stable" ] || [ "$RELEASE_CHANNEL" = "beta" ]; then # Stage the artifacts that are part of the release. dist/ is # gitignored everywhere — none of the tools' dist/.html files # are tracked. The release commit only carries the bake-in artifacts - # that the binary needs at //go:embed time + the embedded form + - # tables templates. + # that the binary needs at //go:embed time + the unified form/tables + # template (form-mode is hosted by tables.html via the zddcMode + # dispatcher; there is no separate form.html //go:embed target). git -C "$SCRIPT_DIR" add "$EMBED_DIR/" \ - "$SCRIPT_DIR/zddc/internal/handler/form.html" \ "$SCRIPT_DIR/zddc/internal/handler/tables.html" if ! git -C "$SCRIPT_DIR" diff --cached --quiet; then