File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ fn main() {
13
13
// Define the `VERGEN_GIT_SHA` and `VERGEN_GIT_DIRTY` environment variables
14
14
// (accessible via `env!()`) that note the current git commit and whether
15
15
// the working tree is dirty at the time of this build.
16
+ //
17
+ // We use this to check our own git SHA against the git SHA of the Nexus
18
+ // that generated blueprint planner debug logs.
16
19
let gitcl = GitclBuilder :: default ( )
17
20
. sha ( /* short= */ false )
18
21
. dirty ( /* include_untracked= */ false )
Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ fn main() {
13
13
// Define the `VERGEN_GIT_SHA` and `VERGEN_GIT_DIRTY` environment variables
14
14
// (accessible via `env!()`) that note the current git commit and whether
15
15
// the working tree is dirty at the time of this build.
16
+ //
17
+ // We embed our git SHA in the JSON blobs for blueprint planner debug logs,
18
+ // so `omdb` can report if it's out of sync with the Nexus that created the
19
+ // debug log.
16
20
let gitcl = GitclBuilder :: default ( )
17
21
. sha ( /* short= */ false )
18
22
. dirty ( /* include_untracked= */ false )
You can’t perform that action at this time.
0 commit comments