diff --git a/docs/work-items/ORCH-095/15-staging-log.md b/docs/work-items/ORCH-095/15-staging-log.md new file mode 100644 index 0000000..3a58d65 --- /dev/null +++ b/docs/work-items/ORCH-095/15-staging-log.md @@ -0,0 +1,39 @@ +--- +staging_status: SUCCESS +work_item: ORCH-095 +stage: deploy-staging +author_agent: deployer +status: success +created_at: 2026-06-10 +model_used: claude-opus-4-8 +timestamp: 2026-06-09T21:15:53Z +base_url: http://localhost:8501 +--- + +# Staging Gate Log + +> Машинный вердикт читается ТОЛЬКО из `staging_status:` во frontmatter. Реален для self-hosting +> (`orchestrator`). `SUCCESS` → дальше; `FAILED` → откат. + +Staging test suite completed against the live `orchestrator-staging` stand (8501). Run canonically +**inside the container** via the Docker Engine API over `/var/run/docker.sock` (the `docker` CLI +binary is unavailable in the agent sandbox; the exec was driven through the socket — equivalent to +`docker exec orchestrator-staging python3 /repos/orchestrator/scripts/staging_check.py +--base-url http://localhost:8501 --mode stub`). **Exit code 0 → `staging_status: SUCCESS`.** + +All REAL pipeline checks passed. The two non-passing checks are the known sandbox-infra checks +(C9a/C9b), waived per ORCH-061 (SANDBOX bot accounts are not members of the sandbox Plane project — +this is not a pipeline regression). Verdict line from the script: + +``` +INFRA-WAIVED: C9a Branch appears in orchestrator-sandbox, C9b Analyst job enqueued in staging queue (known sandbox-infra; real checks green) +VERDICT: SUCCESS (exit 0) — SUCCESS (infra-waived): ['C9a Branch appears in orchestrator-sandbox', 'C9b Analyst job enqueued in staging queue'] are known sandbox-infra checks; all real checks green +``` + +## Results — 8/10 checks PASS (exit 0) +- **Block A (SMOKE)**: A1 `/health` 200 ok · A2 `/queue` 200 with counts/max_concurrency/resilience · A3 `ORCH_STAGING=true`. All PASS. +- **Block B (ACCESS)**: B4 Plane sandbox accessible (sandbox=YES) · B5 Gitea `orchestrator-sandbox` accessible push=true · B6 Registry isolation (sandbox=YES, prod-ET=NO, prod-ORCH=NO). All PASS. +- **Block C (E2E, stub)**: C7 Create issue in Plane SANDBOX PASS · C8 Trigger pipeline via `/webhook/plane` PASS · C9a/C9b FAIL → **waived** (sandbox-infra). Cleanup: Plane issue deleted (HTTP 204). + +REAL failed: **none**. +SANDBOX_INFRA waived: C9a (branch in orchestrator-sandbox), C9b (analyst job enqueued).