The commit that runs: in the footer and at /version
Every page's footer names the commit the binary is built from, with a link to it on the forge, and /version answers with the full hash, open without a login like /healthz, so a script can tell which release is live. build.rs writes COMMIT: from VISA_COMMIT, which the flake sets to its source's revision (a Nix build has no .git), else from git in a checkout, else empty. The flake sets it on the package alone, not on the dependencies' build, which so stays cached from commit to commit.
This commit is contained in:
1 parent
a2cedcdd7e
commit
17426dba12
9 files changed
+140
-4
No files matched your search
@@ -312,6 +312,12 @@ one `Kind`.
|
||||
taken as 2025.
|
||||
- [x] 5.6 Audit: opening or downloading a form is logged as `form` with the
|
||||
codes of the forms, never their values.
|
||||
- [x] 5.7 The commit that runs, asked for on November 18, 2026: the footer
|
||||
of every page names it with a link to it, and `/version` answers with
|
||||
the full hash without a login. The flake passes its source's revision
|
||||
to build.rs as `VISA_COMMIT`, set on the package alone so that the
|
||||
dependencies' build stays the same; a build in a checkout asks git.
|
||||
Live with the release after `a2cedcd`.
|
||||
|
||||
## Open questions
|
||||
|
||||
|
||||
Reference in new issue
Block a user