-
Notifications
You must be signed in to change notification settings - Fork 292
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
base types for events package #1275
Conversation
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.
Some minor nits but nothing huge - thanks for laying this foundation :)
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.
Many (most?) of the exported types, functions, constant, etc are missing docs.
|
@mgaffney @s-christoff added a commit with godoc comments for exported fields except for the unratified audit related fields and/or structs. Ty for the suggestion! |
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.
Agreeing with @mgaffney's points for sure re: comments and package naming (although some of these could be addressed now as I have not hit "refresh" yet 😜 )
Also some other things that need fixing including a test where an assertion seems to be getting missed.
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.
This looks great, I have a couple questions and comments, I see these PR's are getting some traction on reviews - I read through previous comments sorry in advance if I doubled up on any comment/question
… "event" dir right before merging.
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.
lgtm
I've rolled back the directory name change for now... it will be reapplied before merging but it was causing all sorts of conflicts with the upstream PRs |
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.
Just want to bring up as a minor point https://github.com/hashicorp/boundary/pull/1275/files#r645785137 (the thread over WithNow
and how it might be better as WithTime
since this option is not actually deriving or enforcing a current time.
This is first of 3 PRs to add the events package and they should be reviewed in order. After this one, then #1276 and #1277.
This PR will be merged into main after the last one in the series (#1277) has been approved.
BTW, none of these 3 PRs will affect any of the rest of Boundary. They are stand-alone infrastructure for eventing audits, errors, and observations. Subsequent PRs may change how some of this infrastructure works and we work to integrating the events package with the rest of Boundary and we continue to receive feedback from the Event Logging RFCs.