fix: install dependencies from uv.lock, not a fresh resolve (RT#1564) #71
All Vouch review confidence checks passed
Residual risk 0.32 = Change Risk (0.56) × (1 − Review Confidence (0.44)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.56 · 271 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 10%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.335
No Reviewer Assigned
no_reviewer_assigned
0.120
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #71"
general
weight: 0.35
fatherlinux
What changed
The builder stage ran
pip install ., which reads onlypyproject.toml'sfloor-pins and re-resolves every dependency fresh on each build — versions
no test in this repo's CI ever ran against. This is the same failure shape
that caused a prod outage on mcp-gemini (shipped
google-genai3.0.0 vs theCI-tested 2.34.0; fixed in mcp-gemini #72) and in trentina.
A
lockstage is added at the top of the Containerfile that exports thecommitted, Dependabot-maintained
uv.lockwithuv export --frozen --no-dev. The builder stage now installs--no-emit-project --format requirements-txt
that exported requirements file with
pip install --no-depsbeforeinstalling the project itself, also with
--no-deps, so pip cannotre-resolve anything underneath either install.
Patch version bump (0.4.1 -> 0.4.2) in
pyproject.toml, the ContainerfileLABEL version=, and a dated## [0.4.2]/### Fixedentry inCHANGELOG.md. NoIMAGE_TAGfile exists in this repo. No dependencyversion, upper bound, or
uv.lockcontent was changed.Does this downgrade anything?
No. Built the image locally and dumped installed distributions via
importlib.metadata(the runtime image is distroless and has nopip),then diffed against
uv export --frozen --no-dev --no-emit-project, with lockfile environment markers evaluated--format requirements-txt
against the actual image interpreter (CPython 3.14.9, linux/x86_64).
Result: all 64 locked runtime dependencies installed in the image match
the lock exactly — no version mismatches in either direction. The only
packages in the image not in the lock export are
mcp-mediawiki-crunchtools==0.4.2(this repo's own package, installed
--no-depsafter the dependency layer)and
pip==26.2(the build tool itself). Unlike mcp-gemini, this repo hadnot silently drifted, so the fix changes nothing about what ships today —
it just pins the build to the tested set going forward so the next
Dependabot-driven dependency bump can't silently drift it either.
Part of RT#1564
🤖 Generated with Claude Code
https://claude.ai/code/session_01R7Y1jesjfgxHeqtKJCvay6