Code review 2026-12-02 WP7: CLI and remaining Lows #158
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 (commit
28b6651a).docs/plans/2026-12-02-full-code-review.mddocs/plans/2026-12-02-full-code-review-remediation.md→ WP7success:false. Export writes to a temp file and renames it, exiting 1 on a size mismatch. Report a clean error message for user and bodyless errors.de-DEtest.debug streamretries a failed re-subscribe.requiredmatching is case-insensitive. Unknown legacy types get a clear error. CSV tolerates trailing commas.ParseEnumignores case.Task.Runwith deadline). Persist a refreshed role ticket on passive requests.Fixed on
main(pushed,922021c4). Plan:docs/plans/2026-12-02-full-code-review-remediation.md(see its Outcome section).All 6 tasks done.
success:false.Still to check live on QA:
certs trust/removeexit codes against a real site pair.debug streamre-subscribe after a central failover.audit export --timeout-secondsrun.Commits:
6dd6c50efix(security): remember an unchanged passive-request role refresh per session instead of re-issuing the cookie (SEC-1, WP7 task 7.6)0a62f33afix(inbound): bound the sync prefix of inbound scripts by the method timeout (INB-1, WP7 task 7.6)76c50a29fix(commons): flow fold ranks lifecycle before time, schema required/legacy-type checks, CSV trailing comma, case-insensitive audit enum parse (CMN-6,7,8,9,12, WP7 task 7.5)517f093cfix(deployment): take the operation lock before validating the state transition (DEP-2, WP7 task 7.4)47a7c0ddfix(cli): exit 1 on success:false, atomic bundle export, invariant parsing, export timeout, re-subscribe retry (CLI-1,3,4,5,6,7, WP7 tasks 7.1-7.3)18311eb3test(deployment): race-delete test asserts LogAndSaveAsync (merge fix)Deploying to QA and DEV is tracked in #160. Closing.