feat(go): M6.7 — single-binary embed verification #34
Reference in New Issue
Block a user
Delete Branch "feat/go-m6-7-embed-verify"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
TestEmbedCompletenessingo/internal/web/assets_test.go: walks on-disktemplates/andstatic/and asserts every file is present in the correspondingembed.FS— catches a file added to disk but missing from the embed glob.TestStaticAssetsServed: fires httptest requests through the samehttp.FileServerFSmux wiring asserver.go, asserts 200 + correctContent-Typeforapp.cssand all three JS modules, plus a 404 sanity check for an unknown path./tmp(no adjacenttemplates/orstatic/), all pages and static assets served correctly.Test plan
make go-testgreenmake go-lintcleanassets_test.go— two tests, no production code changes🤖 Generated with Claude Code
Pull request closed