2 Commits
Author SHA1 Message Date
kevinveenbirkenbachandClaude Opus 5.5 9e25443874 fix(tests): compare the extra state of two more dict fakes, one import style
CodeQL 978 and 979 (py/missing-equals): _Manager in the Funkwhale
design-preferences test and _Tripwire in the resource lookup test add
an attribute to a dict subclass without comparing it; both now define
__eq__ over the dict content plus that attribute. CodeQL 1138
(py/import-and-import-from): test_requires_python imports unittest and
unittest.mock once each instead of both import forms.

🎯 Fix: 92 %
💥 Break: 1 %
💸 Cost: 100 %
⏱️ Time: 100 %
🛡️ Security: ~100 %
🏆 Score: 91
🚦 Gate: ✅ 90/5, cost and time <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 10:09:40 +00:00
kevinveenbirkenbachandClaude Opus 5.5 5322c96891 fix(web-app-docs): hold the python base inside requires-python
PR 1448 let the image updater move the docs base to python:3.15-slim, where pip refuses infinito-nexus (requires-python >=3.11,<3.15), so every deploy that builds docs failed. docs now pins python:3.14-slim and sets follow: requires-python; followed_tags then proposes only tags whose Python 3 minor requires-python admits.

One reader, utils/requires_python.py, serves the updater filter, the new requires_python lookup (dev-python gets the same string the old regex produced), the ansible cap test and a lint that makes every role image pip-installing core from the repository declare that follow and pin a supported base.

MEDUSA finding MEDUSA-FTSC-SCAN-089 on utils/requires_python.py:25 (ModelAttackScanner, RLHF reward hacking) accepted as a reviewed false positive: the function only parses the repository own requires-python spec.

🎯 Fix: 93 %
💥 Break: 3 %
💸 Cost: –
⏱️ Time: –
🛡️ Security: 100 %
🏆 Score: 90
🚦 Gate: ✅ 90/5, cost and time <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 00:54:50 +00:00