docs: close P05 backend CI acceptance with run 86 evidence
This commit is contained in:
1 parent
03fb58954d
commit
1a602551ad
17 files changed
+78
-27
No files matched your search
+28
-1
@@ -1,7 +1,7 @@
|
||||
# ZitPlane P05-CI-03 — Backend Runtime Final Acceptance
|
||||
|
||||
**Date:** 2026-11-22
|
||||
**Status:** APPROVED — PRE-CHANGE PLAN (CI not started)
|
||||
**Status:** BACKEND-ONLY CI ACCEPTANCE CLOSED/PASS — Run #86 SUCCESS; result documented and approved Git sync.
|
||||
**Baseline / Gitea main:** `485755800504a7dea6e4c303e6b39ec9cc610b54`
|
||||
**Prior CI:** [Run #83](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/83), tested `c27fe3d`; three jobs PASS (Account Portal, Login V2 including 1219 unit tests, High/Critical security gate), backend FAIL when proxy attempted to publish occupied host port 8080.
|
||||
|
||||
@@ -33,3 +33,30 @@ E. Document exact CI SHA, PASS/FAIL/BLOCKED, remedy/outstanding risks and accept
|
||||
Backend PASS only if effective Docker config is portless, four services reach the intended state, Postgres restart retains synthetic marker, real local ZITADEL ready + OIDC discovery + JWKS and negative test cases all PASS, and CI-owned network/volumes/container cleanup verified. Else mark FAILED/BLOCKED and preserve real source/log evidence.
|
||||
|
||||
**Not in scope:** real OIDC authorized login/callback, Admin Console human login, MFA/SSO, dependency Moderate fixes (18 Login + 1 Account package), UI redesign or production TLS/Coolify.
|
||||
|
||||
|
||||
## Implementation, exact Gitea evidence and closure — 2026-11-22
|
||||
|
||||
**Source commit pushed before dispatch:** `03fb58954dec886128a4011b6121754cbcdd79ff`.
|
||||
**Single focused Gitea run:** [#86](https://dev.ivib.cc/vibtools/ZitPlane/actions/runs/86), event `workflow_dispatch`, branch `main`, tested SHA `03fb58954dec886128a4011b6121754cbcdd79ff`. Started 2026-11-22 13:47:58 UTC, completed 13:48:56 UTC, **overall SUCCESS**. Exactly one backend-only job (#184); all four job steps completed SUCCESS, including always-run cleanup. No Account/Login/Security builds or full suites rerun.
|
||||
|
||||
**Implemented files:** `.gitea/workflows/p05-backend-acceptance.yml` manual job; `tests/ci/backend_acceptance.sh` for ownership preflight/config, health, disposable Postgres marker and OIDC checks; `tests/ci/backend_cleanup.sh` for guarded disposal and explicit no-leftovers verification. Existing `compose.portless.override.yaml` and `oidc_discovery.py` reused without modification. Backend core, P02 Compose, Login V2/Account Portal, production config and package/lock versions unchanged. README/MINIFEST/project/docs updated in the approved scope.
|
||||
|
||||
### Terminal CI evidence
|
||||
|
||||
| Check | Result | Log marker/observable evidence |
|
||||
| --- | --- | --- |
|
||||
| Alpine Git + checkout, Docker/Compose preflight | **PASS** | Job #184 first two steps SUCCESS; `ZITPLANE_DOCKER_DAEMON_PREFLIGHT_PASS`; Docker 29.9.3 / Compose v5.7.2 |
|
||||
| P02 backend static regression | **PASS** | 3/3 focused `test_backend_dev.py` cases; `ZITPLANE_P02_BACKEND_CONTRACTS_PASS` |
|
||||
| Portless CI effective Compose | **PASS** | `ZITPLANE_CI_PORTLESS_CONFIG_PASS`; no host proxy ports; occupied 8080 irrelevant |
|
||||
| Four services | **PASS** | PostgreSQL, ZITADEL API, prebuilt Login V2 healthy; Traefik proxy running/healthy; four `ZITPLANE_SERVICE_RUNNING_PASS` entries and `ZITPLANE_FOUR_SERVICES_READY_PASS` |
|
||||
| Postgres restart persistence | **PASS** | Disposable marker table created, synthetic row inserted, container restarted, row reread; `ZITPLANE_POSTGRES_RESTART_PERSISTENCE_PASS` |
|
||||
| OIDC negative security contracts | **PASS** | `ZITPLANE_OIDC_NEGATIVE_CONTRACTS_PASS` rejects mismatched issuer/unsafe endpoint/JWKS fixtures |
|
||||
| Real backend ready, OIDC issuer/discovery, public JWKS | **PASS** | `ZITPLANE_BACKEND_READY_PASS`, `ZITPLANE_OIDC_DISCOVERY_PASS` with `http://localhost:8080`, `ZITPLANE_OIDC_JWKS_PASS`, `ZITPLANE_BACKEND_OIDC_READY_DISCOVERY_JWKS_PASS` |
|
||||
| Always owned-resource cleanup | **PASS** | Compose down -v removed owned containers, volumes and fixed network; `ZITPLANE_BACKEND_CLEANUP_VERIFIED_PASS`; cleanup workflow step SUCCESS |
|
||||
|
||||
**Verdict:** P05-CI-03 backend-only **ACCEPTED/PASS**. No local PC builds/tests/Docker/dev server were executed and no real-user/production deployment was touched. One Gitea cycle, not a repeated loop. All credentials were generated temporarily inside the runner, not committed or logged.
|
||||
|
||||
**Still outside backend acceptance:** full authorized OIDC client/callback/positive portal session, Admin Console human sign-in, MFA/passkeys, federated logout, production HTTPS/Coolify and security patching of the 18 Moderate Login advisory records plus the 1 Moderate affected Account Portal `next` package. High/Critical audit gates passed in earlier Run #83; moderate issues remain OPEN. Future phases: targeted dependency-only P05-SEC-01, then isolated authenticated user P05-OIDC-01 with separate scope.
|
||||
|
||||
**Source/security audit:** initial CI-source commit had 22 approved files, 0 unauthorized paths, 0 staged secret files, 0 broken checked relative links, 724/724 Git-tracked source paths inventoried and all five affected directory manifests exact. The final documentation-only follow-up commit records Run #86 terminal results; its SHA is NOT the tested CI source SHA.
|
||||
Reference in new issue
Block a user