You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pm-stack/invariant-sweeper.py:186-199 runs gh api through gh_graphql and gh_run with no subprocess timeout; line 364 does the same for docker exec ... psql in kaneo_links(). These helpers are called from the live main() path and the pm-invariant-sweeper.timer runs the script daily with --act --post-epic (pm-stack/systemd/pm-invariant-sweeper.service and .timer). Because this is a Type=oneshot unit with no TimeoutStartSec, systemd disables its default start timeout; a stuck GitHub CLI or Docker/psql process can wedge the run indefinitely.
Suggested fix
Give the subprocess helpers explicit timeouts, convert TimeoutExpired to a clear report/failure, and consider a systemd TimeoutStartSec as a final outer bound. Test each helper with a timed-out fake process.
Not enqueued in this pass: the dispatch explicitly prohibits creating/dispatching further tasks for findings.
Queue disposition: deliberately not enqueued because this dispatched suggestions pass explicitly prohibits creating or dispatching further tasks. The finding and proposed direction are captured above.
Activity
developing-today commentedon Nov 17, 2026
CODE-4124
dezren39 commentedon Nov 17, 2026
Queue disposition: deliberately not enqueued because this dispatched suggestions pass explicitly prohibits creating or dispatching further tasks. The finding and proposed direction are captured above.