Audit network/subprocess calls for missing timeouts #255
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: SecOps (4 → 5)
Only 7
timeout=sites exist across the gate/egress paths. A hung upstream on a call without a timeout can wedge a sidecar.Proposed: audit every
subprocess.run/ HTTP call in the git-gate and egress paths and add explicit timeouts where missing. In particular verify parity forsubprocess.run(["git", "http-backend"])(git_http_backend.py:107); the git-daemon path already hasGIT_GATE_DAEMON_TIMEOUT_SECS.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.