Code review 2026-12-02 WP2: Config and transport data integrity #153
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
From the 2026-12-02 full code review (commits
28b6651a,f7e4f5b4: decisions accepted 2026-12-03).docs/plans/2026-12-02-full-code-review.mddocs/plans/2026-12-02-full-code-review-remediation.md→ WP2.Include(Recipients)toGetListByNameAsync. Decided: fix the repository method, so every caller gets the recipients; don't just switch the importer to the bulk lookup.scriptCanonicalById.if (cmd.X is not null). Fetch-and-merge in the CLI was rejected: the fetch returns scrubbed secrets, so merging would write the placeholders back, and it races concurrent edits.PerSiteStatustonvarchar(max).Fixed on
main(pushed,922021c4). Plan:docs/plans/2026-12-02-full-code-review-remediation.md(see its Outcome section).All 9 tasks done.
Behaviour changes:
site,data-connectionandapi-methodupdate are preserve-if-null; an empty string clears a field.Follow-up: bundle
schemaVersionbumped 1.2 → 1.3 forAreaPath(3f98d40f).Migration:
WidenSystemArtifactPerSiteStatus, with a SQL script.Rig:
site update --id N --name Xkeeps both gRPC and both Akka addresses.Commits:
937fec1cfeat(config-db): migration WidenSystemArtifactPerSiteStatus (DEP-3, WP2 task 2.9)7eabb822fix(config-db): unbound SystemArtifactDeploymentRecord.PerSiteStatus (DEP-3, WP2 task 2.9)baecf10ffix(transport): import diff compares secrets and bindings; preview honours the name map; CI lookups; area paths; no Rename where unsupported (TRN-2, TRN-3, TRN-6, TRN-7, TRN-8, TRN-9, WP2 tasks 2.4+2.5)cbdd9fc4fix(transport): template Overwrite clears compositions and cascades removed slots' derived templates (TRN-4, TRN-5, WP2 task 2.6)fe60c4a1fix(template-engine): resolve alarm on-trigger scripts by name per composition chain (TPL-1, TPL-2, TPL-5, WP2 tasks 2.2+2.3)61c6278bfix(cli): site/data-connection/api-method update are preserve-if-null partial updates (CLI-2, WP2 task 2.8)c207809efix(transport): range-check the manifest KDF iteration count before deriving the key (TRN-10, WP2 task 2.7)f42c17d2fix(transport): notification-list Overwrite replaces recipients instead of appending (TRN-1, WP2 task 2.1)Deploying to QA and DEV is tracked in #160. Closing.