test(ci): diagnose socat startup and add private Python fallback

This commit is contained in:
Vib Tools committed 2026-11-22 10:08:09 -08:00
1 parent 5f542a6aa3
commit 7b80f411b2
24 files changed
+338 -31

No files matched your search

+5
View File
@@ -21,3 +21,8 @@ The environment is a temporary `zitplane-p05-{GITHUB_RUN_ID}` Compose stack cont
**P05-OIDC-02 single-run evidence:** Gitea Run #91 tested `4831165`: private Traefik:80/Host HTTP 200 and versioned socat/digest verification PASS, then run-owned forwarder process `exited` with code 1. `provision.py` and `browser.cjs` **not run**. Cleanup PASS; no owned containers/network/credentials left. The status-only readiness change exists in source but is not CI-proven because the forwarder failed first. Startup errno/error class requires a new approved CI-only P05-OIDC-03 scope. No reruns under P05-OIDC-02.
## P05-OIDC-03: forwarder diagnosis and same-run Python fallback
The official four-service P02 backend, original browser/auth and Gitea workflow remain read-only. Run #91 proved private Traefik/Host route PASS but socat process exited 1. Now a single run-owned socat start checks status/HTTP and classifies only safe startup error classes from **pre-credential** logs. When unhealthy, only the owned diagnostic sidecar is removed; its container name/owner label and private proxy net namespace are reused by official `python:3.12-alpine` pinned to its pulled sha256 registry digest. Only the tracked `forwarder.py` is copied; it transparently relays 127.0.0.1:8080 → 127.0.0.1:80 with no HTTP parsing, storage, external port or token access. Both must satisfy original issuer/Host HTTP 200 before project/client/user creation. The existing `always()` cleanup is unchanged. Full browser login/session acceptance requires actual Gitea result; **source is not CI-verified yet**.