molecule-core/tools
Molecule AI Core-DevOps 0f63b7177a fix(sre): add explicit 15s timeout to gate-check-v3 HTTP calls (closes #603)
Adds DEFAULT_TIMEOUT=15 to gate_check.py and passes it to all urlopen()
calls (api_get, comment POST, comment PATCH).

Adds socket.setdefaulttimeout(15) to the inline Python in the workflow's
cron step, catching the PR-polling loop too.

Defence-in-depth: the real fix is provisioning SOP_TIER_CHECK_TOKEN
in Gitea; this caps worst-case wall-clock at ~15 s per call when the
token is missing or Gitea is unreachable.

Fixes issue #603. Note: PR #603 (da1487ad) has the same changes but
is missing `import socket` in the inline Python — that version would
NameError at runtime. This branch carries the complete fix.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 23:36:21 +00:00
..
branch-protection ci(branch-protection): check-name parity gate (#144) 2026-05-07 14:42:50 -07:00
gate-check-v3 fix(sre): add explicit 15s timeout to gate-check-v3 HTTP calls (closes #603) 2026-05-11 23:36:21 +00:00
check-template-parity.sh fix(scripts): migrate ghcr.io→ECR + raw.githubusercontent.com→Gitea (#46) 2026-05-07 00:56:23 -07:00
test-hermes-bridge.sh