feat(python): add mem_domain 3.14/3.15 gate scenarios (PROF-15511) - #167
Draft
vlad-scherbich wants to merge 6 commits into
Draft
feat(python): add mem_domain 3.14/3.15 gate scenarios (PROF-15511)#167vlad-scherbich wants to merge 6 commits into
vlad-scherbich wants to merge 6 commits into
Conversation
This was referenced Jul 26, 2026
vlad-scherbich
force-pushed
the
vlad/gate-scenarios-mem-domain
branch
2 times, most recently
from
July 27, 2026 19:33
7936bf9 to
04ac80f
Compare
vlad-scherbich
force-pushed
the
vlad/gate-infra
branch
from
July 27, 2026 19:37
4fb551f to
73e332f
Compare
vlad-scherbich
force-pushed
the
vlad/gate-scenarios-mem-domain
branch
from
July 27, 2026 19:38
04ac80f to
54ba6de
Compare
vlad-scherbich
force-pushed
the
vlad/gate-infra
branch
from
July 27, 2026 21:40
73e332f to
18887b8
Compare
vlad-scherbich
force-pushed
the
vlad/gate-scenarios-mem-domain
branch
from
July 27, 2026 21:40
54ba6de to
3ca0ab2
Compare
vlad-scherbich
force-pushed
the
vlad/gate-infra
branch
from
July 27, 2026 21:45
18887b8 to
2c21efa
Compare
vlad-scherbich
force-pushed
the
vlad/gate-scenarios-mem-domain
branch
from
July 27, 2026 21:45
3ca0ab2 to
ad2f88c
Compare
vlad-scherbich
force-pushed
the
vlad/gate-infra
branch
from
July 27, 2026 22:01
2c21efa to
a283a8c
Compare
vlad-scherbich
force-pushed
the
vlad/gate-scenarios-mem-domain
branch
from
July 27, 2026 22:01
ad2f88c to
ed55d6d
Compare
vlad-scherbich
force-pushed
the
vlad/gate-infra
branch
from
July 27, 2026 22:05
a283a8c to
9dfaad8
Compare
vlad-scherbich
force-pushed
the
vlad/gate-scenarios-mem-domain
branch
from
July 27, 2026 22:05
ed55d6d to
1609440
Compare
3 tasks
vlad-scherbich
force-pushed
the
vlad/gate-scenarios-mem-domain
branch
from
July 27, 2026 22:29
1609440 to
42dbb08
Compare
vlad-scherbich
force-pushed
the
vlad/gate-infra
branch
from
August 16, 2026 13:42
9c2bf40 to
49e69dd
Compare
vlad-scherbich
added a commit
that referenced
this pull request
Aug 16, 2026
Demo-only: mem_domain heap-space expectation deliberately wrong (99% ±0). Fix expected_profile.json to demo PASS.
vlad-scherbich
force-pushed
the
vlad/gate-scenarios-mem-domain
branch
from
August 16, 2026 13:42
42dbb08 to
e986834
Compare
vlad-scherbich
force-pushed
the
vlad/gate-infra
branch
from
August 16, 2026 20:13
49e69dd to
9836924
Compare
vlad-scherbich
added a commit
that referenced
this pull request
Aug 16, 2026
Demo-only: mem_domain heap-space expectation deliberately wrong (99% ±0). Fix expected_profile.json to demo PASS.
vlad-scherbich
force-pushed
the
vlad/gate-scenarios-mem-domain
branch
from
August 16, 2026 20:14
e986834 to
90b32f6
Compare
- ddprof_live_heap: widen alloc-space margin to 15% (CI often ~94% vs 100% due to C++ runtime overhead; see scenario README) - ddprof_julia: pin julia:1.11.5-bookworm instead of :latest, and allow the first CPU profile cycle to fail when JIT symbols are not yet exported
…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 migration gate index README. Scenario workloads land in follow-up PRs.
vlad-scherbich
force-pushed
the
vlad/gate-infra
branch
from
August 16, 2026 20:21
9836924 to
b34a3be
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.
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.
MEM-domain heap-space feature coverage (off by default). Stacks on gate-infra (PR-0), parallel to core gate scenarios (PR-0a).
Demo-only: mem_domain heap-space expectation deliberately wrong (99% ±0). Fix expected_profile.json to demo PASS.
vlad-scherbich
force-pushed
the
vlad/gate-scenarios-mem-domain
branch
from
August 16, 2026 20:21
90b32f6 to
2c5d1fe
Compare
vlad-scherbich
force-pushed
the
vlad/gate-infra
branch
from
August 16, 2026 20:36
b34a3be to
e0a5a0f
Compare
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: #165 | Parallel: #166, #168
Motivation
Memory-domain profiling (
DD_PROFILING_MEMORY_MEM_DOMAIN_ENABLED) needs paired 3.14/3.15 gate scenarios. Not in the default 22-scenario downstream regexp (feature-flagged).Summary
Adds
python_mem_domain_3.14/python_mem_domain_3.15with heap-space expectations andallow_first_profile_failure.Demo FAIL / PASS
Intentional FAIL (current):
python_mem_domain_3.14heap-space expectation 99% ±0.python / scenarios *python_mem_domain_3.14profile mismatchTo demo PASS: revert top commit or restore first stack
percent/error_marginto50/50inexpected_profile.json.Test plan
go test -run TestSchemaValidationruff checkpython / scenariosfails on mem_domain (demo)TEST_SCENARIOS=python_mem_domain_3\.15+DDTRACE_INSTALL_URL