Skip to content
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

chore: backport version string to fallback to the sha256 commit #2218

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

cmwaters
Copy link
Contributor

@cmwaters cmwaters commented Aug 7, 2023

Backports: #2190

Checklist

  • New and updated code has appropriate documentation
  • New and updated code has new and/or updated testing
  • Required CI checks are passing
  • Visual proof for any user facing features like CLI or documentation updates
  • Linked issues closed with keywords

hello team!

This is a small PR, it contains a change to print the commit sha when we
are not running an RC or a version, This might be useful when we want to
run specific commits, branches, etc... *Otherwise the value will be
empty.*

This comes from after testing the new metric `version`, I can see this
when we are not running tags:
```
cometbft_consensus_step_duration_seconds_bucket{chain_id="<whatever>"",step="Commit",version="",le="0.2682695795279726"} 153
```


Please team, if you approve it, merge it after, I don't have permission
to do it.

Thanks in advance! 🚀 



Jose Ramon Mañes

---------

Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
@MSevey MSevey requested a review from a team August 7, 2023 11:27
@codecov-commenter
Copy link

Codecov Report

Merging #2218 (5236613) into v1.x (e0b26a9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             v1.x    #2218   +/-   ##
=======================================
  Coverage   21.52%   21.52%           
=======================================
  Files         128      128           
  Lines       14383    14383           
=======================================
  Hits         3096     3096           
  Misses      10987    10987           
  Partials      300      300           

@cmwaters cmwaters merged commit d8e9933 into v1.x Aug 7, 2023
22 checks passed
@cmwaters cmwaters deleted the cal/backport-version branch August 7, 2023 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants