From 2221d402b127d78d867c79e79c5d1a530213612f Mon Sep 17 00:00:00 2001 From: claude-bot Date: Sun, 7 Jun 2026 09:33:05 +0000 Subject: [PATCH] =?UTF-8?q?docs(ORCH-058):=20staging=20gate=20log=20?= =?UTF-8?q?=E2=80=94=20staging=5Fstatus=20SUCCESS=20(10/10=20PASS)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.7 --- docs/work-items/ORCH-058/15-staging-log.md | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 docs/work-items/ORCH-058/15-staging-log.md diff --git a/docs/work-items/ORCH-058/15-staging-log.md b/docs/work-items/ORCH-058/15-staging-log.md new file mode 100644 index 0000000..e909787 --- /dev/null +++ b/docs/work-items/ORCH-058/15-staging-log.md @@ -0,0 +1,60 @@ +--- +staging_status: SUCCESS +timestamp: 2026-06-07T09:31:58Z +base_url: http://localhost:8501 +--- + +# Staging Gate Log — ORCH-058 + +Staging test suite completed against the live staging environment. **All checks passed.** + +- Execution: canonical `docker exec` into `orchestrator-staging` (ORCH-048, ADR-001), + invoked via the Docker Engine API over the mounted unix socket (the `docker` CLI + binary is not present in the agent runtime image; the Engine API exec is the exact + equivalent of `docker exec orchestrator-staging python3 \ + /repos/orchestrator/scripts/staging_check.py --base-url http://localhost:8501 --mode stub`). +- Script: `/repos/orchestrator/scripts/staging_check.py` (bind-mount). +- Mode: `stub` +- Exit code: `0` +- Result: **10/10 checks PASS** + +## Test output + +``` +============================================================ + ORCH-33 Staging Check Suite + base_url : http://localhost:8501 + mode : stub + utc_time : 2026-06-07T09:31:50.514185+00:00 +============================================================ + +[Block A] SMOKE + ✓ PASS A1 GET /health → 200 status=ok [HTTP 200, body={'status': 'ok', 'service': 'orchestrator'}] + ✓ PASS A2 GET /queue → 200 with counts/max_concurrency/resilience [HTTP 200, keys=['counts', 'max_concurrency', 'poll_interval', 'resilience', 'recent']] + ✓ PASS A3 ORCH_STAGING=true (not prod) [ORCH_STAGING=true] + +[Block B] ACCESS + ✓ PASS B4 Plane: sandbox project accessible [HTTP 200, found 5 project(s), sandbox=YES] + ✓ PASS B5 Gitea: orchestrator-sandbox accessible, push=true [HTTP 200, permissions={'admin': True, 'push': True, 'pull': True}] + ✓ PASS B6 Registry: sandbox present, prod ET/ORCH absent [sandbox=YES, prod-ET=NO(good), prod-ORCH=NO(good)] + +[Block C] E2E (mode=stub) + ✓ PASS C7 Create issue in Plane SANDBOX [HTTP 201] + ✓ PASS C8 Trigger pipeline via /webhook/plane [HTTP 200, resp={'status': 'accepted'}] + ✓ PASS C9a Branch appears in orchestrator-sandbox + ✓ PASS C9b Analyst job enqueued in staging queue [status=queued, agent=analyst] + +[CLEANUP] + ✓ PASS CLEANUP: deleted branch (HTTP 204) + ✓ PASS CLEANUP: deleted Plane issue (HTTP 204) + ✓ PASS CLEANUP DB: deleted 1 job row(s) + ✓ PASS CLEANUP DB: deleted 1 task row(s) + +============================================================ + RESULT: 10/10 checks PASS +============================================================ +``` + +Note: B6 registry isolation passed (sandbox present; prod ET/ORCH absent), confirming the +check ran inside the staging instance's own process-env as required — no false-FAIL/spurious +rollback risk.