fix(ci): pin and diagnose private OIDC forwarder readiness

This commit is contained in:
victorsteele428 committed 2026-11-22 17:45:36 +00:00
1 parent b78270e9d4
commit 4831165548
22 files changed
+231 -27

No files matched your search

+5
View File
@@ -13,3 +13,8 @@ The environment is a temporary `zitplane-p05-{GITHUB_RUN_ID}` Compose stack cont
**Privacy:** never log user password, owner PAT, OIDC client secret, Auth.js cookies, codes, nonce, state, request query or screenshots. Browser diagnostics contain only safe stage IDs. No credentials/recordings uploaded as CI artifacts. The actual CI run and individual pass/blocked status are recorded in `notes/P05-OIDC-01.md` and `docs/P05-OIDC-01.md`; source existence alone is not runtime acceptance.
**Phase limitations:** MFA/passkeys, production HTTPS issuer, deployment, full Admin Console human login and global SSO logout are outside this phase. Only a real successful browser callback + verified teardown is enough for its narrower user/password OIDC acceptance.
## P05-OIDC-02 private forwarder remediation (pending real Gitea CI)
`run.sh` first verifies private Traefik on 127.0.0.1:80 responds HTTP 200 with `Host: localhost:8080`, then pulls versioned `alpine/socat:1.8.1.3`, verifies prebuilt socat entrypoint, resolves the image's immutable digest and starts by digest in the same private proxy network namespace. No `apk add` inside container and no public host binding. A bounded health probe checks the listener/socket and exact Host/issuer route; on failure it logs only stage/state/exit/HTTP status, not secrets. `provision.py` readiness probes HTTP status-only; official IAM_OWNER project/client/human APIs and Chromium login unchanged. Run #90 never tested client/user/browser flows; **next single Gitea run pending**.