-
Notifications
You must be signed in to change notification settings - Fork 400
Fix binary data serialization in dynamic instrumentation #5434
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
Merged
Merged
Changes from 26 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
4ea65d3
Add tests reproducing binary data serialization issue in DI
9ee4e34
Implement Python-style escaping for binary data in DI snapshots
e63de9f
Fix binary data truncation to match Python dd-trace-py behavior
280b666
Use language-agnostic terminology for binary data escaping
ae2d48e
Handle invalid UTF-8 strings and add edge case tests
d563da0
Fix binary data truncation to apply limit before escaping
ed6fdf9
Add test coverage for non-UTF8, non-Binary encodings
c652c26
Fix intermittent test failures for invalid UTF-8 tests
22c6dc8
Fix CI linting and type checking issues
2b2fb7c
Fix transport test failures by allowing logger debug calls
6f8d646
Remove Python-specific terminology from binary escaping code
e94d216
Simplify test code: use string literals instead of pack()
d43e034
Address PR review comments
bb4506b
Remove unnecessary force_encoding call
8dbafd1
Fix invalid UTF-8 handling in serializer
eaa02cf
Add documentation for custom serializer exception handling
3dbeb2e
Fix CI: standard lint and steep typecheck
75f5147
Fix DI review issues: remove sleep and add error logging
e7b0b18
Add missing flush calls to binary data integration tests
1f5d5fb
Fix test isolation for custom serializer registry
4b4d40c
Merge branch 'master' into di-binary-data-serialization-tests
p-datadog 8726411
Fix StandardRB lint: use bare rescue instead of rescue StandardError
8580a47
Fix documentation: custom serializer exceptions are logged, not silen…
a66789f
Remove telemetry mention from customer-facing documentation
453d8bf
Add guideline: do not mention telemetry in DI customer-facing docs
7d841aa
Add changelog entry format requirement to CLAUDE.md
267191f
Update spec/datadog/di/transport/input_spec.rb
p-datadog dfd176a
Consolidate repeated encoding/binary string comments
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.