Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Record Git SHA in Logger#139

Open
rcahoon wants to merge 1 commit into
mainfrom
rcahoon/log-git-sha
Open

Record Git SHA in Logger#139
rcahoon wants to merge 1 commit into
mainfrom
rcahoon/log-git-sha

Conversation

@rcahoon
Copy link
Copy Markdown
Member

@rcahoon rcahoon commented Sep 21, 2024

Description

This allows us to introspect which version of the software is currently deployed to a robot

How Has This Been Tested?

  • Unit tests: [Add your description here]
  • Simulator testing: [Add your description here]
  • On-robot bench testing: [Add your description here]
  • On-robot field testing: [Add your description here]

@rcahoon rcahoon requested a review from dejabot September 21, 2024 17:28
Copy link
Copy Markdown
Contributor

@dejabot dejabot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG. Minor thoughts/suggestions for some other fields to log.

// TODO: add support for simulation logging/replay
}

Logger.recordMetadata("GitSHA", BuildConstants.GIT_SHA);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it worth logging BuildConstants.{BUILD_DATE, GIT_BRANCH, DIRTY} as well?

@rcahoon rcahoon mentioned this pull request Jan 14, 2025
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants