Repository navigation
[2.1] fix(ingestion): keep uv.lock out of the dev ingestion image (#38116) - #38127
Conversation
Image scanners read the shipped lockfile and report its Python 3.10-only entries (dnspython 2.8.0, tornado 6.5.10, filelock 3.32.7) as installed, although the image runs Python 3.12 and installs with pip. A Dockerfile.ci-specific .dockerignore excludes it, and the build fails if it reaches the image. (cherry picked from commit fb2f2b3)
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved 🟡 Medium riskExcluding uv.lock changes the ingestion dev image contents, and the guard could fail builds when the Dockerfile-specific ignore file is not applied. Keeps VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Describe your changes:
Fixes #
Backport of #38116 to 2.1. Clean cherry-pick.
Dockerfile.ci.dockerignorekeepsingestion/uv.lockout of the dev ingestion image. Inspector was reporting the lockfile's Python 3.10-only entries (dnspython 2.8.0, tornado 6.5.10, filelock 3.32.7) as installed.Dockerfile.cifails the build ifuv.lockstill reaches the image.2.0 needs no backport: it has no
uv.lock.Type of change:
🤖 Generated with Claude Code


Confidence Score: 5/5
This PR appears safe to merge.Summary
Keeps
ingestion/uv.lockout of the dev Docker Operator image without changing how packages are installed.No actionable issues found. The image was not built during this review.
Reviews (1) · Last reviewed commit: "fix(ingestion): keep uv.lock out of the ..." · Reviewed by Greptile