Skip to content

feat(python): add stack-advanced gate scenarios for 3.14/3.15 (PROF-15511) - #171

Draft
vlad-scherbich wants to merge 2 commits into
vlad/python-alloc-gate-scenariosfrom
vlad/python-stack-advanced-gate
Draft

feat(python): add stack-advanced gate scenarios for 3.14/3.15 (PROF-15511)#171
vlad-scherbich wants to merge 2 commits into
vlad/python-alloc-gate-scenariosfrom
vlad/python-stack-advanced-gate

Conversation

@vlad-scherbich

@vlad-scherbich vlad-scherbich commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Prev: #170 | Next: #172

Motivation

Stack profiler edge cases — asyncio task labels, native C frames, deep unwinding — high-risk for Python version migration.

Summary

Adds 6 directories: python_asyncio, python_native_cpu, python_deep_stack (× 3.14/3.15).

Demo FAIL / PASS

Intentional FAIL (current): python_asyncio_3.14 first wall-time stack 99% ±0 (was 50% ±100).

Check Expected failure
python / scenarios * python_asyncio_3.14 profile mismatch

To demo PASS: revert top commit or restore first stack percent/error_margin to 50 / 100.

Test plan

  • go test -run TestSchemaValidation
  • python / scenarios fails on asyncio (demo)
  • Downstream gate with DDTRACE_INSTALL_URL

@vlad-scherbich
vlad-scherbich force-pushed the vlad/python-stack-advanced-gate branch from ac2451e to 7c1ccac Compare July 27, 2026 19:20
@vlad-scherbich
vlad-scherbich force-pushed the vlad/python-stack-advanced-gate branch from 7c1ccac to eccfe2a Compare July 27, 2026 19:33
@vlad-scherbich
vlad-scherbich force-pushed the vlad/python-stack-advanced-gate branch from eccfe2a to 2bd7cb6 Compare July 27, 2026 19:38
@vlad-scherbich
vlad-scherbich force-pushed the vlad/python-stack-advanced-gate branch from 2bd7cb6 to ecce3c0 Compare July 27, 2026 21:41
@vlad-scherbich
vlad-scherbich force-pushed the vlad/python-stack-advanced-gate branch from ecce3c0 to e6cda80 Compare July 27, 2026 21:45
@vlad-scherbich
vlad-scherbich force-pushed the vlad/python-stack-advanced-gate branch from e6cda80 to 487a0c5 Compare July 27, 2026 22:01
@vlad-scherbich
vlad-scherbich force-pushed the vlad/python-stack-advanced-gate branch from 487a0c5 to 8278b7d Compare July 27, 2026 22:05
@vlad-scherbich vlad-scherbich changed the title feat(python): add stack-advanced gate scenarios for 3.14/3.15 feat(python): add stack-advanced gate scenarios for 3.14/3.15 (PROF-15511) Jul 27, 2026
@vlad-scherbich
vlad-scherbich force-pushed the vlad/python-stack-advanced-gate branch 2 times, most recently from 0eef449 to 4762625 Compare July 28, 2026 02:02
@vlad-scherbich
vlad-scherbich force-pushed the vlad/python-stack-advanced-gate branch from 4762625 to 70fe079 Compare July 28, 2026 02:38
@vlad-scherbich
vlad-scherbich force-pushed the vlad/python-stack-advanced-gate branch from 70fe079 to 4b7d147 Compare August 16, 2026 13:43
@vlad-scherbich
vlad-scherbich force-pushed the vlad/python-stack-advanced-gate branch from 4b7d147 to bd38b6a Compare August 16, 2026 20:14
Add paired asyncio (task name labels), native_cpu (C-extension frames),
and deep_stack (deep unwinding) scenarios. Gate grows from 14 to 20.
@vlad-scherbich
vlad-scherbich force-pushed the vlad/python-stack-advanced-gate branch from bd38b6a to f2a9b9b Compare August 16, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant