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

hive,libhive: add simulatorsVersion to hive and results JSONs #1033

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marioevz
Copy link
Member

@marioevz marioevz commented Mar 7, 2024

Use git's command git rev-parse HEAD to obtain the current folder's HEAD commit and put it in:

  • hive.json
  • results json (1*.json in the logs folder)

If the git command fails, then the field will simply not show up in any of the json files.

This differs from the build commit since, even if we don't rebuild the hive binary on any given deployment, the simulator's commit will still be updated to the latest version of the folder.

This will allow to better cross-reference any failing tests to either a newer client commit or a newer simulators commit.

@marioevz marioevz requested a review from fjl March 7, 2024 18:11
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.

1 participant