Merge PR #809: surface E2E diagnose detail
All checks were successful
Block internal-flavored paths / Block forbidden paths (push) Successful in 10s
CI / Detect changes (push) Successful in 24s
E2E API Smoke Test / detect-changes (push) Successful in 21s
E2E Staging Canvas (Playwright) / detect-changes (push) Successful in 21s
Secret scan / Scan diff for credential-shaped strings (push) Successful in 7s
Handlers Postgres Integration / detect-changes (push) Successful in 15s
CI / Platform (Go) (push) Successful in 5s
Runtime PR-Built Compatibility / detect-changes (push) Successful in 15s
Handlers Postgres Integration / Handlers Postgres Integration (push) Successful in 5s
CI / Shellcheck (E2E scripts) (push) Successful in 13s
CI / Python Lint & Test (push) Successful in 16s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (push) Successful in 5s
CI / Canvas (Next.js) (push) Successful in 22s
CI / Canvas Deploy Reminder (push) Has been skipped
CI / all-required (push) Successful in 1s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (push) Successful in 21s
E2E API Smoke Test / E2E API Smoke Test (push) Successful in 51s
E2E Staging SaaS (full lifecycle) / pr-validate (push) Successful in 1m7s
Staging SaaS smoke (every 30 min) / Staging SaaS smoke (push) Successful in 4m43s
E2E Staging SaaS (full lifecycle) / E2E Staging SaaS (push) Successful in 5m27s
main-red-watchdog / watchdog (push) Successful in 1m15s
gate-check-v3 / gate-check (push) Compensated by status-reaper (workflow has no push: trigger; Gitea 1.22.6 hardcoded-suffix bug — see .gitea/scripts/status-reaper.py)
Sweep stale e2e-* orgs (staging) / Sweep e2e orgs (push) Successful in 8s
Sweep stale Cloudflare DNS records / Sweep CF orphans (push) Compensated by status-reaper (workflow has no push: trigger; Gitea 1.22.6 hardcoded-suffix bug — see .gitea/scripts/status-reaper.py)
ci-required-drift / drift (push) Successful in 1m25s
status-reaper / reap (push) Successful in 2m6s
Continuous synthetic E2E (staging) / Synthetic E2E against staging (push) Successful in 5m4s

Merge diagnostic hardening after CI and SOP gates passed.
This commit is contained in:
devops-engineer 2026-05-13 06:46:48 +00:00
commit 3df44d9fb1

View File

@ -511,7 +511,7 @@ for wid in $WS_TO_CHECK; do
ok " $wid terminal-reachable (canvas terminal will work)"
else
DIAG_FAIL=$(echo "$DIAG_JSON" | python3 -c "import json,sys; d=json.load(sys.stdin); print(d.get('first_failure','unknown'))" 2>/dev/null || echo "unknown")
DIAG_DETAIL=$(echo "$DIAG_JSON" | python3 -c "import json,sys; d=json.load(sys.stdin); s=[x for x in d.get('steps',[]) if not x.get('ok')]; print(s[0].get('error','') if s else '')" 2>/dev/null || echo "")
DIAG_DETAIL=$(echo "$DIAG_JSON" | python3 -c "import json,sys; d=json.load(sys.stdin); s=[x for x in d.get('steps',[]) if not x.get('ok')]; step=s[0] if s else {}; print(' — '.join(x for x in [step.get('error',''), step.get('detail','')] if x))" 2>/dev/null || echo "")
fail "Workspace $wid terminal diagnose failed at step '$DIAG_FAIL': $DIAG_DETAIL — check tenant SG has tcp/22 from EIC endpoint SG (sg-0785d5c6138220523), EIC_ENDPOINT_SG_ID set in Railway, and EIC endpoint health"
fi
done