Capture real git HEAD into RunManifest.commit via build.rs (replace AURA_COMMIT placeholder) #15
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
RunManifest.commit is currently filled from option_env!("AURA_COMMIT") defaulting to "unknown" (crates/aura-cli/src/main.rs). The C18 manifest's identity field (commit = which code produced this run) is therefore a placeholder in a normal build.
context: named non-goal of the 0010 spec ('A git-commit build script'). A build.rs in aura-cli capturing the HEAD sha (and dirtiness) at compile time would make the manifest self-identifying — important for the audit-trail invariant (C8 deploy: this bot = this commit) once runs are archived (C18 registry milestone).
depends on: nothing for the capture itself; gains value alongside the C18 run-registry work.