From f63096d4dcb08d52f6b79ca71941ff1c88b1bc93 Mon Sep 17 00:00:00 2001 From: Inferencebot Date: Fri, 20 Nov 2026 01:08:33 +0000 Subject: [PATCH] security: make Woodpecker status advisory until runners are isolated --- maintenance/woodpecker-ci.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/maintenance/woodpecker-ci.md b/maintenance/woodpecker-ci.md index a606b94..90db534 100644 --- a/maintenance/woodpecker-ci.md +++ b/maintenance/woodpecker-ci.md @@ -1,8 +1,9 @@ # Woodpecker CI (server + agent) -Self-hosted CI for the co-op's repos. **As of 2026-11-11 the CI is WORKING -end to end for push-gated test runs** — `co-op/docs` (manual, build+deploy), -`code/member-portal` and `code/admin-panel` (push-triggered test gating). Read +Self-hosted CI for the co-op's repos. **As of 2026-11-20 tests are ADVISORY, +not a merge gate** — `co-op/docs` (manual, build+deploy), `code/member-portal`, +`code/admin-panel` and `code/member-dashboard` (push-triggered test runs). +Read the *Current state* section for what is proven and the traps that remain. Two Cloudron apps, added 2026-11-03: @@ -72,12 +73,15 @@ CLI, and a pinned MkDocs toolchain at `/opt/docs-venv`. It **runs as root** 2026-11-13 with the same push gate + `ci/woodpecker/push/woodpecker` status check as the panel). Note `co-op/member-portal` is a Gitea REDIRECT to `code/member-portal` — the canonical repo lives in the `code` org (Gitea id 6). -- **Test gating (added 2026-11-11):** `.woodpecker.yml` on the apps' default - branches runs their EXISTING suites on every push (portal test files; - admin-panel guest-guard + oidc/chart sync pins + 4 page-JS harnesses via the - vendored `tests/check-page-js.sh`; member-dashboard oidc/chart sync pins + 2 - page-JS harnesses). Gitea branch protection on `main` of each app repo - requires the status context `ci/woodpecker/push/woodpecker` to merge. +- **Test runs are ADVISORY, not a merge gate (changed 2026-11-20):** + `.woodpecker.yml` on the apps' default branches runs the existing suites on + every push (portal test files; admin-panel guest-guard + oidc/chart sync pins + + 4 page-JS harnesses; member-dashboard oidc/chart sync pins + 2 page-JS + harnesses). Branch protection no longer requires the + `ci/woodpecker/push/woodpecker` status context: the runner shares one root + container, so a pipeline can forge statuses. Owners review is the trust + boundary; CI failures are visible but do not block a reviewed merge. Do not + turn the status requirement back on until pipelines are isolated. - **Shared chart module (added 2026-11-13):** `ops-docs/scripts/shared/ coop_chart.js` is the canonical chart rendering + hover-tooltip module; byte-identical copies live at `app/coop_chart.js` in both UI apps, spliced