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

Add Double Write detection to binlogtool #719

Open
KirillOsenkov opened this issue Nov 9, 2023 · 0 comments
Open

Add Double Write detection to binlogtool #719

KirillOsenkov opened this issue Nov 9, 2023 · 0 comments

Comments

@KirillOsenkov
Copy link
Owner

The Roslyn team (@jaredpar) has a tool called BuildBoss, and one of the things it does is reports whether there are any double-writes in the binlog.
https://github.com/dotnet/roslyn/tree/main/src/Tools/BuildBoss

At the same time @JustinSchneiderPBI has also written such a tool internally.

We should perhaps extract the functionality that is useful for both cases and add it to binlogtool so other people don't have to reinvent this.

You can install the binlogtool via dotnet tool update -g binlogtool and it's published from this source:
https://github.com/KirillOsenkov/MSBuildStructuredLog/tree/main/src/BinlogTool

to here:
https://www.nuget.org/packages/binlogtool

We should support both the basic case (report if there are any double-writes at all), as well as the advanced case (have a baseline of allowed double-writes and diff). Make the tool CLI easily consumable by a typical yaml build task.

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

No branches or pull requests

1 participant