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

+52
View File
@@ -25,6 +25,15 @@
# container, so it is installed before the checkout or the job dies with exit
# 127. Do not re-derive this; see the header of ci.yml.
#
# Two more kinds of drift happen with no commit at all, in the packages the locks under
# tools/ pin (Gitea #245), and the last three steps watch them without touching the tree:
# a vulnerability published for a pinned version (`pip-audit` against every lock - red
# means a security lift is due), and the next regular lift breaking the suite (a fresh
# resolution with the same 7-day cooldown, in a venv of its own, and the suite against
# it - red means the lift will need more than a new lock). They run even when an
# earlier step failed, so a red lint never hides them. The procedure for either answer
# is instructions/dev/dependency-locks.md.
#
# Failure is meant to be visible without opening the Actions page. That is
# Gitea's own run notification, not something this workflow builds: a job that
# files its own issue needs an Actions token with issue-write and a dedup rule,
@@ -100,3 +109,46 @@ jobs:
set -eu
tools/wikitool sources coverage
tools/wikitool migrate status
- name: Audit tools, in a venv of their own
# pip-audit and uv come from the test tools' lock - never into tools/.venv, which
# stays exactly what the preflight installed.
if: ${{ !cancelled() }}
run: |
set -eu
python3 -m venv /tmp/audit
/tmp/audit/bin/python -m pip install --quiet --require-hashes -r tools/requirements-dev.lock
- name: No known vulnerability in any lock
# --disable-pip audits the pinned versions as written, installing none of them.
if: ${{ !cancelled() }}
run: |
set -eu
/tmp/audit/bin/pip-audit --disable-pip --require-hashes --progress-spinner off \
-r tools/requirements.lock -r tools/requirements-mcp.lock \
-r tools/requirements-browser.lock -r tools/requirements-dev.lock
- name: The suite passes against a fresh resolution
# What the next regular lift would produce today: every source file resolved again
# with the cooldown, written outside the tree, installed into a venv of its own.
if: ${{ !cancelled() }}
run: |
set -eu
PATH="/tmp/audit/bin:$PATH" python3 tools/lock_requirements.py --out /tmp/fresh-locks
python3 -m venv /tmp/fresh
for lock in requirements requirements-mcp requirements-dev; do
/tmp/fresh/bin/python -m pip install --quiet --require-hashes -r "/tmp/fresh-locks/${lock}.lock"
done
cd tools
/tmp/fresh/bin/python -m pytest -q -p no:cacheprovider
- name: The tree is unchanged
if: ${{ !cancelled() }}
run: |
set -eu
changed=$(git status --porcelain)
if [ -n "$changed" ]; then
echo "The nightly changed the tree:"
printf '%s\n' "$changed"
exit 1
fi