-
Notifications
You must be signed in to change notification settings - Fork 2.8k
improve code for release channel detection #2456
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
Conversation
|
Beep boop! 🤖 Hey @ajeetdsouza, thanks for your PR! One of my human friends will review this PR and get back to you as soon as possible. 🕐 Stay awesome! 😎 |
|
Deploy preview for hasura-docs ready! Built with commit bd574dd |
|
Review app for commit 6bc4edd deployed to Heroku: https://hge-ci-pull-2456.herokuapp.com |
rakeshkky
left a comment
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
|
Review app for commit bd574dd deployed to Heroku: https://hge-ci-pull-2456.herokuapp.com |
|
Review app https://hge-ci-pull-2456.herokuapp.com is deleted |
|
Beep boop! 🤖 Awesome work @ajeetdsouza! All of us at Hasura ❤️ what you did. Thanks again 🤗 |
Description
Improve efficiency of release channel detection code.
Affected components
Solution and Design
The earlier design would unpack the
Textinto a[Char]and pattern match to check the starting letters of the word. I have changed this to use the inbuiltData.Text.isPrefixOffunction.To the Reviewer (server)
Critical files:
/src-lib/Hasura/Server/Version.hs