refactor: remove some layering violations related to Span type in ASM - #19863
refactor: remove some layering violations related to Span type in ASM#19863emmettbutler wants to merge 41 commits into
Conversation
Dependency direction analysis
|
|
Codeowners resolved asResolved from the full PR diff against |
BenchmarksBenchmark execution time: 2026-08-26 18:37:40 Comparing candidate commit 746d710 in PR branch Found 0 performance improvements and 1 performance regressions! Performance is the same for 83 metrics, 0 unstable metrics.
|
efbc9e6 to
abe0ab7
Compare
This change completes the migration of the `Context` class to native code and uses this relocation to resolve some dependency direction violations. Original commits: * 38ef60b migrate Context to native * c6f748b Merge branch 'main' into emmett.butler/native-context * bbada76 Merge branch 'main' into emmett.butler/native-context * d834b0a dont silently ignore non-context values * 85d2351 span_id same type as trace_id * 8e448be undo * cd0f567 missed spots * 590b576 accept string span_ids to accommodate existing lambda repo test * 10560a7 remove misleading comment * 14b363b clean possible state from previous tests * 7b13a50 Merge branch 'main' into emmett.butler/native-context * f1a7d02 move the rest of the Context functionality to ContextData * a2be13d fix double-borrow * 65b107b fix type * f8f5e7a remove descriptive comments * 433c349 entirely replace Context with native * 692e688 fix import errors * 71aec91 cargo fmt * 89398f6 update imports to avoid layering violations * cd5a2c6 fix some PR comments * 017cc34 Merge branch 'emmett.butler/native-context' into emmett.butler/native-context-2 * 32e6d77 Merge branch 'main' into emmett.butler/native-context-2 * d054801 native lock instead of python threading * 7ec4e55 args/kwargs not necessary * 0e5e60f clippy * 5c77276 remove locking * 79d06af inlines, remove Option * 30cd0ea Merge branch 'main' into emmett.butler/native-context-2 * 687ff85 update merged import * 78d9605 update signature Signed-off-by: Emmett Butler <emmett.butler@datadoghq.com>
78d9605 to
2051f3b
Compare
This change factors out some layering violations incurred by the import of
Spanfor the purpose of type annotation in the AppSec module.