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

DEBUG-2334 correctly serialize debugger input payloads #4125

Merged
merged 3 commits into from
Nov 18, 2024

Conversation

p-datadog
Copy link
Contributor

@p-datadog p-datadog commented Nov 18, 2024

What does this PR do?

This PR fixes serialization of debugger "input" endpoint payloads. The serialization must be to JSON, previously simple stringification was used which is not JSON.

Motivation:
System tests (under development) revealed the issue.

The incorrect behavior also renders DI inoperable in demos.

Change log entry
None

Additional Notes:

How to test the change?
There is no test coverage in the library for this change, however it is covered by system tests that I am currently working on (DataDog/system-tests#3516)

@p-datadog p-datadog requested a review from a team as a code owner November 18, 2024 14:23
@pr-commenter
Copy link

pr-commenter bot commented Nov 18, 2024

Benchmarks

Benchmark execution time: 2024-11-18 15:54:23

Comparing candidate commit 1dba98a in PR branch di-transport-fix with baseline commit 4b7a466 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 29 metrics, 2 unstable metrics.

@p-datadog p-datadog merged commit d75902e into master Nov 18, 2024
266 checks passed
@p-datadog p-datadog deleted the di-transport-fix branch November 18, 2024 16:31
@github-actions github-actions bot added this to the 2.8.0 milestone Nov 18, 2024
@p-datadog p-datadog added the dev/internal Other internal work that does not need to be included in the changelog label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/internal Other internal work that does not need to be included in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants