fix(ci): gate-check-v3 crashes on HTTPError during comment posting #548

Closed
core-devops wants to merge 1 commits from fix/gate-check-v3-http-error-crash into main

1 Commits

Author SHA1 Message Date
core-devops f0f9d44fde fix(ci): catch urllib.error.HTTPError in gate-check-v3 comment posting
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 18s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 16s
gate-check-v3 / gate-check (pull_request) Failing after 21s
qa-review / approved (pull_request) Failing after 15s
security-review / approved (pull_request) Failing after 19s
sop-tier-check / tier-check (pull_request) Successful in 18s
CI / Detect changes (pull_request) Successful in 1m11s
E2E API Smoke Test / detect-changes (pull_request) Successful in 1m11s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 1m7s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 1m6s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 1m13s
CI / Platform (Go) (pull_request) Successful in 9s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 9s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 8s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 9s
CI / Python Lint & Test (pull_request) Successful in 11s
CI / Canvas (Next.js) (pull_request) Successful in 11s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 11s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 15s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
audit-force-merge / audit (pull_request) Has been skipped
HttpError (e.g. 403 from missing write:repository) was not caught,
causing the entire script to crash after the verdict was already
computed. Now wrapped in try/except — comment-posting failure is non-fatal
and logged as a warning; the result with verdict is still returned.

Fixes: #543
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 19:08:38 +00:00