-
Notifications
You must be signed in to change notification settings - Fork 452
Address missing telemetry at the start of Actions #3415
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
Changes from 1 commit
7c72e12
b715292
14bd767
229e0cd
6bd84b6
529c266
edebb78
91f3460
28bfb7b
fba7872
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
getRequiredInputthrows aConfigurationErrorwhen the input is not supplied. That makes sense.getRequiredEnvParamthrows anErrorrather than aConfigurationError. We'd probably always expect these environment variables to be available, and if they're not it's probably nothing a user can do anything about, soErrorprobably makes sense for that.Worth thinking about in general though, whether we want one or the other for a given input/env variable.
Observation: since this was previously outside the
try/catchblock, we also didn't get telemetry for failures here before.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'd be surprised if these environment variables weren't set within the Actions environment, but agreed in general.