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

Sidestep a timing issue with the TaskLoggingHelper in the GenerateSbomTask's Logging infrastructure #728

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

baronfel
Copy link
Member

@baronfel baronfel commented Oct 1, 2024

No description provided.

…mTask's Logging infrastructure

Also generate binlogs for the tests to allow precise investigation of the builds
@baronfel baronfel requested a review from a team as a code owner October 1, 2024 02:29
@baronfel baronfel requested review from JoseRenan and jlperkins and removed request for a team October 1, 2024 02:29
Assert.IsTrue(pack, "Failed to pack the project");
}

// binlogs are unique per name, so this ensures distinct names for the different stages
private BinaryLogger GetBinLog(string callerName, string target) => new BinaryLogger { Parameters = $"{callerName}.{target}.binlog" };
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume these changes are just for debugging purposes and not actually necessary?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exactly - needed to see what was failing in the tests in a stable way, and the binlog viewer helps a ton with figuring out why the specific build failed.

@sfoslund sfoslund merged commit 5b76656 into microsoft:sfoslund/netlogging Oct 1, 2024
1 check passed
@baronfel baronfel deleted the netlogging branch October 1, 2024 15:38
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