feat(python): add alloc gate scenarios for 3.14/3.15 migration (PROF-15511) - #170
Draft
vlad-scherbich wants to merge 3 commits into
Draft
feat(python): add alloc gate scenarios for 3.14/3.15 migration (PROF-15511)#170vlad-scherbich wants to merge 3 commits into
vlad-scherbich wants to merge 3 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
vlad-scherbich
force-pushed
the
vlad/python-alloc-gate-scenarios
branch
from
July 28, 2026 02:38
86ac60a to
7773030
Compare
vlad-scherbich
added a commit
that referenced
this pull request
Aug 16, 2026
vlad-scherbich
force-pushed
the
vlad/python-alloc-gate-scenarios
branch
from
August 16, 2026 13:43
7773030 to
74afe9d
Compare
vlad-scherbich
added a commit
that referenced
this pull request
Aug 16, 2026
vlad-scherbich
force-pushed
the
vlad/python-alloc-gate-scenarios
branch
from
August 16, 2026 20:14
74afe9d to
62a75c4
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
August 16, 2026 20:21
62a75c4 to
cb6eff5
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 stay consistent across 3.14 and 3.15.Summary
Adds
python_alloc_3.14/python_alloc_3.15with dual profile-type expectations.Demo FAIL / PASS
Intentional FAIL (current):
python_alloc_3.14first alloc-samples stack 99% ±0 (was 33% ±10).python / scenarios *python_alloc_3.14profile mismatchTo demo PASS: revert top commit or restore first alloc-samples
percent/error_marginto33/10.Test plan
go test -run TestSchemaValidationpython / scenariosfails on alloc (demo)DDTRACE_INSTALL_URL