47 lines
5.0 KiB
Markdown
47 lines
5.0 KiB
Markdown
# P05-OIDC-03-A01 — Existing Run #93 Terminal Acceptance & Runner Queue Audit
|
|
|
|
**Date:** 2026-11-23 (Asia/Dhaka)
|
|
**Explicitly approved baseline (Gitea main / local main):** `09add5345abc5cef676ab7f5d3220eaa641310b4`
|
|
**The single approved CI run:** [Run #93](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/93), job #206, intended test candidate SHA `7b80f411b2981e2274d171c12596301ed757b768`.
|
|
**Pre-change plan and exact Scope Lock:** This note was authored **before A01 documentation edits**. The objective is READ-ONLY verification of existing Run #93, without any new run, source modification or runner setting change.
|
|
|
|
## Exact write and read-only scopes
|
|
|
|
**Write:** `notes/**`, `project/**`, relevant `docs/**`, associated README/MINIFEST where necessary. Only CI evidence, runner queue status and next acceptance criteria may be updated. Current Git source inventory includes the new A01 Markdown note once staged.
|
|
|
|
**Strict read-only:** `tests/ci/**`, `.gitea/workflows/**`, `auth/ui/v2/**`, `users/ui/**`, `core/backend/zitadel/**`, `deployment/docker/**`, all manifests/lockfiles, runner registration/configuration, production, secrets and unrelated files. Preserve untracked root `AI_INSTRUCTIONS.md`. **No dispatch, rerun, cancellation, tag, release, deployment or local app builds/tests/dev servers.** No real identities.
|
|
|
|
## Focused read-only evidence gathered before edits
|
|
|
|
1. Gitea repo `vibtools/ZitPlane/main` SHA is `09add5345abc5cef676ab7f5d3220eaa641310b4`; Windows local HEAD matches, with only unrelated untracked `AI_INSTRUCTIONS.md`.
|
|
2. Gitea API `get_run(93)`: `status=queued`, **no conclusion**. `created_at=2026-11-22T18:08:45Z`, `updated_at=2026-11-22T18:08:45Z`, `head_sha=7b80f411b2981e2274d171c12596301ed757b768`, event `workflow_dispatch`. The run did not move to running/completed at the latest read.
|
|
3. `get_job(206)`: `status=queued`, no recorded steps, `started_at` and `completed_at` are the Gitea zero-time placeholder `1970-01-01T00:00:00Z`, **not actual run timestamps**.
|
|
4. `get_job_log_preview(206)` returned **HTTP 404 `job not started`**. This confirms no runtime logs/steps to evaluate; do not misreport it as a test failure.
|
|
5. `get_workflow(p05-oidc-acceptance.yml)` reports **active**. Its checked-in YAML is manual `workflow_dispatch`, single `runs-on: ubuntu-latest` Docker job, mandatory `always()` cleanup.
|
|
6. Prior matching manual workflow Run #91 reached terminal `failure` because socat process exited code 1; its cleanup PASS. Prior successes for other jobs (Run #89 security/Login; Run #86 backend) demonstrate historical scheduling, **not that an eligible runner is online/idle today**.
|
|
7. Available Gitea connector actions expose run/workflow/job/log reads but **no runner online/offline/registration-list endpoint**. Therefore it is NOT verified whether the current queue is caused by an offline runner, label mismatch, saturated runner, or Gitea scheduling issue. Do not assert a specific cause or modify runner settings.
|
|
|
|
## Gate-by-gate status of EXISTING Run #93 only
|
|
|
|
| Acceptance gate | Run #93 status |
|
|
| --- | --- |
|
|
| Job pickup, Git checkout, disposable Docker preflight | **NOT EXECUTED** — queued, no steps |
|
|
| Four-service ZITADEL/Postgres/Login/Traefik startup, no host published ports | **NOT EXECUTED** |
|
|
| Safe socat error classification and optional immutable Python fallback | **NOT EXECUTED** |
|
|
| Private port-8080 forwarding HTTP 200 + original issuer/Host | **NOT EXECUTED** |
|
|
| Official disposable project, OIDC client and test human provisioning | **NOT EXECUTED** |
|
|
| Real Chromium Login V2 username/password, authorization code + PKCE S256/state/nonce | **NOT EXECUTED** |
|
|
| Auth.js callback, authenticated account identity/API/protected pages | **NOT EXECUTED** |
|
|
| Anonymous/invalid callback rejection and local logout | **NOT EXECUTED** |
|
|
| Mandatory `always()` owned cleanup | **NOT EXECUTED** |
|
|
| Overall real OIDC end-to-end acceptance | **PENDING / NOT VERIFIED**, **no conclusion** |
|
|
|
|
## Focused A01 execution plan and closure rules
|
|
|
|
1. Recheck the **same** Run #93 and job #206 read-only once during final documentation audit. If completed, verify its actual terminal steps/logs; otherwise record the queue snapshot without guessing scheduling root cause.
|
|
2. Update `notes/**`, `project/**` and relevant `docs/**` with precise statuses and runner-visibility limitation. Preserve Run #90/#91 historical evidence and separate tested source SHA from documentation SHA.
|
|
3. Stage ONLY allowed documentation paths, check exact Git diff, source inventory, manifest entries and absence of secrets. Commit once and push Gitea `main` with exact remote SHA verification. Do not dispatch another CI run.
|
|
4. **Next action if still queued:** read-only terminal-status check for **Run #93**, plus runner online/label/capacity review through an *authorized* server admin UI where possible, without changing any runner config. Any subsequent config modification, new run or CI code change requires fresh Scope Lock and approval.
|
|
|
|
**No passing test claims are authorized without actual Run #93 output.** This is a queue/scheduling evidence phase, not a new OIDC implementation phase.
|