Files
summercms/.planning/phases/18.1-payment-gateway-subscriptions/deferred-items.md
Jakub Zych 5c2b0e1d8a docs(18.1-06): validated phase 18.1 verification map and deferred items (task 4)
- 18.1-VALIDATION.md: every task of plans 01 to 06 with its command and the
  gate result; status validated, nyquist_compliant and wave_0_complete true
- deferred-items.md: reorder.flat and the pnpm store watch resolved; the
  layer's check-git-install.sh stays open (no gate or release step runs it)
2026-10-14 21:05:47 +02:00

3.7 KiB

Phase 18.1 deferred items

Deferred Items

  • The localized list schema drops reorder.flat status: resolved Resolved by: plan 18.1-06, framework commit 0f09586 (ListSchema.Localize copies Flat); the RED test is TestReorderFlatCompile/the_localized_list_schema_keeps_flat (323b6d6). The cabana README and docs/backend/lists-and-filters.md already described the flag on the list schema, so no doc change was needed. Found during: plan 18.1-04 Task 2 (TestAdminPlansSmoke/flat_reorder). What: modules/cabana/list_schema.go builds the localized ListReorder with the title and the partition only (around line 618), so GET .../schema/list answers "reorder":{"title":...} without "flat":true for a flat reorder page, although the compiled ListReorder.Flat is set and documented as part of the list schema (plan 18.1-01). The reorder page itself is unaffected: the SPA reads flat from GET .../reorder (AdminReorderTree.Flat), which answers it correctly. Fix: copy Flat into the localized ListReorder and add the assertion to reorder_flat_test.go's HTTP path; a framework change for plan 18.1-06 or a quick task (out of scope for the plugin repository plan 04 commits to).
  • The layer's scripts/check-git-install.sh targets vue-journal-layer status: open Plan 18.1-06: left open. Neither the phase gate (scripts/check-phase18.1.sh) nor the plan's release task runs it, so the release does not depend on it. It is listed on the final push sheet: after a v0.2.0 tag, an install check of the tag needs this script fixed first (a quick task against the layer). Found during: plan 18.1-05 Task 3 (release sheet). What: ../vue-paymentgateway-layer/scripts/check-git-install.sh, shipped since v0.1.0 and run by pnpm run check:git-install <tag>, was copied from the journal layer. REPO_URL, the scratch app's dependency name, extends and the messages (12 "journal" references) point at vue-journal-layer, and it expects testing/expect-acme.txt, which the payment gateway layer does not have. Running pnpm run check:git-install v0.2.0 would check the wrong repository. Fix: for plan 18.1-06, point the script at git.golem15.com/golem15/vue-paymentgateway-layer.git and the package name vue-paymentgateway-layer, and replace the journal fixture check with a payment gateway build check. Run it after the v0.2.0 tag exists.
  • Watch: pnpm store-dir mismatch in vue-paymentgateway-layer status: resolved Resolved by: plan 18.1-06. scripts/check-phase18.1.sh layers (and --all) ran the layer suite green from a clean shell with the lockfile unchanged. The gate never installs: if pnpm aborts with ERR_PNPM_ABORTED_REMOVE_MODULES_DIR_NO_TTY, the layer stage fails and prints the offline, frozen-lockfile recovery command. Found during: plan 18.1-05 Task 2 verify. What: the layer's node_modules was installed against the store /media/nvme/dev/golem15/summercms.io/summercms/.pnpm-store/v11, but pnpm 11.3.0 now resolves /media/nvme/.pnpm-store/v11. After any package.json change, pnpm test runs pnpm install first and aborts without a TTY (ERR_PNPM_ABORTED_REMOVE_MODULES_DIR_NO_TTY). Plan 05 fixed the local state with pnpm install --frozen-lockfile --offline --store-dir /media/nvme/dev/golem15/summercms.io/summercms/.pnpm-store, which left the lockfile unchanged and added no package. Fix: plan 18.1-06's scripts/check-phase18.1.sh (and any other checkout) may hit the same thing. Either pin store-dir in the layer's pnpm-workspace.yaml, or run the frozen offline install before the layer stage. Close this item once the check script runs the layer suite green from a clean shell.