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
Log start and failure of staging builds to metrics database #21642
Conversation
…ild to metrics database.
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.
I'm not super familiar with this area, but with what I know, this looks good to me.
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.
Nice improvement!
aws/ci_build
Outdated
# @param [String] commit_hash | ||
# @param [String] status | ||
# @param [String] status - :start, :success, :failed |
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.
nit: the type is listed as String
, but the values you listed are Symbol
s. Probably best to list the type as Symbol
if you care which is used, or Symbol|String
otherwise.
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.
👍
aws/ci_build
Outdated
# @param [String] commit_hash | ||
# @param [String] status | ||
# @param [String] status - :start, :success, :failed |
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.
(nit) looks like the expected type is [Symbol]
not [String]
here (though it doesn't seem to make a difference in the current implementation since it's only interpolated in a string)
Build on logic in #21415 to also write start of staging builds and when staging build fails.