5.5 KiB
5.5 KiB
Phase 19.8 deferred items
Out-of-scope findings recorded during execution. Not fixed in this phase.
Found during 19.8-01
- Flaky wristband test.
TestOIDCSubjectIsRandomSmoke(modules/wristband/oidc_security_test.go:151) rejects a subject that containsada(to catch the fixture user's name), but a random UUIDv4 containsadain about 0.7% of runs. It failed once during the 19.8-01 short suite (sub = "64a89757-94a7-4699-bf28-4329d8c7eada") and passed on three reruns. Fix: compare against the fixture's name as a whole, or check that the subject differs from it, instead of matching a substring of hex. - Pre-existing gofmt drift.
gofmt -llistsinternal/build/registry.go,modules/cabana/account_tokens.go(no newline at end of file) and some test files (modules/cabana/*_test.go,modules/compass/*_test.go,modules/tide/*_test.go). Unchanged by this plan beyond the logger lines. - examples/hello go.mod is stale outside the workspace.
GOWORK=off go -C examples/hello build .asks forgo mod tidy: its go.mod lacks requirements the framework already had before this phase (aws-sdk, bluemonday, redis, among others). Inside the repository's go.work every build and test passes, so the example modules' go.mod and go.sum were left as they were.
Found during 19.8-03 (segment B, plugin sweep)
Each failure below also fails at the plugin's commit before the sweep, with framework master and with framework v0.3.1 (checked in scratch worktrees), so it is not caused by the sweep or by v0.4.0. Not fixed here.
- sm-sitemap-plugin
TestSitemapAdminSmoke(sitemap_smoke_test.go:607): expects the phrase keygolem15.sitemap::lang.item.reference_requiredin a 422 body, gets the translated text "The item reference is required.". - sm-faq-plugin
TestFaqAdminSmoke,TestFaqAdminPurgesSiteCache(site_cache_admin_test.go:208): a create without a locale returns "Choose a language." where the test expects the phrase key. - sm-menu-plugin
TestMenuAdminSmoke,TestMenuAdminPurgesSiteCache(site_cache_admin_test.go:228): a create returns 422 "Choose a menu or a parent entry." where the test expects success or the phrase key. - sm-user-plugin
updatesmigration tests (TestExtendUsersMigration,TestCreateUserThrottleMigration,TestCreateJwtBlacklistMigration,user_session_test.go): "survived rollback", a varying subset per run; also at v0.1.5 with framework v0.3.1. - Plugin boot logs on
list. Application binaries print INFO boot records (for examplepaymentgateway: operators registered) beforelistandhelpoutput. Already captured by another session as a todo (summercms.goc1f5ded, "Quiet plugin boot logs on console commands like --help"). - sm-demo-app roadmap snapshot vs local master.
scripts/sync-roadmap.sh --checkfails against local framework master while other sessions' 19.6 and 19.6.1 planning commits are unpushed; it passes withROADMAP_REF=origin/master. Re-sync after those commits are pushed.
Found during 19.8-04 (unit tests)
Recorded, not fixed here: none of them is a defect in released behaviour.
- gofmt drift from plan 03.
gofmt -llistscmd/summer/main.go,cmd/summer/runtime.go,cmd/summer/runtime_test.go(map key alignment) andmodules/flare/commands.go; each already differs at the plan 03 release. The tests added here are formatted. - Dotted component names in YAML. The diary README and
docs/services/logging.mdsay component names cannot contain dots. compass keeps a dotted YAML key literal (components: {golem15.blog: debug}parses as componentgolem15.blogand works fordiary.For("golem15.blog")); only the nested form, whichSUMMER_LOG__variables produce, is refused.TestConfigRulespins both. Either reject the literal form or reword the docs ("use names without dots so environment overrides can reach them"). Version.Headercollapses equal versions. An application built asdevelagainst adevelframework printsSummerCMS acme develwithout(framework devel), the same rule that givesSummerCMS summer v0.4.0. Go stamps VCS pseudo-versions on applications, so it shows only with-buildvcs=false. Pinned byTestVersionHeader.- Error blocks scrub credential shapes only.
RenderErrorpasses text throughsunscreen.Scrub(Bearer tokens,sk-keys,x-api-key:); apassword=...written into an error message is printed as is. The plan'sTestErrorScrubbedwording ("a password attribute in the message") is covered for the shapes Scrub knows; extending Scrub is a sunscreen change for every log line and needs its own decision. - Live views on a non-terminal writer draw no frames.
runLivetakes the window size from the terminal; with a buffer the renderer draws nothing but the PrintAbove lines. The widget matrix therefore proves the live path ran (cursor hidden, no fallback lines) andTestLiveModelsrenders the frames with a fixed size; a pty run of spinner, progress and process view printed every final frame (✓ fast spinner,4/4,✓ a,✗ b bad row,Importing 2/2 … 100%). - Landing end-to-end check.
TestTerminalCommands(sm-summercmsio-app) runs the deployed one-liner and needs network, Docker and ports 54320 and 8080; the gate runs it only withSUMMERCMS_TERMINAL_CHECK=1and prints NOT RUN otherwise. - Stray binary in sm-grzybyfunkcjonalne-app. An untracked
sm-grzybyfunkcjonalne-appexecutable sits in that application's root (present before this plan; ago buildwithout-o). Not this plan's; left alone.