docs(ORCH-058): staging gate log — staging_status SUCCESS (10/10 PASS)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
60
docs/work-items/ORCH-058/15-staging-log.md
Normal file
60
docs/work-items/ORCH-058/15-staging-log.md
Normal file
@@ -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.
|
||||
Reference in New Issue
Block a user