Development¶
cd app && uv run pytest -q
cd app && MAILFLOW_URL=https://mail.example.org MAILFLOW_TOKEN=mfat_… uv run python ../dev/live-smoke.py # read-only
dev/check-allowlist.sh # has MailFlow's token allowlist changed upstream?
The unit tests use a fake MailFlow and no network. live-smoke.py calls read tools only and prints shapes, never mail content.
The path of a change to a release:
flowchart TD
C[a pull request] -->|tests and Ruff pass| M[main]
M -->|every push| I["image :main"]
M -->|a v* tag| R["image :X.Y.Z, :X.Y, :latest"]
Only a tag moves :latest, so a merge alone deploys nothing.
The documentation:
uvx --with mkdocs-material==9.7.7 --with 'mkdocs<2' mkdocs serve