Skip to content

[v6-exp] plumbing: Improve PACK trace by redacting binary data#1214

Merged
pjbgf merged 2 commits into
v6-expfrom
improve-trace
Oct 26, 2024
Merged

[v6-exp] plumbing: Improve PACK trace by redacting binary data#1214
pjbgf merged 2 commits into
v6-expfrom
improve-trace

Conversation

@pjbgf
Copy link
Copy Markdown
Member

@pjbgf pjbgf commented Oct 25, 2024

Previously, the trace would output the raw packfile data, which wasn't very useful. This change replaces the binary data with '[ PACKDATA ]' instead of the raw data, resulting in lines such as the following:

22:31:38.937878 pktline.go:224: packet: < 6005 [ PACKDATA ]
22:31:38.943047 pktline.go:224: packet: < 4005 [ PACKDATA ]
22:31:38.943865 pktline.go:224: packet: < 2005 [ PACKDATA ]

pjbgf added 2 commits October 25, 2024 22:40
Previously, the trace would output the raw packfile data, which wasn't
very useful. This change replaces the binary data with '[ PACKDATA ]'
instead of the raw data, resulting in lines such as the following:

22:31:38.937878 pktline.go:224: packet: < 6005 [ PACKDATA ]
22:31:38.943047 pktline.go:224: packet: < 4005 [ PACKDATA ]
22:31:38.943865 pktline.go:224: packet: < 2005 [ PACKDATA ]
Signed-off-by: Paulo Gomes <[email protected]>
The test execution in Windows is flaky and frequently fails due to timeout,
the 50% bump aims to decrease the failure rate.

Signed-off-by: Paulo Gomes <[email protected]>
@pjbgf pjbgf requested a review from hiddeco October 25, 2024 22:16
@pjbgf pjbgf merged commit 0f66d5a into v6-exp Oct 26, 2024
@pjbgf pjbgf deleted the improve-trace branch October 26, 2024 10:00
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.

2 participants