Repository navigation
Conversation
The package split moves ddtrace/internal/coverage into ddtrace-coverage. Freeze the files that no open PR touches and that have seen little churn, so they cannot diverge from the package copy. Files that open PRs still change (utils/time.py, logger.py, settings/env.py, module.py, most coverage modules, bytecode_injection core.py) are listed in frozen-paths.txt as pending instead, because freezing them now would block those PRs. Partially moved, widely edited files (utils/__init__, formats, inspection, bytecode_injection/__init__) are deliberately not frozen. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Codeowners resolved asResolved from the full PR diff against |
Dependency direction analysis
|
This was referenced Nov 20, 2026
gnufede
added a commit
that referenced
this pull request
Nov 24, 2026
## Description **Stacked on #22018** (base `gnufede/package-split-prep`). This freezes every file of the package split's first wave, so nothing can drift between the port and the bridge. It replaces #21967, #21973 and #21990. 33 files are frozen, with hashes of their content after #22018: - **Moving whole to `ddtrace-internal`** (DataDog/datadog-apm-python#77): `utils/cache.py`, `utils/paths.py`, `utils/obfuscation.py`, `utils/time.py`, `compat.py`, `assembly.py`, `logger.py`, `settings/__init__.py`, `settings/env.py`, `module.py`, `bytecode_injection/core.py`. - **Partially moving, frozen whole** so the ported symbols stay identical: - `utils/__init__.py` (`get_argument_value`, `set_argument_value`, `ArgumentError`); - `utils/formats.py` (`asbool`); - `utils/inspection.py` (`resolved_code_origin`); - `bytecode_injection/__init__.py` (`HookType`, `INJECTION_ASSEMBLY`). - **Moving to `ddtrace-coverage`** (DataDog/datadog-apm-python#82): all 18 files under `ddtrace/internal/coverage/`. `src/native` is not frozen here. The native switch is a separate step that waits on the profiling team's agreement on the profiling FFI approach. The bridge PR, landing after `ddtrace-internal` 0.4.0 and `ddtrace-coverage` 0.1.0 are released, replaces these modules with re-exports and removes these entries in the same PR. ## Testing Only `frozen-paths.txt` changes. All 33 hashes were checked against the committed file contents (the same comparison `freeze-check.yml` makes). ## Risks - **Edits are blocked** to these files until the bridge lands. Open PRs that touch them must merge first or rebase afterwards. Earlier we saw `module.py` (#21428, #21448), `coverage/instrumented_mode.py` and `coverage/util.py` (#21405), and older prototype drafts. - **Hash timing.** Hashes are taken from #22018's content. If #22018 changes before merging, they need regenerating. ## Additional Notes None. --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
Description
Stacked on #21973; base branch
gnufede/freeze-internal-batch2. This freezes theddtrace/internal/coveragefiles that no open PR touches, so they can't diverge from theddtrace-coveragepackage being prepared in DataDog/datadog-apm-python. The 7 files:__init__.pycoverage_lines.pyimport_instrumentation_py3_12.pyinstaller.pyinstrumentation_py3_16.pyinstrumentation_py3_9.pyreport.pyA comment block in
frozen-paths.txtlists what is still pending, and why:utils/time.py,logger.py,settings/env.py: waiting on their own preparation PRs.module.py: waiting on open PRs that touch it.coverage/*andbytecode_injection/core.py: touched by open draft PRs.utils/__init__.py,utils/formats.py,utils/inspection.py,bytecode_injection/__init__.py): documented, not frozen.Testing
The freeze-check loop from
freeze-check.ymlwas run locally against the merge of this branch withmain: all 13 entries match.Risks
It blocks edits to these 7 files until they're unfrozen.
Additional Notes
None.