revert: correlate business spans with active observability trace (#465)#472
Open
NiteshDhanpal wants to merge 1 commit into
Open
revert: correlate business spans with active observability trace (#465)#472NiteshDhanpal wants to merge 1 commit into
NiteshDhanpal wants to merge 1 commit into
Conversation
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.
Reverts #465 (merged squash commit c67e177).
What this removes
src/agentex/lib/core/tracing/obs_ids.py(get_obs_mode / obs_correlation / sync_ddtrace_to_lgtm)obs_correlation()tagging added tosrc/agentex/lib/core/tracing/trace.pyStack note
#465 is the foundation of the obs stack; the dependent PRs #466 (W3C FastACP ingress), #467 (Temporal interceptor) and #471 (ddtrace dual-sync) import
obs_ids/sync_ddtrace_to_lgtm. They are not merged tonext, so nothing merged breaks — but they are now orphaned againstnextand left open intentionally, to be reworked or closed separately.Why
Backing out the business-span ↔ observability-trace correlation approach pending the tracing-library redesign.
🤖 Generated with Claude Code
Greptile Summary
This PR reverts the business-span ↔ observability-trace correlation added in #465, removing
obs_ids.pyand theobs_correlation()call sites in bothTraceandAsyncTrace. The revert is clean: no remaining imports or references to the deleted module exist anywhere in the mergednextbranch.obs_ids.pydeleted: removesget_obs_mode(),_lgtm_ids(),_ddtrace_ids(), andobs_correlation()entirely.trace.pycleaned up: the import ofobs_correlationand its two call sites (inTrace.start_spanandAsyncTrace.start_span) are removed symmetrically; span creation reverts to usingserialized_datawithout observability tag injection.Confidence Score: 5/5
Safe to merge — this is a clean revert of two files with no surviving references to the deleted module on the target branch.
The deletion of obs_ids.py is complete and verified: no imports or call sites remain anywhere in src/. The two removal hunks in trace.py are symmetric (Trace and AsyncTrace treated identically), and the post-revert file reads correctly. Orphaned dependent PRs (#466, #467, #471) are explicitly unmerged and the description acknowledges them.
Files Needing Attention: No files require special attention.
Important Files Changed
Sequence Diagram
sequenceDiagram participant Caller participant Trace/AsyncTrace participant obs_ids (removed) participant Span Note over Trace/AsyncTrace,obs_ids (removed): Before revert (PR #465) Caller->>Trace/AsyncTrace: start_span(name, input, data) Trace/AsyncTrace->>obs_ids (removed): obs_correlation() obs_ids (removed)-->>Trace/AsyncTrace: {"obs.trace_id": ..., "obs.span_id": ...} Trace/AsyncTrace->>Span: create with merged data + obs tags Note over Trace/AsyncTrace,obs_ids (removed): After revert (this PR) Caller->>Trace/AsyncTrace: start_span(name, input, data) Trace/AsyncTrace->>Span: create with serialized_data onlyReviews (1): Last reviewed commit: "revert: correlate business spans with ac..." | Re-trigger Greptile