Wave 3: remove dead code and simplify error handling #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor/wave-3-cleanup"
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?
Cleanup after the code review. No user-facing behaviour changes except the
two status codes noted below.
What changes
Images are still built only from main.
seed and the inactive AllIoSlotsResolved rule. They were replaced by free
configuration parameters (ADR-021) and nothing has used them since. History
of older contracts still shows "IO pozice".
every team member may do everything (ADR-011). Drops the FlowActorRules table.
An unknown required-field rule type now blocks instead of silently passing.
reviewed in a PR; state/operation ids and codes are never deleted or
renumbered (set IsActive=false instead); contracts that would be stranded must
be migrated and covered by a test. ADR-004 and contract-flow.md updated.
concrete classes. Interfaces that tests substitute or that mark a real
boundary stay (portal clients, IFileStorage, ILoginAttemptGuard,
INotificationChannel, IOutboxProcessor).
DomainValidation / PortalUnavailable exceptions are mapped only in
GlobalExceptionHandler; 16 duplicated try/catch blocks in controllers removed.
portal list clients; stale comments fixed.
Behaviour changes
Deployment
Two migrations drop tables (DropIoSlotTables, DropFlowActorRules).
Take a manual backup (POST /api/v1/admin/backup) before updating the stack.
Testing