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

Support corrupt logs produced by some 17.7 MSBuilds #697

Merged

Conversation

rainersigwald
Copy link
Collaborator

Work around bad binlogs produced by dotnet/msbuild#8971 by probing for the zip header that will be the known first bytes of the blob.

Work around bad binlogs produced by dotnet/msbuild#8971 by probing for the zip header that will be the known first bytes of the blob.

Co-authored-by: MichalPavlik <mipavlik@microsoft.com>
@rainersigwald
Copy link
Collaborator Author

@MichalPavlik can you give this a once-over to see if it matches what we were talking about offline?

@KirillOsenkov
Copy link
Owner

Have we tested this with the corrupt binlogs and the regular binlogs?

@rainersigwald
Copy link
Collaborator Author

Yes, it Works On My Machine™️. I've tried with binlogs from current dogfood VS builds, binlogs from the PR with the fix, and binlogs from production 17.6 builds, and verified that they all had many .targets files in the "files" tab.

@KirillOsenkov KirillOsenkov merged commit 7d6b5c2 into KirillOsenkov:main Jul 25, 2023
@MichalPavlik
Copy link
Contributor

@MichalPavlik can you give this a once-over to see if it matches what we were talking about offline?

Yes Rainer, it's exactly what I proposed. Thanks for mitigation.

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