-
Notifications
You must be signed in to change notification settings - Fork 12
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
update to use new events handling #148
Conversation
d6c75c9
to
aa05f1a
Compare
b73d7c1
to
cf44346
Compare
Signed-off-by: Mike Mason <[email protected]>
Signed-off-by: Mike Mason <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly small changes. Error message formatting suggestions can be ignored if they're not useful.
More generally, I think we would benefit from getting into the habit of adding OpenTelemetry instrumentation whenever we define/update functions that cross system boundaries (network calls, DB calls, etc). I left a couple of comments where I believe we could gain the most from adding it but we can really add it in many more places.
Signed-off-by: Mike Mason <[email protected]>
Signed-off-by: Mike Mason <[email protected]>
github.com/pkg/errors v0.9.1 | ||
github.com/spf13/cobra v1.7.0 | ||
github.com/spf13/pflag v1.0.5 | ||
github.com/spf13/viper v1.16.0 | ||
github.com/stretchr/testify v1.8.4 | ||
go.infratographer.com/x v0.3.4 | ||
go.infratographer.com/x v0.3.5-0.20230804152936-1fb9cfe07da6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we going to be on this prerelease commit for everything until v0.3.5 is cut?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are for now, still waiting for the actual release to be cut.
Updates to use the new x/events events package which removes the watermill format as well as implements the new AuthRelationshipRequest and Response events.