docs(oidc): record Run 95 private proxy readiness failure and verified cleanup

This commit is contained in:
victorsteele428 committed 2026-11-22 19:48:06 +00:00
1 parent 79dac4f5bb
commit 52b2169104
15 files changed
+117 -6

No files matched your search

+2
View File
@@ -21,6 +21,8 @@ This is the **developer-focused implementation history**. `notes/CHANGELOG.md` i
| 2026-11-23 | P05-OIDC-03-A01 | Historical read-only Run #93 queue snapshot before runner pickup, no source edit | Queued then; **superseded by A02 terminal result**. `notes/P05-OIDC-03-A01.md` |
| 2026-11-23 | P05-OIDC-03-A02 | Read-only terminal Run #93 job #206 scheduling completion, private socket collision and verified cleanup | Run FAILURE; socat bind error, Python EADDRINUSE, no authenticated flow; cleanup PASS. `notes/P05-OIDC-03-A02.md` |
| 2026-11-23 | P05-OIDC-04 | Scope-locked private socket forensics and isolated run-owned forwarder network, no original backend/Login/Account edits | Source \`79dac4f5bb76e1cee4dfaf61657c6e84268b3dfb\`; Run #95 failure before inspector due direct private proxy socket/HTTP, four healthy services, owned cleanup PASS; real OIDC blocked. \`notes/P05-OIDC-04.md\` |
## Required entry for each future change
Date, phase, approval/scope, baseline SHA, source files changed, reason/functional effect, interface/security impacts, migration/config steps, test/CI evidence, docs updated, commit SHA, verified/unverified limitations. Append one record for every approved change/fix, including documentation-only changes. Never overwrite old conclusions without noting correction.
+4
View File
@@ -160,3 +160,7 @@ Historical Run #91 used this workflow and reached a terminal job, but that only
## P05-OIDC-03-A02 — terminal existing Run #93 (supersedes queued snapshot)
[Run #93](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/93) tested `7b80f411b2981e2274d171c12596301ed757b768`, job #206 **started 2026-11-22T18:36:26Z and completed 18:37:47Z with FAILURE**. The manual workflow/runner job was scheduled and checkout/Docker executed; current runner availability outside this historical run cannot be established through available Gitea read actions. Four-service backend startup, no published host ports, exact private Traefik Host routing and pinned/digest image metadata passed. Socat exited 1 with `SOCKET_BIND_ERROR`, Python stdlib fallback image/digest/start attempt passed but its private IPv4 listener exited 1 with `ADDRESS_IN_USE`. **Exact process holding namespace-local TCP port 8080 was not identified**; the source Compose Traefik service is configured to listen on :80, while ZITADEL API listens in its own container namespace on :8080, so neither is proved to own the collided private socket. No official client/user provisioning, original Chromium Login V2 authorization, PKCE/state/nonce/Auth.js callback, protected Account session, negative auth or logout tests executed. Mandatory exact run-owned cleanup **PASS** on both expected markers. No workflow rerun/source change under A02. Full evidence: `notes/P05-OIDC-03-A02.md`, `docs/P05-OIDC-03-A02.md`.
## P05-OIDC-04 — one-run CI evidence (not authenticated OIDC acceptance)
Manual Gitea [Run #95](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/95) job #209 checked out exact source `79dac4f5bb76e1cee4dfaf61657c6e84268b3dfb`: Docker/portless Compose PASS, 4/4 backend services healthy PASS, private Traefik Host/socket probe FAIL (`OIDC_CI_PRIVATE_PROXY_SOCKET_OR_HTTP_BLOCKED`), listener forensics and isolated forwarder NOT EXECUTED, official OIDC project/client/human/browser/Auth.js/negative/logout NOT EXECUTED, always-owned cleanup PASS. This is a new narrower/earlier blocker, not verification or regression of the authentication implementation. See `notes/P05-OIDC-04.md` and `docs/P05-OIDC-04.md`. No new workflow, auto trigger, runner change or repeated CI.
+6
View File
@@ -78,3 +78,9 @@ Run #91 established an isolated private Traefik:80/Host HTTP 200 and a socat sid
## P05-OIDC-03-A02 — verified private port-8080 startup collision, no authenticated session
The original Run #93 `7b80f41`, job #206, did start after the A01 queued snapshot; overall **FAILURE**. Its source-approved socat and optional Python forwarder each failed binding private **127.0.0.1:8080**: socat diagnostic `SOCKET_BIND_ERROR`, Python diagnostic `ADDRESS_IN_USE`. The private Traefik:80 Host route and four ZITADEL/backend services were healthy; the image/digest/optional fallback startup commands themselves were invoked. The precise listener process holding port 8080 has **not** been identified with a namespace-local socket/process audit, and no source auth defect was exercised. Client/user provisioning and all genuine Chromium/PKCE/Auth.js/session tests **NOT EXECUTED**. The always-run exact-owned cleanup verified removal of its ephemeral credentials, data, volumes and network. Future separately approved CI-only phase should inspect the actual private listener/inode and avoid port collision without exposing ports or changing the original P02 developer Compose, Login V2 or Account Auth.js.
## P05-OIDC-04 — dedicated private forwarder namespace (CI candidate; not runtime accepted)
The source `79dac4f5bb76e1cee4dfaf61657c6e84268b3dfb` adds a pre-bind proxy PID/netns `/proc/net/tcp{,6}` listener-inode inspection, maps to `/proc/*/fd` and sanitized comm, and changes only run-owned socat/Python forwarder networking from `container:$proxy_id` to the existing disposable Compose network, forwarding to private `proxy:80`. One-off provisioning/Chromium containers join `container:$forwarder`, so issuer remains `http://localhost:8080` without publishing host ports. Auth.js, original Login V2, negative cases, credentials and owned cleanup contracts remain untouched.
In the ONLY new Run #95, the original 4 services were healthy but the **earlier** direct Traefik:80 readiness probe emitted `OIDC_CI_PRIVATE_PROXY_SOCKET_OR_HTTP_BLOCKED`. Thus the new socket diagnostic, forwarder and real OIDC pipeline **were not executed**; actual listener owner remains UNKNOWN. Mandatory cleanup PASS. Next minimal separately approved diagnostic must classify the direct private Host/socket failure before further forwarder remediation; see `notes/P05-OIDC-04.md`.
+9 -5
View File
@@ -2,7 +2,7 @@
**Snapshot:** 2026-11-23, P05-OIDC-03-A02 terminal Gitea Run #93 job #206 at tested source `7b80f411b2981e2274d171c12596301ed757b768`: job STARTED/COMPLETED FAILURE; backend/private proxy PASS, socat SOCKET_BIND_ERROR and Python ADDRESS_IN_USE on 127.0.0.1:8080, real OIDC NOT EXECUTED, exact owned cleanup PASS. Actual listener owner UNKNOWN. Final docs-only commit is not a new tested source.
**Git-tracked paths: 755.** Untracked `AI_INSTRUCTIONS.md` and local secrets excluded.
**Git-tracked paths: 757.** Untracked `AI_INSTRUCTIONS.md` and local secrets excluded.
This list reflects actual tracked Git files, not proof of authenticated OIDC. See `notes/P05-OIDC-03.md` and `project/OIDC-E2E-ARCHITECTURE.md`.
@@ -13,8 +13,8 @@ This list reflects actual tracked Git files, not proof of authenticated OIDC. Se
| `auth` | 639 | Pinned official Login V2 source, unmodified |
| `core` | 2 | Backend dev helper, unmodified |
| `deployment` | 2 | P02 dev Compose, unmodified |
| `docs` | 23 | User and operator docs |
| `notes` | 15 | Phase plans and CI evidence |
| `docs` | 24 | User and operator docs |
| `notes` | 16 | Phase plans and CI evidence |
| `packages` | 1 | Repository root |
| `project` | 12 | Source, functions and architecture inventory |
| `scripts` | 1 | Repository root |
@@ -695,7 +695,7 @@ This list reflects actual tracked Git files, not proof of authenticated OIDC. Se
- `deployment/README.md`
- `deployment/docker/compose.backend.dev.yaml`
### docs ? 23 files
### docs ? 24 files
- `docs/ARCHITECTURE.md`
- `docs/DEVELOPMENT.md`
@@ -712,6 +712,7 @@ This list reflects actual tracked Git files, not proof of authenticated OIDC. Se
- `docs/P05-OIDC-03.md`
- `docs/P05-OIDC-03-A01.md`
- `docs/P05-OIDC-03-A02.md`
- `docs/P05-OIDC-04.md`
- `docs/P05-SEC-01.md`
- `docs/P05-SEC-02-A01.md`
- `docs/P05-SEC-02.md`
@@ -721,7 +722,7 @@ This list reflects actual tracked Git files, not proof of authenticated OIDC. Se
- `docs/TROUBLESHOOTING.md`
- `docs/USER-GUIDE.md`
### notes ? 15 files
### notes ? 16 files
- `notes/CHANGELOG.md`
- `notes/DOCS-01.md`
@@ -734,6 +735,7 @@ This list reflects actual tracked Git files, not proof of authenticated OIDC. Se
- `notes/P05-OIDC-03.md`
- `notes/P05-OIDC-03-A01.md`
- `notes/P05-OIDC-03-A02.md`
- `notes/P05-OIDC-04.md`
- `notes/P05-SEC-01.md`
- `notes/P05-SEC-02-A01.md`
- `notes/P05-SEC-02.md`
@@ -813,3 +815,5 @@ This list reflects actual tracked Git files, not proof of authenticated OIDC. Se
- `users/ui/src/styles/globals.css`
- `users/ui/src/types/next-auth.d.ts`
- `users/ui/tsconfig.json`
**P05-OIDC-04 inventory update (2026-11-23):** From the prior snapshot, one tracked `notes/P05-OIDC-04.md` and one tracked `docs/P05-OIDC-04.md` were added (755 → 757), with only two existing CI source files modified. Source `79dac4f5bb76e1cee4dfaf61657c6e84268b3dfb` was the one tested in Gitea Run #95, which FAILED before socket inspector/forwarder. The final docs commit is not a newly tested source. Excluded/untracked root `AI_INSTRUCTIONS.md` remains untouched.