-
Notifications
You must be signed in to change notification settings - Fork 496
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
Use deployment-status ref instead of sha #915
Conversation
Codecov Report
@@ Coverage Diff @@
## cou929-subscribe-certain-labels #915 +/- ##
===================================================================
+ Coverage 97.21% 97.22% +<.01%
===================================================================
Files 157 157
Lines 2623 2627 +4
Branches 356 358 +2
===================================================================
+ Hits 2550 2554 +4
Misses 69 69
Partials 4 4 |
Codecov Report
@@ Coverage Diff @@
## master #915 +/- ##
==========================================
+ Coverage 97.33% 97.34% +<.01%
==========================================
Files 154 154
Lines 2481 2487 +6
Branches 321 323 +2
==========================================
+ Hits 2415 2421 +6
Misses 62 62
Partials 4 4 |
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 is an awesome improvement! 🎉 🌈
When the integrator that created the deployment status provided a ref,
that is different from the commit sha, that ref is now displayed instead
of the short sha.
✨
Do you have an example screenshot of what this looks like in Slack?
When the integrator that created the deployment status provided a ref, that is different from the commit sha, that ref is now displayed instead of the short sha. This addresses the issue discussed in #98 and #85. I think the next step would be doing an actual API request to fetch the branches, but his change is a 0-cost improvement and (almost) 0-effort improvement that allows us to gather metrics about custom ref adoption and maybe this already solves the problem. Refs #85, #98
Most importantly we are now showing showing the ref and the shortSha and not only the ref to improve the UX for certain use-cases.
b27de00
to
f87d8ea
Compare
Summary
When the integrator that created the deployment status provided a ref,
that is different from the commit sha, that ref is now displayed instead
of the short sha.
This addresses the issue discussed in #98 and #85.
I think the next step would be doing an actual API request to fetch the
branches, but his change is a 0-cost improvement and (almost) 0-effort
improvement that allows us to gather metrics about custom ref adoption
and maybe this already solves the problem.
Screenshots
Before
After
Closes #85, #98