From ca10a9895fb15db3d9002814106ed9b5249db8f8 Mon Sep 17 00:00:00 2001 From: Brandyn / Techy Date: Mon, 2 Nov 2026 21:55:41 -0600 Subject: [PATCH] bot docs: pytest gates the release, the website's node tests are advisory Co-Authored-By: Claude Opus 5 (1M context) --- bot/AGENT.md | 7 ++++--- bot/README.md | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bot/AGENT.md b/bot/AGENT.md index 1a4114c..1817cca 100644 --- a/bot/AGENT.md +++ b/bot/AGENT.md @@ -134,9 +134,10 @@ message content; Message Content is a privileged intent, enable it only if you n ## 6. Working with the admin -- **Source**: push to the community Gitea. CI runs your tests on the `python` runner label, builds the release - bundle (§1a), and on `main` installs it on the server. Keep `main` deployable: a red test stops the deploy, - and a bundle that fails its checksum check is refused. +- **Source**: push to the community Gitea. CI runs on the `python312` runner label (CPython 3.12 plus node), + builds the release bundle (§1a), and on `main` installs it on the server. Keep `main` deployable: a failing + **pytest** run stops the build and the deploy, and a bundle that fails its checksum check is refused. The + website's **node tests are advisory** — a failure is annotated as a warning and blocks nothing. - **Need infra?** Open a Gitea issue titled `infra: …` stating the exact change: a new env var and why, a mount, a Caddy path that should skip login (e.g. a public webhook endpoint), a new database. Don't work around the proxy or the firewall. diff --git a/bot/README.md b/bot/README.md index 1bdcc95..d55cfbf 100644 --- a/bot/README.md +++ b/bot/README.md @@ -10,7 +10,8 @@ Your repo's Gitea Actions workflow builds a **release bundle**: one tar.gz holdi checks its signature and every checksum, swaps it into `/srv/bot/app` (bind-mounted at `/app`, previous release kept for `--rollback`) and restarts the container. The install log comes back in the CI job. -A branch or pull request runs the tests and builds the artifact, and deploys nothing. +A branch or pull request runs the tests and builds the artifact, and deploys nothing. The python tests gate the +build; the website's node tests are advisory and only add a warning when they fail. ## Your secrets live in Gitea