feat(ci): add 3.14/3.15 base images and scenario exclusions (PROF-15511) - #165
Draft
vlad-scherbich wants to merge 9 commits into
Draft
feat(ci): add 3.14/3.15 base images and scenario exclusions (PROF-15511)#165vlad-scherbich wants to merge 9 commits into
vlad-scherbich wants to merge 9 commits into
Conversation
This was referenced Jul 26, 2026
Fixes ruff format --check CI failure (extra blank line in code block).
Pin CI ruff to match pyproject.toml expectations and add a minimal pre-commit config (ruff-format + ruff --fix) so local runs match CI.
vlad-scherbich
force-pushed
the
vlad/gate-infra
branch
from
July 27, 2026 19:37
4fb551f to
73e332f
Compare
Mirror dd-trace-py's scripts/lint workflow without git hooks — works with Datadog global core.hooksPath. Matches the pinned CI ruff job.
vlad-scherbich
force-pushed
the
vlad/gate-infra
branch
from
July 27, 2026 21:40
73e332f to
18887b8
Compare
ruff check --fix can rewrite imports; formatting last avoids leaving files unformatted after a single scripts/format or pre-commit run.
vlad-scherbich
force-pushed
the
vlad/gate-infra
branch
from
July 27, 2026 21:45
18887b8 to
2c21efa
Compare
- Add requirements-dev.txt as the only ruff version pin - CI and scripts reference it; local pre-commit hook runs scripts/lint - Document Python lint setup in README
vlad-scherbich
force-pushed
the
vlad/gate-infra
branch
from
July 27, 2026 22:01
2c21efa to
a283a8c
Compare
…am gate Add RE2-safe list-scenarios -exclude and ci.yml test_scenarios_exclude so wheel-only Python scenarios are not silently skipped. Ship Python 3.14/3.15 base images, dd-trace-py STS trigger policy, and a minimal migration gate index README; scenario workloads land in follow-up PRs.
vlad-scherbich
force-pushed
the
vlad/gate-infra
branch
from
July 27, 2026 22:05
a283a8c to
9dfaad8
Compare
Absolute alloc_objects counts for the a();slice stack are unstable on CI runners (16484 vs expected 100). Keep inuse_* and alloc_space ratio checks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prev: #174 | Next: #166 (parallel after #165: #167, #168)
Motivation
dd-trace-py needs a 3.14 → 3.15 migration gate: paired prof-correctness scenarios that compare baseline (3.14) vs candidate (3.15) profiler output on the same workloads. Monolithic draft #161 mixed infra and scenarios; this PR lands infra only so scenario work can stack in small, reviewable follow-ups.
Summary
Foundation for the Python downstream gate — no runnable scenario directories yet.
list-scenarios -excludeflag +test.ymlwiring;ci.ymlsetstest_scenarios_exclude: '_3\.15$|^python_downstream_gate$'so Python CI no longer silently skips scenarios (previous unsupported lookahead regex)base_images/Dockerfile.python-3.14andpython-3.15for gate scenariosscenarios/python_downstream_gate/README.mddocuments the 22-scenario default regexp and local run instructions (updated as scenarios land)test_scenariosinput.github/chainguard/dd-trace-py.github.trigger-ci.sts.yamlfor GitHub-side downstream triggersMerge order: land first. Scenario PRs (#166–#172) stack on or parallel to this branch.
Test plan
go test ./cmd/list-scenarios/...go test -run TestSchemaValidation