chore(deps): update wolfi (versioned)#316
chore(deps): update wolfi (versioned)#316elastic-renovate-prod[bot] wants to merge 1 commit intomainfrom
Conversation
383d522 to
44f4f18
Compare
3c000a2 to
28942e0
Compare
222359a to
cf392c3
Compare
e13d32d to
5556142
Compare
2e9bed7 to
17a4e07
Compare
17a4e07 to
4286bf3
Compare
e3cdb3a to
3a28710
Compare
d6d1db2 to
7a6b2df
Compare
49316d1 to
85f9ddc
Compare
24a4ea5 to
f7dc527
Compare
223c4fa to
af3798f
Compare
a3fd3fe to
649eccd
Compare
10b750e to
07740e3
Compare
07799dc to
a74ddfc
Compare
de6a6fa to
618a517
Compare
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughIn ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
operator/Dockerfile (1)
25-25:⚠️ Potential issue | 🟠 MajorPython version mismatch between build stages.
Glibc stage uses Python 3.14 (line 7), but musl stage uses 3.12 (line 25). This could cause behavioral differences or incompatibilities between environments.
Update to
python:3.14-alpinefor consistency.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@operator/Dockerfile` at line 25, The musl build stage in the Dockerfile uses FROM python:3.12-alpine which mismatches the glibc stage's python:3.14; update the musl stage Dockerfile line (the FROM for the build-musl stage) to FROM python:3.14-alpine so both build stages use the same Python version.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@operator/Dockerfile`:
- Line 2: The Dockerfile uses ARG PYTHON_GLIBC_IMAGE_VERSION set to a Python
3.14 image, but the CI matrix doesn't include 3.14; update the CI workflow
matrix to include the py314 entry with value "3.14" so CI tests cover the same
Python version declared in pyproject.toml and used by ARG
PYTHON_GLIBC_IMAGE_VERSION in the operator image.
---
Outside diff comments:
In `@operator/Dockerfile`:
- Line 25: The musl build stage in the Dockerfile uses FROM python:3.12-alpine
which mismatches the glibc stage's python:3.14; update the musl stage Dockerfile
line (the FROM for the build-musl stage) to FROM python:3.14-alpine so both
build stages use the same Python version.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: a61c466c-7c53-44fb-a133-9d7a8de67986
📒 Files selected for processing (1)
operator/Dockerfile
| @@ -1,8 +1,8 @@ | |||
| ARG PYTHON_GLIBC_IMAGE="docker.elastic.co/wolfi/python" | |||
| ARG PYTHON_GLIBC_IMAGE_VERSION="v3.12.13-r1-dev@sha256:96116eea5be2f659814307582781f08693c5f99f50c540cf8386b8d4728b2013" | |||
| ARG PYTHON_GLIBC_IMAGE_VERSION="v3.14.4-r0-dev@sha256:961466e24fd586349517e11528efda32779a12d967f0403a17ea936303367fc9" | |||
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Verify Python 3.14 is not in CI test matrix
rg -n "py314|3\.14" .github/workflows/ci.ymlRepository: elastic/elastic-otel-python
Length of output: 53
🏁 Script executed:
git ls-files operator/DockerfileRepository: elastic/elastic-otel-python
Length of output: 90
🏁 Script executed:
wc -l operator/Dockerfile && cat -n operator/DockerfileRepository: elastic/elastic-otel-python
Length of output: 1763
🏁 Script executed:
wc -l .github/workflows/ci.yml && head -100 .github/workflows/ci.ymlRepository: elastic/elastic-otel-python
Length of output: 3168
🏁 Script executed:
rg -A 5 "python|PYTHON" .github/workflows/ci.yml | head -50Repository: elastic/elastic-otel-python
Length of output: 1385
🏁 Script executed:
cat -n operator/requirements.txtRepository: elastic/elastic-otel-python
Length of output: 3076
🏁 Script executed:
cat -n pyproject.toml | head -50Repository: elastic/elastic-otel-python
Length of output: 2164
Python 3.14 not tested in CI but used in operator image.
The Dockerfile builds with Python 3.14.4 (line 2, 7) and copies those packages into the final operator image, but the CI test matrix only covers 3.9–3.13. Since the project declares Python 3.14 support (pyproject.toml), add py314: "3.14" to the test matrix in .github/workflows/ci.yml before merging.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In `@operator/Dockerfile` at line 2, The Dockerfile uses ARG
PYTHON_GLIBC_IMAGE_VERSION set to a Python 3.14 image, but the CI matrix doesn't
include 3.14; update the CI workflow matrix to include the py314 entry with
value "3.14" so CI tests cover the same Python version declared in
pyproject.toml and used by ARG PYTHON_GLIBC_IMAGE_VERSION in the operator image.
| @@ -1,8 +1,8 @@ | |||
| ARG PYTHON_GLIBC_IMAGE="docker.elastic.co/wolfi/python" | |||
| ARG PYTHON_GLIBC_IMAGE_VERSION="v3.12.13-r1-dev@sha256:96116eea5be2f659814307582781f08693c5f99f50c540cf8386b8d4728b2013" | |||
| ARG PYTHON_GLIBC_IMAGE_VERSION="v3.14.4-r1-dev@sha256:cf184a81e58e93fd1886843735b53352e912de783fc2bf5965d7cb35c5cb30c1" | |||
There was a problem hiding this comment.
🟠 High operator/Dockerfile:2
The PYTHON_GLIBC_IMAGE_VERSION bump from 3.12 to 3.14 causes pip install --target to select wheels with the cp314 ABI. Native extension .so files (e.g., wrapt/_wrappers.cpython-314-x86_64-linux-gnu.so) will fail to load in user applications running Python 3.12 or 3.13, throwing ImportError at runtime when auto-instrumentation is injected. Additionally, the build-musl stage still uses Python 3.12, creating an inconsistency where musl and glibc auto-instrumentation require different Python versions.
-ARG PYTHON_GLIBC_IMAGE_VERSION="v3.14.4-r1-dev@sha256:cf184a81e58e93fd1886843735b53352e912de783fc2bf5965d7cb35c5cb30c1"
+ARG PYTHON_GLIBC_IMAGE_VERSION="v3.12.13-r1-dev@sha256:96116eea5be2f659814307582781f08693c5f99f50c540cf8386b8d4728b2013"🚀 Reply "fix it for me" or copy this AI Prompt for your agent:
In file operator/Dockerfile around line 2:
The `PYTHON_GLIBC_IMAGE_VERSION` bump from 3.12 to 3.14 causes `pip install --target` to select wheels with the cp314 ABI. Native extension `.so` files (e.g., `wrapt/_wrappers.cpython-314-x86_64-linux-gnu.so`) will fail to load in user applications running Python 3.12 or 3.13, throwing `ImportError` at runtime when auto-instrumentation is injected. Additionally, the `build-musl` stage still uses Python 3.12, creating an inconsistency where musl and glibc auto-instrumentation require different Python versions.
This PR contains the following updates:
e59b9c1->7adf8e4v3.12.13-r3-dev->v3.14.4-r4-devConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.