Repository navigation
ci: install ddtrace from dd-trace-py main for nightly Python jobs - #227
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 45912ae5b5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
This is the biggest concern with this change IMO. Can we dynamically calculate the latest stable MAJOR.MINOR version and have these jobs pin that version? I imagine a daily cron job that will find the latest stable pin, and auto-create a PR if it needs updating for these jobs. |
IMHO, I prefer running it on nightly ddtrace to catch regressions earlier than running this on released version |
Agree with that as well; if we do this then all minor versions will have been tested because they are always from some commit on main. |
What does this PR do?
Makes the nightly Python jobs (3.12, 3.14 and 3.15) install ddtrace from the latest dd-trace-py
mainbuild. A newddtrace_mainjob readsmain/metadata.txtonce and passes that commit's<sha>/install.shto every Python job, so all shards and both gates test the same build. It also makes thepython_deep_stackregex accept<1 frame omitted>.Motivation
6c2d109,1b27090) were deleted from the S3 bucket after about 45 days. Since 2026-10-22, every gate job has failed withcurl: (22) ... 404(example run). dd-trace-py overwritesmain/on everymainbuild, so it doesn't expire. It includes cp314 and cp315 wheels.python_sample_countchange showed up the day 4.16.0 was released.python_deep_stack: dd-trace-py #19073, shipped in 4.15.0, stops unwinding atmax_framesand emits<1 frame omitted>. The old pins predate that change. The 3.12 variant already usesframes?.Trade-off: these jobs now follow dd-trace-py
main, so a dd-trace-py regression can turn them red.python_basic_memory_3.12still pinsddtrace==4.0.0. #192 moves it to the latest version.Validation
CI passes all checks.
ddtrace_mainresolved2bb167a, and thepython,python 3.14andpython 3.15shards all installed from2bb167a…/install.sh(run 40592563097).