News for hackers. Stuff that matters.
Re:The Knight Capital Disaster by scottshamus on Tuesday November 28, 2023 @02:44PM (#38450251)
If anyone reading this hasn’t heard this before, I encourage you to read the do’s/dont’s of protobufs for some other good best practices.

https://protobuf.dev/programming-guides/dos-donts/

Re:The Knight Capital Disaster by GauntletWizard on Tuesday November 28, 2023 @03:13PM (#38450608)
There are several protobuf linters out there, but what I haven't seen is a protobuf linter that integrates with Git to look behind and verify that you haven't accidentally changed protobuf numbers, or reused fields, or etc. Would be handy.
Re:The Knight Capital Disaster by orbz on Tuesday November 28, 2023 @03:27PM (#38450807)
I believe buf’s breaking change detection will pick up on this. It also allows you to specify a git ref to target.

https://buf.build/docs/reference/cli/buf/breaking#against

Re:The Knight Capital Disaster by sk5t on Tuesday November 28, 2023 @07:03PM (#38453495)
There's a build plugin for this for Java/Maven:

https://github.com/salesforce/proto-backwards-compat-maven-p...