deployer(ET): auto-commit from deployer run_id=187
This commit is contained in:
70
docs/work-items/ORCH-043/15-staging-log.md
Normal file
70
docs/work-items/ORCH-043/15-staging-log.md
Normal file
@@ -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.
|
||||
Reference in New Issue
Block a user