From 5dc5893a49608ada32271e4547180e947becf163 Mon Sep 17 00:00:00 2001 From: claude-bot Date: Sat, 6 Jun 2026 17:41:06 +0000 Subject: [PATCH] =?UTF-8?q?docs(ORCH-043):=20staging=20gate=20log=20?= =?UTF-8?q?=E2=80=94=20staging=5Fstatus=20SUCCESS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Live staging-stand suite (scripts/staging_check.py, stub mode) ran inside orchestrator-staging: 10/10 checks PASS, exit code 0. Merge-gate edge (deploy-staging → deploy) cleared for ORCH-043. Co-Authored-By: Claude Opus 4.7 --- docs/work-items/ORCH-043/15-staging-log.md | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 docs/work-items/ORCH-043/15-staging-log.md diff --git a/docs/work-items/ORCH-043/15-staging-log.md b/docs/work-items/ORCH-043/15-staging-log.md new file mode 100644 index 0000000..f69edc9 --- /dev/null +++ b/docs/work-items/ORCH-043/15-staging-log.md @@ -0,0 +1,70 @@ +--- +staging_status: SUCCESS +timestamp: 2026-06-06T17:40:13Z +base_url: http://localhost:8501 +mode: stub +result: 10/10 checks PASS +--- + +# Staging Gate Log — ORCH-043 + +Staging test suite completed against the live `orchestrator-staging` instance +(port 8501). **All 10/10 checks passed**, suite exit code `0`. + +## Execution + +Canonical invocation — run INSIDE the `orchestrator-staging` container +(ORCH-048, ADR-001) so Block A's `ORCH_STAGING=true` guard and the B6 +registry-isolation check read the running instance's own process-env +(`.env.staging`): + +``` +docker exec orchestrator-staging \ + python3 /repos/orchestrator/scripts/staging_check.py \ + --base-url http://localhost:8501 --mode stub +``` + +> Note: the host worktree environment has no `docker` CLI, so the exec was +> driven directly through the Docker Engine API over `/var/run/docker.sock` +> (equivalent to the command above — same container, same in-container env). +> Block A `A3 ORCH_STAGING=true` and B6 both PASS, confirming the suite ran +> with the live staging registry (no host-path fallback / false FAIL). + +## Results + +``` +============================================================ + ORCH-33 Staging Check Suite + base_url : http://localhost:8501 + mode : stub + utc_time : 2026-06-06T17:40:13.623652+00:00 +============================================================ + +[Block A] SMOKE + ✓ PASS A1 GET /health → 200 status=ok + ✓ PASS A2 GET /queue → 200 with counts/max_concurrency/resilience + ✓ PASS A3 ORCH_STAGING=true (not prod) + +[Block B] ACCESS + ✓ PASS B4 Plane: sandbox project accessible [found 5 project(s), sandbox=YES] + ✓ PASS B5 Gitea: orchestrator-sandbox accessible, push=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 + ✓ PASS C8 Trigger pipeline via /webhook/plane + ✓ PASS C9a Branch appears in orchestrator-sandbox + ✓ PASS C9b Analyst job enqueued in staging queue + +[CLEANUP] + ✓ PASS CLEANUP: deleted test branch, Plane issue, task + job rows + +============================================================ + RESULT: 10/10 checks PASS +============================================================ + +[docker-exec] ExitCode=0 +``` + +Cleanup ran fully in the `finally` block — no residual test task, branch, or +job rows left on the staging stand.