Repository navigation
Closed
Description
Context
This tracking issue records follow-up work identified during the pre-merge review of PR #217.
Verified follow-ups
- High — remap manual-tax overrides when categories are renamed or removed.
main/routes/tax-packs.tsmigrates override rows to the new local pack version, but the manual-config replacement path only remapsproductsandaddons. Existing product/charge/store-wide overrides can retain removed category IDs and make checkout reject otherwise valid lines. Add a transaction-safe remap/delete policy for every override entity and regression tests. - Medium — make
previewCategoryRatefollow authoritative rule selection.main/services/tax.tscurrently selects preview rules byrule.categoryIds, while checkout uses the category'sruleIds. Align the preview path and add a mismatched/orphan rule test. - High release-supply-chain risk — pin
canonical/setup-lxdto a reviewed commit SHA..github/workflows/release.ymlcurrently references the mutable@mainref in a workflow with write permissions. - Medium — add explicit migration fixtures for parent versions. Add serialized upgrade assertions for an
origin/mainv55 database and this PR's v56 database, in addition to the existing old-release fixture, to guard future migration conflict resolution. - Medium privacy — redact
cloud_deletion_status_tokenfrom database exports. It is persisted and used as a deletion-status bearer-like token but is not currently in the export redaction set. This is pre-existing and should be fixed separately from PR security: harden database restore, authentication, and KDS boundaries #217. - Low compatibility — migrate persisted printer paper values
a4/a5to a supported thermal default after the settings UI removed those options. - Low — add focused coverage for manual tax configuration, loyalty override transitions, support outbox delivery, and visual status/sidebar changes. Existing engine/printer tests pass, but the newest manual-tax endpoint and several UI/release flows lack direct tests.
- Low release hygiene — tighten numeric release-tag validation so malformed numeric tags cannot start a release workflow, and verify tag/package-version equality.
- Medium compatibility — validate legacy tax-pack digest behavior against a real historical serialized artifact, not only synthetic fixtures, to document the byte-level compatibility boundary.
Suggested order
- Fix manual-tax override remapping and add endpoint tests.
- Pin the mutable release action and tighten release-tag validation before the next release.
- Add parent-version migration fixtures and redact the cloud deletion status token.
- Address UI persistence compatibility and broader focused coverage.
Activity
security: harden restore, KDS, auth, and database recovery
khaira777 commentedon Aug 9, 2026
Additional pending item from the merge push:
This was not changed as part of PR #217.
khaira777 commentedon Aug 9, 2026
The post-merge Windows matrix failure is isolated and tracked in follow-up PR #222: #222. Manual full matrix run 31291071323 passed on Windows, Ubuntu, macOS x64, and macOS arm64 with the targeted writable-handle fsync fix.
khaira777 commentedon Aug 9, 2026
Follow-up complete: PR #222 fixed Windows
fsyncSyncportability and PR #223 stabilized the cross-platform maintenance-lock test. Both were squash-merged with their branches deleted. Main is now at5daf0ba5; CI and the post-merge Full Cross-Platform Matrix pass on Windows, Ubuntu, macOS x64, and macOS ARM64.fix(tax): remap every override entity on manual category changes; ali…
chore(release): pin setup-lxd, validate release tags, add migration +…
fix(privacy): redact cloud_deletion_status_token; migrate legacy a4/a…
itsbkm commentedon Aug 9, 2026
All 9 verified follow-ups plus the pending Dependabot alert are resolved on
main, shipped in v2.9.7:tax_overridesfor every entity type (product, addon, packaging, delivery, service_charge) now gets remapped to the pack's new default category, not justproducts/addons. Also fixed validation check Create countries table in backend with API endpoints #20, which was hard-blocking the save before the remap transaction ever ran — the underlying bug this issue describes. New regression test:tests/manual-tax-config.test.ts.previewCategoryRaterule selection: now selects rules viacategory.ruleIds, matching checkout's authoritative logic, instead ofrule.categoryIdsalone. New test intests/tax-engine.test.ts.canonical/setup-lxd@main: pinned to8c6a87b(tagv1).tests/migration-v56-to-v57.test.ts).cloud_deletion_status_tokenexport redaction: added toEXPORT_SETTINGS_REDACT. Covered intests/security-hardening.test.ts.a4/a5: migrated via apos-settingsstore version bump, then removed entirely as dead code in a follow-up (Settings never offered them, and the underlying web-print A4/A5 layouts were reachable only from the internal print-test QA page).tests/manual-tax-config.test.tsandtests/support-ticket.test.ts(the support-ticket outbox endpoint had no test file at all before this).release.ymlnow rejects a tag that isn't strictX.Y.Zor that doesn't matchpackage.json's version, before anything builds.official-india/official-thailandJSON from git history (commita51e828) and confirmed it hashes to the exact digests inLEGACY_TRUSTED_PACK_DIGESTS(tests/legacy-tax-pack-digest.test.ts).Commits: 7e69f76, 1d7c059, d2ca08d, fd9a2c0, 127a229, bc1e164 (v2.9.7).