tools, instructions: Abhängigkeiten festgeschrieben - Lock-Dateien mit Hashes und 7 Tagen Abkühlzeit, Preflight-Stempel über das Lock, pip-audit und frische Auflösung im Nightly; Python 3.13-3.14 als zugelassene Spanne, CI auf beiden Enden (#245); 11.0.0-beta.1
CI / verify (push) Successful in 8m47s
CI / pwsh (push) Successful in 3m13s
CI / python314 (push) Successful in 5m35s
Converters / converters (push) Successful in 9m49s
Release / converters (push) Successful in 26s
Release / release (push) Successful in 39s
Release / wiki-mirror (push) Skipped

Files changed:
- .gitea/workflows/ci.yml
- .gitea/workflows/converters.yml
- .gitea/workflows/nightly.yml
- .gitea/workflows/release.yml
- .gitea/workflows/tracker-live.yml
- CHANGES.md
- INSTALL.md
- VERSION
- docs/dev/development.md
- docs/how-to/set-up-the-mcp-server.md
- instructions/dev/dependency-locks.md
- instructions/dev/publish-and-ci.md
- instructions/dev/stack-mode.md
- instructions/dev/tracker-testing.md
- instructions/mcp-read-server.md
- instructions/preflight.md
- tools/CONTRACT.md
- tools/README.md
- tools/chemenu/commands/dist_cmd.py
- tools/chemenu/commands/doctor.py
- tools/chemenu/install_doc.py
- tools/chemenu/prerequisites.py
- tools/chemenu/tests/test_dependency_locks.py
- tools/chemenu/tests/test_dist_cmd.py
- tools/chemenu/tests/test_doctor.py
- tools/chemenu/tests/test_install_doc.py
- tools/chemenu/tests/test_preflight.py
- tools/chemenu/tests/test_preflight_pwsh.py
- tools/lock_requirements.py
- tools/preflight.ps1
- tools/preflight.sh
- tools/prerequisites.txt
- tools/requirements-browser.lock
- tools/requirements-browser.txt
- tools/requirements-dev.lock
- tools/requirements-dev.txt
- tools/requirements-mcp.lock
- tools/requirements-mcp.txt
- tools/requirements.lock
- tools/requirements.txt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015uxGFdBAmyA23g1isCtGEY
This commit is contained in:
torbenandClaude Opus 5.5 committed 2026-11-18 21:34:20 +01:00
1 parent 0fce67e6b9
commit 37070ffae2
40 files changed
+3472 -159

No files matched your search

+59 -11
View File
@@ -9,13 +9,21 @@
# (`pwsh-ci-image.yml`). It runs on Linux, so what only a Windows machine can
# answer - the registry, the Store alias, a real Mark of the Web - is covered by
# the environment hooks `tools/preflight.ps1` documents, not by this job.
# `python314` is the other end of the Python span tools/prerequisites.txt admits
# (Gitea #245): `verify` runs the suite on 3.13, this job on 3.14 - what is
# admitted is exactly what is checked here.
#
# Every package comes from a lock under tools/, installed with --require-hashes:
# the stack's own (through the preflight), the MCP server's, and the test tools'
# in requirements-dev.lock. Nothing is installed by name, so no run takes whatever
# was published that morning (Gitea #243, #245).
#
# Runner: `linux-docker` is one of this Gitea instance's three routing labels
# (alongside `container-builder` and `k3s-deploy`). The job image is named
# explicitly rather than inherited from the runner's label mapping, which is
# not documented anywhere: `debian:trixie-slim` is the base the instance's
# container-build workflows already use, and Trixie's python3 is 3.13, past
# the 3.11 floor `doctor` enforces.
# container-build workflows already use, and Trixie's python3 is 3.13, the
# lower end of the span tools/prerequisites.txt admits.
#
# Pinning that image makes `nodejs` this workflow's own responsibility.
# `actions/checkout` is a JavaScript action, and act_runner runs it with `node`
@@ -111,15 +119,14 @@ jobs:
cp .wikitool-tools.json /tmp/tools-first.json
tools/preflight.sh > /tmp/preflight-second.txt
cmp .wikitool-tools.json /tmp/tools-first.json
# pytest-cov is CI-only: tools/requirements.txt describes what an
# *instance* needs at runtime and ships with `dist export`, and an
# instance does not measure this suite. Installed beside pytest for
# the same reason pytest itself is.
tools/.venv/bin/python -m pip install --quiet pytest pytest-cov
# The MCP server's dependency is optional for an instance but not for
# CI: its tests skip without it, and a skipped golden test is exactly
# how the server's output and the CLI's would drift apart unnoticed.
tools/.venv/bin/python -m pip install --quiet -r tools/requirements-mcp.txt
tools/.venv/bin/python -m pip install --quiet --require-hashes -r tools/requirements-mcp.lock
# The test tools - pytest, pytest-cov, radicale - are dev-only:
# tools/requirements.txt describes what an *instance* needs at runtime
# and ships with `dist export`, and an instance does not run this suite.
tools/.venv/bin/python -m pip install --quiet --require-hashes -r tools/requirements-dev.lock
- name: Tests
# Not run with WIKI_TRACE=0: two telemetry tests assert that a trace is
@@ -180,10 +187,10 @@ jobs:
- name: Start Radicale
# Its own step because the script hands the server's address to the suite through
# $GITHUB_ENV, which only reaches the steps after the one that wrote it.
# $GITHUB_ENV, which only reaches the steps after the one that wrote it. Radicale
# itself came in with requirements-dev.lock above.
run: |
set -eu
tools/.venv/bin/python -m pip install --quiet radicale
.gitea/scripts/start-radicale.sh tools/.venv/bin/python /tmp/radicale
- name: Live tracker suite (CalDAV)
@@ -420,7 +427,7 @@ jobs:
rm .wikitool-tools.json
tools/preflight.sh
cmp .wikitool-tools.json /tmp/tools-pwsh.json
tools/.venv/bin/python -m pip install --quiet pytest
tools/.venv/bin/python -m pip install --quiet --require-hashes -r tools/requirements-dev.lock
- name: The launcher, started from PowerShell
# `tools/wikitool` from pwsh resolves to wikitool.ps1, not the sh launcher - the one
@@ -436,3 +443,44 @@ jobs:
set -eu
cd tools
.venv/bin/python -m pytest -q chemenu/tests/test_preflight_pwsh.py chemenu/tests/test_preflight.py chemenu/tests/test_doctor.py chemenu/tests/test_bugreport_launcher.py
python314:
# The suite on the upper end of the Python span (Gitea #245). The official Python image
# on the same Debian base as `verify`, so the one difference between the two jobs is the
# interpreter: its python3 is 3.14, which the preflight finds and builds tools/.venv on.
# Only the suite - the distribution replay, the version gate and the live steps answer
# questions that do not depend on the Python minor, and the one runner works through
# the jobs of a push one after another.
runs-on: linux-docker
container:
image: python:3.14-slim-trixie
env:
WIKITOOL_SESSION_ID: ci-py314-${{ github.run_id }}
WIKI_TRACE_DIR: /tmp/wikitool-trace
steps:
- name: System dependencies
# `nodejs` for act_runner's checkout action, as in `verify`; no python3 package -
# the image's own 3.14 is the point of this job.
run: |
set -eu
apt-get update -qq
apt-get install -y --no-install-recommends git nodejs ripgrep ca-certificates
rm -rf /var/lib/apt/lists/*
- uses: actions/checkout@v7
- name: Tool environment
run: |
set -eu
git config --global --add safe.directory "$GITHUB_WORKSPACE"
tools/preflight.sh
tools/.venv/bin/python -c 'import sys; assert sys.version_info[:2] == (3, 14), sys.version'
tools/.venv/bin/python -m pip install --quiet --require-hashes -r tools/requirements-mcp.lock
tools/.venv/bin/python -m pip install --quiet --require-hashes -r tools/requirements-dev.lock
- name: Tests
run: |
set -eu
cd tools
.venv/bin/python -m pytest -q