docs(ci): record OIDC run 91 forwarder exit and safe cleanup
This commit is contained in:
1 parent
4831165548
commit
5f542a6aa3
20 files changed
+81
-9
No files matched your search
+1
-1
@@ -16,6 +16,6 @@ This is the chronological **index**. Phase-specific scope/implementation evidenc
|
||||
| 2026-11-22 | P05-SEC-02 | Seven scoped parent overrides for glob/minimatch, pinned PNPM lock; one focused Gitea run | Run #88: Login security 0 findings PASS, build gate FAIL before frozen install on CI helper false-positive. Post-run regex fix unverified; [evidence](P05-SEC-02.md) |
|
||||
| 2026-11-22 | P05-SEC-02-A01 | One-run final acceptance of corrected CI parser and unchanged Login lockfile/seven overrides | **Run #89 SUCCESS** on `ff4c58e`: frozen install, standalone build and upstream 1219/1219 tests PASS; audit 0 Moderate/High/Critical; Account jobs skipped. [Evidence](P05-SEC-02-A01.md) |
|
||||
| 2026-11-22 | P05-OIDC-01 | CI-only official ZITADEL OIDC project/client/user and Chromium original Login V2/Auth.js acceptance harness with owned cleanup | **Run #90 FAILED**: 4 services healthy, no host ports; private localhost:8080 forwarder not ready, no user/client/browser created; cleanup VERIFIED PASS. [Evidence](P05-OIDC-01.md) |
|
||||
| 2026-11-22 | P05-OIDC-02 | Pin prebuilt socat image by verified digest in CI, check private proxy/Host/forwarder state, correct status-only readiness | Pre-change scoped plan and source prepared; [evidence](P05-OIDC-02.md), one Gitea run pending |
|
||||
| 2026-11-22 | P05-OIDC-02 | Prebuilt/digest-verified socat, private proxy/Host/sidecar state probes, status-only readiness | **Run #91 FAILURE**: backend and private Host routing PASS; forwarder exited code 1, no provisioning/browser; owned cleanup PASS. [Evidence](P05-OIDC-02.md) |
|
||||
|
||||
Rules: Append new phases or fixes; never silently rewrite a past result. Separate **implemented**, **verified**, **blocked**, and **proposed**. Never log a user secret or personal data.
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
| [P05-SEC-02.md](P05-SEC-02.md) | Exact root chain, seven PNPM parent overrides, one focused Gitea CI and closure evidence | P05-SEC-02 / Run #88 security PASS, build blocked; parser post-run patch unverified |
|
||||
| [P05-SEC-02-A01.md](P05-SEC-02-A01.md) | Single-run Login-only final frozen/build/unit/security acceptance, scope lock and evidence | P05-SEC-02-A01 / Run #89 SUCCESS, accepted |
|
||||
| [P05-OIDC-01.md](P05-OIDC-01.md) | Pre-change real browser OIDC Scope Lock, provision/redirect/session/negative tests and one CI run evidence | P05-OIDC-01 / Run #90 FAILED at forwarder readiness; cleanup PASS; acceptance BLOCKED |
|
||||
| [P05-OIDC-02.md](P05-OIDC-02.md) | Pre-change exact loopback-forwarder blocker scope, pinned image/diagnostic plan and one real Gitea acceptance run | P05-OIDC-02 / source prepared, CI pending |
|
||||
| [P05-OIDC-02.md](P05-OIDC-02.md) | Pre-change loopback-forwarder scope, pinned digest/preflight fix and one real Gitea acceptance cycle | P05-OIDC-02 / Run #91: private proxy PASS; socat exit 1, OIDC BLOCKED, cleanup PASS |
|
||||
| [CHANGELOG.md](CHANGELOG.md) | Short append-only chronological phase log and links to detailed reports | DOCS-01 / active |
|
||||
|
||||
Update this manifest whenever any direct child file or directory changes. Use **actual source state**; a planned file must be labeled planned, not present.
|
||||
@@ -37,3 +37,28 @@ No local builds/tests/dev servers/Docker, no real users/accounts or secrets, no
|
||||
**Source review does NOT prove runtime compatibility.** No claim that old Alpine `apk add` was the root cause; Run #90 did not log sidecar state. Confirm only from the next run's safe observations.
|
||||
|
||||
**Expected source-level changes (pre-run):** exactly `run.sh`, `provision.py` plus narrow docs. `cleanup.sh` and workflow kept identical unless a specific justified defect is observed.
|
||||
|
||||
|
||||
## One authorized CI acceptance — actual terminal Gitea Run #91
|
||||
|
||||
**Date:** 2026-11-22, **Run:** [#91](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/91), **job:** #198, tested Gitea **source SHA `4831165548feabc2c0a0d39d25c40e0d1bc23bb2`**. Triggered once with `workflow_dispatch` on `main`, started 17:46:39 UTC, terminal 17:47:44 UTC. **Overall status completed, conclusion FAILURE.** There was **no second Gitea run**.
|
||||
|
||||
| Stage | Evidence | Terminal result |
|
||||
| --- | --- | --- |
|
||||
| Checkout and Git prerequisite, job steps #0/#1 | Both finished success | **PASS** |
|
||||
| Numeric run ownership, Docker daemon | `ZITPLANE_OIDC_DOCKER_PREFLIGHT_PASS` | **PASS** |
|
||||
| Strict no published host ports and IAM_OWNER config | `ZITPLANE_OIDC_NO_PUBLISHED_PORT_AND_OWNER_CONFIG_PASS` | **PASS** |
|
||||
| Four disposable P02 services started and healthy | `ZITPLANE_OIDC_FOUR_SERVICES_READY_PASS` | **PASS** |
|
||||
| Namespace-local direct Traefik:80 `/debug/ready` with exact `Host: localhost:8080` | `ZITPLANE_OIDC_PRIVATE_PROXY_HOST_ROUTE_PASS` | **PASS** — eliminates the previously unverified private proxy/Host routing hypothesis |
|
||||
| Versioned prebuilt socat binary/entrypoint and pulled registry SHA256 digest | `ZITPLANE_OIDC_PINNED_FORWARDER_DIGEST_VERIFIED_PASS` | **PASS** — image identity/entrypoint checked, process still not proven healthy |
|
||||
| Private sidecar startup/lifecycle | `OIDC_CI_FORWARDER_NOT_RUNNING_STATE=exited EXIT_CODE=1` | **FAIL** — the `socat` process exited immediately before the bounded HTTP readiness test. **The precise internal startup error remains unknown because container stderr was not retained in CI output.** Do not claim which socat option, bind error or runtime caused it |
|
||||
| Forwarded localhost:8080 HTTP ready / separate `provision.py` status-only check | Not reached | **NOT EXECUTED** |
|
||||
| Disposable official OIDC project, client, verified human provisioning | Not reached | **NOT EXECUTED**, no client/user created |
|
||||
| Original Login V2 Chromium password/PKCE/state/nonce/Auth.js callback/subject/API/protected page/negative/logout | Not reached | **NOT EXECUTED**, no real user authenticated |
|
||||
| Always-run owned-resource cleanup, job step #3 | `ZITPLANE_BACKEND_CLEANUP_VERIFIED_PASS`; `ZITPLANE_OIDC_ALL_RESOURCES_CLEANED_PASS` | **PASS** — run-owned containers, network, bootstrap/database and disposable credentials removed; cleanup step succeeded |
|
||||
|
||||
**Forensic conclusion:** Run #91 proves the **underlying proxy/Host routing works** and the version-specific `socat` image has a verified prebuilt entrypoint and digest; it isolates failure to the **forwarder process startup** (exited with code 1). It does **not prove** why the process failed. Initial Run #90 package-install hypothesis was not confirmed by this run. The status-only Python readiness code and all subsequent browser/auth/provision tests remain **unexecuted**. **Do not mark real OIDC accepted.**
|
||||
|
||||
**One-run boundary:** P05-OIDC-02 performed one manual Gitea CI run. No local application installs/builds/tests/dev servers, real users, production deployment or another CI run. Original `users/ui/**`, `auth/ui/v2/**`, backend/Compose, package manifests/locks and existing owner-only cleanup were unchanged. The committed result-only documentation is not the tested source commit.
|
||||
|
||||
**Next candidate P05-OIDC-03 (not approved):** a narrowly scoped `tests/ci/oidc_e2e/run.sh` startup remediation should first capture **safe, redacted sidecar startup diagnostics** (only this run-owned process, before any credentials exist, with allowlisted error class/errno and no raw log output), verify socat argument parsing and localhost bind semantics, and if justified replace it with an immutable/digest-pinned official Python stdlib TCP forwarding process. Ensure exact private proxy:80 and forwarded 8080 Host HTTP 200 before provisioning. No extra host ports or secret exposure. Then **one new, separately approved Gitea acceptance** for genuine client/user/browser flow and complete cleanup; actual failures remain BLOCKED.
|
||||
Reference in new issue
Block a user