Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add report_too_early to PrepareError #2538

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Conversation

divergentdave
Copy link
Collaborator

This adds a missing error code to PrepareError. The DAP changelog says this was added in draft 03, so all maintained branches will need this fix backported. If we tried to aggregate with a different helper implementation that uses this error code, we would fail to parse responses that contained this error code, which would turn an entire aggregation job into a dead letter.

I also fleshed out the related serialization unit test, and added an unrelated unit test that we were missing.

@divergentdave divergentdave merged commit ce9f0a4 into main Jan 24, 2024
9 checks passed
@divergentdave divergentdave deleted the david/report-too-early-error branch January 24, 2024 16:27
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.

3 participants