feat(python): add alloc gate scenarios for 3.14/3.15 migration (PROF-15511) - #170
Draft
vlad-scherbich wants to merge 2 commits into
Draft
feat(python): add alloc gate scenarios for 3.14/3.15 migration (PROF-15511)#170vlad-scherbich wants to merge 2 commits into
vlad-scherbich wants to merge 2 commits into
Conversation
This was referenced Jul 26, 2026
vlad-scherbich
force-pushed
the
vlad/python-alloc-gate-scenarios
branch
from
July 27, 2026 19:20
c8d1687 to
551bc6b
Compare
vlad-scherbich
force-pushed
the
vlad/python-alloc-gate-scenarios
branch
from
July 27, 2026 19:33
551bc6b to
c486a46
Compare
vlad-scherbich
force-pushed
the
vlad/python-alloc-gate-scenarios
branch
from
July 27, 2026 19:38
c486a46 to
ea82843
Compare
vlad-scherbich
force-pushed
the
vlad/python-alloc-gate-scenarios
branch
from
July 27, 2026 21:41
ea82843 to
4c68fa7
Compare
vlad-scherbich
force-pushed
the
vlad/python-alloc-gate-scenarios
branch
from
July 27, 2026 21:45
4c68fa7 to
fc29e5a
Compare
vlad-scherbich
force-pushed
the
vlad/python-alloc-gate-scenarios
branch
from
July 27, 2026 22:01
fc29e5a to
f59c64e
Compare
vlad-scherbich
force-pushed
the
vlad/python-alloc-gate-scenarios
branch
from
July 27, 2026 22:05
f59c64e to
43654d5
Compare
vlad-scherbich
force-pushed
the
vlad/python-alloc-gate-scenarios
branch
from
July 27, 2026 22:29
43654d5 to
bb334c5
Compare
Add paired python_alloc scenarios asserting alloc-space and alloc-samples with thread-name labels, reusing the python_basic_memory workload. Gate grows from 12 to 14 scenarios.
Python 3.14 alloc profiles use Target.method stack frames and numeric thread IDs, so drop MainThread label assertions and update stack regexes.
vlad-scherbich
force-pushed
the
vlad/python-alloc-gate-scenarios
branch
from
July 28, 2026 02:38
86ac60a to
7773030
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: #169 | Next: #171
Motivation
Allocation profiling (
alloc-space,alloc-samples) must produce consistent profiles across 3.14 and 3.15 — a key migration check for the memory collector and stack unwinder interaction.Summary
Adds paired
python_alloc_3.14/3.15scenarios:python_basic_memory_3.11allocation workloadalloc-spaceandalloc-samplesin expected profilesDDTRACE_INSTALL_URLGate grows 8 → 10 scenarios.
Test plan
go test -run TestSchemaValidationruff checkon scenario sourcesDDTRACE_INSTALL_URL