mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 19:56:53 +00:00
A version written into a RUN pip install line is read by nothing: dependabot's pip ecosystem scans requirements*.txt and pyproject.toml, and the repository's own pip updater scans the package_name: key of an Ansible task. Neither opens a build recipe, so a pin set there ages until somebody edits the Dockerfile by hand. The rule is hard-failing and covers every tracked file under roles/ named Dockerfile or Dockerfile.<something>, template variants included. A pin counts only inside the pip install command itself: the scan follows backslash continuations, stops at the next shell separator, skips whole-line comments, and ignores a version supplied by an ARG or a Jinja expression. Suppress with # nocheck: dockerfile-pip-pin, catalogued in suppression.md. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Test guidance 🧪
This directory contains contributor guidance for automated tests. Its scope is how lint, unit, integration, regression, and Playwright coverage should be structured, selected, and validated.