Code review 2026-12-02 WP5: Central UI DbContext lifetime #156
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→ WP5UseQueryTrackingBehavior(NoTracking). Services that mutate opt in withAsTracking(). Audit each mutating service: write paths that relied on implicit tracking must attach/update explicitly.Fixed on
main(pushed,922021c4). Plan:docs/plans/2026-12-02-full-code-review-remediation.md(see its Outcome section).All 4 tasks done.
Rig: Topology (More actions → Expand → load instances), Deployments and Sites were probed by hand with no console errors. The Playwright suite, with its stale 2026-11-13 selectors fixed (
5acb16ca), now fails only the 11 role-negative tests that always fail on this rig.Commits:
2421a4e4fix(centralui): system-wide users can Retry/Discard rows from a deleted site (UI-11, WP5 task 5.4)7addd846fix(centralui): no timers/subscriptions created after a mid-load dispose (UI-4, WP5 task 5.3)2969ee44fix(centralui): no-tracking default on the circuit DbContext; mutations on their own scope (UI-1, WP5 task 5.1)2e194f4efix(centralui): run long/concurrent page actions in their own DI scope (UI-2, UI-3, UI-8, WP5 task 5.2)Deploying to QA and DEV is tracked in #160. Closing.