docs(oidc): record Run 95 private proxy readiness failure and verified cleanup
This commit is contained in:
1 parent
79dac4f5bb
commit
52b2169104
15 files changed
+117
-6
No files matched your search
@@ -21,4 +21,6 @@ This is the chronological **index**. Phase-specific scope/implementation evidenc
|
||||
| 2026-11-23 | P05-OIDC-03-A01 | Historical read-only Run #93 queue snapshot (prior to execution) | At A01 inspection QUEUED, job not started; **superseded by A02 terminal evidence**. [Evidence](P05-OIDC-03-A01.md) |
|
||||
| 2026-11-23 | P05-OIDC-03-A02 | Read-only Run #93 terminal job #206 RCA, safe private forwarding diagnosis and scope closure | Run #93 **FAILURE**: 4 services/proxy PASS, socat SOCKET_BIND_ERROR, Python ADDRESS_IN_USE, real OIDC NOT EXECUTED, mandatory cleanup PASS. [Evidence](P05-OIDC-03-A02.md) |
|
||||
|
||||
| 2026-11-23 | P05-OIDC-04 | Pre-source scope lock, CI-only safe port inode/PID forensic probe and separate private namespace forwarder | Source \`79dac4f5bb76e1cee4dfaf61657c6e84268b3dfb\`; one Gitea Run #95 job #209 FAILURE at direct private proxy HTTP readiness, inspector/forwarder/real OIDC NOT EXECUTED; owned cleanup PASS. [Evidence](P05-OIDC-04.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.
|
||||
@@ -16,6 +16,7 @@
|
||||
| [P05-OIDC-03.md](P05-OIDC-03.md) | Pre-edit socat diagnosis, Python fallback and one focused Gitea Run #93 evidence | P05-OIDC-03 / Run #93 QUEUED, no steps executed, acceptance UNVERIFIED |
|
||||
| [P05-OIDC-03-A01.md](P05-OIDC-03-A01.md) | Historical read-only queue snapshot before Run #93 was scheduled; superseded by A02 terminal evidence | P05-OIDC-03-A01 / historical queue snapshot |
|
||||
| [P05-OIDC-03-A02.md](P05-OIDC-03-A02.md) | Read-only terminal Run #93 job #206 evidence, private port 8080 conflict and verified cleanup | P05-OIDC-03-A02 / run FAILED, real OIDC blocked, cleanup PASS |
|
||||
| [P05-OIDC-04.md](P05-OIDC-04.md) | Pre-source Scope Lock, isolated forwarder source diff, terminal Run #95 job #209 failure/cleanup and next exact RCA | P05-OIDC-04 / Run #95 failure, cleanup PASS; OIDC blocked |
|
||||
| [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.
|
||||
@@ -27,3 +27,49 @@ The CI-only run script starts both its socat and fallback sidecars with `--netwo
|
||||
5. Final docs-only synchronization and Git main/remote SHA verification without new CI. If blocked, distinguish the exact failure and downstream unexecuted gates; do not claim authenticated acceptance or a listener owner absent reliable evidence.
|
||||
|
||||
**Pre-run disposition:** Not yet executed in P05-OIDC-04; real authenticated OIDC remains BLOCKED pending one terminal disposable CI result.
|
||||
|
||||
## Terminal Gitea CI acceptance — ONE authorized Run #95
|
||||
|
||||
**Evidence:** [Gitea Run #95](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/95), **job #209**, manual `workflow_dispatch` on `main`; tested **exact source SHA `79dac4f5bb76e1cee4dfaf61657c6e84268b3dfb`**, distinct from the later documentation commit. Started `2026-11-22T19:40:58Z`; completed `2026-11-22T19:46:22Z`. Run status `completed`, conclusion **`failure`**.
|
||||
|
||||
The approved source preparation was one documentation Scope Lock commit `1cf6d65f041137ba6c2ec1c6f452397db133be46` followed by one focused commit `79dac4f5bb76e1cee4dfaf61657c6e84268b3dfb` modifying ONLY `tests/ci/oidc_e2e/run.sh` and `forwarder.py`. Focused diff verified the isolated network strategy, never-opened host ports, private loopback-only binding, absent credentials/log payloads and unchanged original backend/Compose/Login/Account/lockfiles. No other CI dispatch, rerun, local app test/build or deployment.
|
||||
|
||||
Job #209 steps: #0 Git install **SUCCESS**; #1 checkout **SUCCESS**; #2 real disposable OIDC execution **FAILURE**; #3 mandatory owned-only cleanup **SUCCESS**.
|
||||
|
||||
| Exact acceptance gate | Result / safe evidence |
|
||||
| --- | --- |
|
||||
| Runner accepted job and exact source checkout | **PASS**; job #209 ran at `79dac4f5bb76e1cee4dfaf61657c6e84268b3dfb` |
|
||||
| Docker/Compose and ownership preflight | **PASS**; `ZITPLANE_OIDC_DOCKER_PREFLIGHT_PASS` |
|
||||
| No published host ports; isolated first-instance IAM_OWNER configuration | **PASS**; `ZITPLANE_OIDC_NO_PUBLISHED_PORT_AND_OWNER_CONFIG_PASS` |
|
||||
| Four healthy disposable Postgres/ZITADEL API/official Login V2/Traefik services | **PASS**; `ZITPLANE_OIDC_FOUR_SERVICES_READY_PASS` |
|
||||
| Direct private Traefik:80 readiness with exact Host `localhost:8080` | **FAIL**; `OIDC_CI_PRIVATE_PROXY_SOCKET_OR_HTTP_BLOCKED`; no returned status or precise failure errno/class |
|
||||
| Proxy namespace port-8080 listener inode/PID/process forensics | **NOT EXECUTED**; guarded behind failing direct readiness |
|
||||
| Socat immutable image validation and dedicated forwarder startup | **NOT EXECUTED** |
|
||||
| Python immutable-image fallback and private port-8080 forwarding | **NOT EXECUTED** |
|
||||
| Forwarded private localhost:8080 exact-Host HTTP 200 and issuer/discovery | **NOT EXECUTED** |
|
||||
| Official ZITADEL disposable project and OIDC app/client creation | **NOT EXECUTED** |
|
||||
| Official disposable verified test human creation | **NOT EXECUTED** |
|
||||
| Real Chromium original Login V2 username/password | **NOT EXECUTED** |
|
||||
| Authorization code, PKCE S256, state, nonce | **NOT EXECUTED** |
|
||||
| Genuine Auth.js callback and authenticated Account session | **NOT EXECUTED** |
|
||||
| Protected Account page and identity API | **NOT EXECUTED** |
|
||||
| Anonymous and tampered callback rejection | **NOT EXECUTED** |
|
||||
| Local logout and authenticated session invalidation | **NOT EXECUTED** |
|
||||
| Mandatory owned-only cleanup | **PASS**; `ZITPLANE_BACKEND_CLEANUP_VERIFIED_PASS` and `ZITPLANE_OIDC_ALL_RESOURCES_CLEANED_PASS` |
|
||||
|
||||
### RCA boundary
|
||||
|
||||
Run #95 stopped **before** executing the new pre-bind listener inspection. Therefore the exact process owning proxy-local TCP 8080 remains **UNKNOWN**; the historical Run #93 `ADDRESS_IN_USE` evidence is not disproved, but **Run #95 did not reproduce or attribute it**. The run demonstrates that Compose healthy status is not equivalent to the separate network-namespace exact-Host HTTP probe. The observed probe error is intentionally generic (connection/socket/HTTP); neither Traefik failure nor runner outage nor authentication regression can be inferred from it. The remediation candidate in `79dac4f5bb76e1cee4dfaf61657c6e84268b3dfb` is **committed but unverified at runtime**, since socat/Python never started.
|
||||
|
||||
### Final P05-OIDC-04 acceptance and next exact proposal
|
||||
|
||||
**Phase source/Scope Lock audit:** COMPLETE. **Run #95:** TERMINAL FAILURE; **cleanup:** PASS. **Real authenticated OIDC acceptance:** BLOCKED/NOT EXECUTED. **Production readiness and MFA:** NOT VERIFIED. Preserve this distinction and no more CI dispatch in this phase.
|
||||
|
||||
**Next phase proposed, requires separate approval — P05-OIDC-04-A01 / direct private proxy readiness diagnostics:**
|
||||
|
||||
- **Write:** create `notes/P05-OIDC-04-A01.md` before any source changes; `tests/ci/oidc_e2e/run.sh` only for bounded, secret-safe direct `proxy:80` localhost Host readiness failure classification and conditionally justified finite retry; at most one strictly focused diagnostics helper under `tests/ci/oidc_e2e/` if absolutely needed; relevant `notes/**`, `project/**`, `docs/**` and manifests.
|
||||
- **Strict read-only:** `tests/ci/oidc_e2e/forwarder.py`, all other CI harness files, `.gitea/workflows/**`, original backend/Compose/Login/Auth.js/Account, package manifests/locks, runner configuration, secrets, production and unrelated files.
|
||||
- Inspect independent proxy container state, namespace-local TCP connection class (refused/timeout), exact Host readiness HTTP status **without response body or sensitive URLs**. Differentiate actual startup race from route/policy failure *before* changing timeouts. Preserve one-run labels, no public ports, issuer, negative tests and always-owned cleanup.
|
||||
- Focused source audit, one independently approved disposable Gitea CI run with exact tested SHA, full OIDC gates if reachable, terminal cleanup, final docs commit and remote SHA verification. No repeated runs, local builds, real people, production, tags or releases.
|
||||
|
||||
No claim of successful socket attribution or authenticated login is permitted from Run #95.
|
||||
Reference in new issue
Block a user