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
+1
-1
@@ -11,6 +11,6 @@ This is the chronological **index**. Phase-specific scope/implementation evidenc
|
||||
| 2026-11-22 | DOCS-01 | Knowledge folders, first-party file/function maps, exact source inventory, user guides and mandatory AGENTS documentation policy | Documentation implementation complete; focused manifest/link/scope audit PASS; Git SHA in DOCS-01 local commit, see [DOCS-01.md](DOCS-01.md) |
|
||||
| 2026-11-22 | P05-CI-01 | Gitea verification workflow, dependency lock reconciliation, narrow checkout remediation | Run #81: 2 PASS/2 FAIL; 1219 Login tests PASS, Account TS2345 and Docker checkout blocked; see [P05-CI-01.md](P05-CI-01.md) |
|
||||
| 2026-11-22 | P05-CI-02 | Narrow Auth.js TS2345 fix, CI negative tests, advisory triage and post-run portless override | Run #83: Account/Login/Security PASS, Docker FAIL on host 8080; cleanup PASS; portless override unverified. [Evidence](P05-CI-02.md) |
|
||||
| 2026-11-22 | P05-CI-03 | Backend-only Gitea CI workflow and disposable portless/persistence/OIDC acceptance scripts | Source preparation; one CI run pending, [scope/evidence](P05-CI-03.md) |
|
||||
| 2026-11-22 | P05-CI-03 | Backend-only Gitea verification of portless Compose, 4 services, Postgres persistence, OIDC/JWKS and safe cleanup | **Run #86 SUCCESS** on `03fb589`, no unrelated suites rerun; [evidence](P05-CI-03.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.
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
| [DOCS-01.md](DOCS-01.md) | This documentation-governance change: baseline, scope, plan, implementation and closure | DOCS-01 / implementation complete |
|
||||
| [P05-CI-01.md](P05-CI-01.md) | Scope/roots, allowed paths, implementation and Gitea CI acceptance evidence | P05-CI-01 / source complete, CI blockers open |
|
||||
| [P05-CI-02.md](P05-CI-02.md) | Auth.js narrow patch, isolated Gitea CI gate, advisory triage and exact acceptance evidence | P05-CI-02 / run #83 completed; residual Docker gate blocked |
|
||||
| [P05-CI-03.md](P05-CI-03.md) | Backend-only pre-change scope, disposable CI run evidence and exact acceptance result | P05-CI-03 / planned, run pending |
|
||||
| [P05-CI-03.md](P05-CI-03.md) | Backend-only pre-change scope, disposable CI run evidence and exact acceptance result | P05-CI-03 / Run #86 SUCCESS; acceptance complete |
|
||||
| [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.
|
||||
+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