Typed error taxonomy for supervise RPC dispatch #253
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?
Dimension: Resilience (4 → 5)
The catch-all at
supervise_server.py:519(except Exception) collapses every RPC dispatch error into one log-and-continue branch, so client (bad-request-equivalent) and server (internal-fault-equivalent) failures are indistinguishable.Proposed: introduce typed RPC error classes so the dispatcher can separate client faults from server faults and respond/log accordingly, rather than swallowing all of them uniformly.
Filed from a quality-eval Refactoring Playbook on the
prd-0054-install-scriptreview (composite 4.6/5). Medium priority: lift a dimension from 3 → 4/5; not a correctness defect.