fix(handlers): log ignored descendant query errors in pause/resume #1917
Reference in New Issue
Block a user
Delete Branch "fix/restart-querycontext-errors"
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?
workspace_restart.go Pause and Resume handlers were silently ignoring QueryContext errors when fetching descendant workspaces via recursive CTE. Log the errors without changing behavior (the existing rows != nil guard already prevents panic).
PM 2nd-approve per direct CTO request. Logs QueryContext errors in workspace_restart Pause/Resume descendant CTE without behavior change.
LGTM — focused logging for ignored descendant QueryContext errors in pause/resume; preserves existing rows nil guard behavior with no correctness, security, or performance concerns.