Skip to main content

COMMIT_DATE

Constant COMMIT_DATE 

Source
pub const COMMIT_DATE: &str = "unknown";
Expand description

Date of the git commit this binary was built from (YYYY-MM-DD).

Why: The SHA alone is opaque to a human scanning a run report; the date makes β€œis this artifact from before or after the fix?” answerable at a glance β€” the exact question that had to be settled by timestamp archaeology during the 2026-07-16 L4 validation (#2823). What: Populated from git log -1 --date=short --format=%cd during compilation; falls back to "unknown" when git is unavailable. Deliberately the COMMIT date, not the build wall-clock, so rebuilds stay reproducible. Test: provenance_constants_are_well_formed.