-
Notifications
You must be signed in to change notification settings - Fork 923
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
feat: log Probot version at startup #1321
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.
Thanks for looking into this!
Logging the version at startup is a good idea. I don't think we need to add a new GET /version
endpoint though. Exposing the probot version publicly might be a security risk, if there is ever a known security vulnerability. We do display the app version on GET /probot
, e.g. see https://probot-dco.herokuapp.com/probot
Ok, understood. Out of curiosity, isn't exposing the app version at Other related question: what's the recommended way to test Probot beta/next? |
The app version is independent of the probot version the app is using, so I don't think so.
|
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 PR is included in version 10.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I'm new to TypeScript so please forgive in advance any silly mistake here.
I believe it's valuable to know which version of Probot a Probot-application instance is based on, AFAIK the only way at the moment is to inspect
node_modules/probot/package.json
but I believe at least logging it at startup is a good thing.Probably is also a good idea to expose that via
GET /version
, together with the actual application version, something like this maybe?