Skip to content

feat(spansv2): Reject envelopes with misconfigured DSCs - #5276

Merged
Dav1dde merged 3 commits into
masterfrom
dav1d/spansv2-validate-dsc
Oct 23, 2025
Merged

Dav1dde merged 3 commits into
masterfrom
dav1d/spansv2-validate-dsc

Conversation

@Dav1dde

@Dav1dde Dav1dde commented Oct 21, 2025 •

Copy link
Copy Markdown
Member

As discussed, reject entire envelopes which contain SpanV2 item containers but are missing a DSC, also reject envelopes which do have a DSC but the contained spans do not conform with the specified DSC.

The intention of this change is to make sure SDKs implement the DSC correctly.

I ended up using invalid_dsc as an outcome reason instead of mismatch (the more specific reason in the processor) because it matches the existing schema of outcomes.

@Dav1dde
Dav1dde requested a review from a team as a code owner October 21, 2025 11:49
@Dav1dde Dav1dde self-assigned this Oct 21, 2025
@Dav1dde
Dav1dde force-pushed the dav1d/spansv2-validate-dsc branch 2 times, most recently from efe7cfb to e9959c9 Compare October 21, 2025 12:40
cursor[bot]

This comment was marked as outdated.

@Dav1dde
Dav1dde force-pushed the dav1d/spansv2-validate-dsc branch from cd41ae1 to 17d6992 Compare October 22, 2025 07:44
@Dav1dde
Dav1dde changed the base branch from master to dav1d/cleanup-relay-client-name October 22, 2025 07:44
@Dav1dde
Dav1dde force-pushed the dav1d/cleanup-relay-client-name branch from 764a992 to 0207336 Compare October 22, 2025 07:47
@Dav1dde
Dav1dde force-pushed the dav1d/spansv2-validate-dsc branch from 17d6992 to 3da0e9b Compare October 22, 2025 07:47
Base automatically changed from dav1d/cleanup-relay-client-name to master October 22, 2025 14:00
@Dav1dde
Dav1dde force-pushed the dav1d/spansv2-validate-dsc branch from 3da0e9b to ec6ac1e Compare October 22, 2025 14:01
@Dav1dde
Dav1dde enabled auto-merge October 22, 2025 14:01
@Dav1dde
Dav1dde added this pull request to the merge queue Oct 22, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 22, 2025
@Dav1dde
Dav1dde added this pull request to the merge queue Oct 23, 2025
github-merge-queue Bot pushed a commit that referenced this pull request Oct 23, 2025
As discussed, reject entire envelopes which contain `SpanV2` item
containers but are missing a DSC, also reject envelopes which do have a
DSC but the contained spans do not conform with the specified DSC.

The intention of this change is to make sure SDKs implement the DSC
correctly.

I ended up using `invalid_dsc` as an outcome reason instead of
`mismatch` (the more specific reason in the processor) because it
matches the existing schema of outcomes.
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 23, 2025
@Dav1dde
Dav1dde added this pull request to the merge queue Oct 23, 2025
Merged via the queue into master with commit dc0dac4 Oct 23, 2025
@Dav1dde
Dav1dde deleted the dav1d/spansv2-validate-dsc branch October 23, 2025 07:20
jjbayer pushed a commit that referenced this pull request Oct 29, 2025
As discussed, reject entire envelopes which contain `SpanV2` item
containers but are missing a DSC, also reject envelopes which do have a
DSC but the contained spans do not conform with the specified DSC.

The intention of this change is to make sure SDKs implement the DSC
correctly.

I ended up using `invalid_dsc` as an outcome reason instead of
`mismatch` (the more specific reason in the processor) because it
matches the existing schema of outcomes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants