c0372ddc

By: Michael Lynch <git@mtlynch.io>

Show VCS metadata on about page

Use Go VCS stamping via runtime/debug.ReadBuildInfo to display the source revision and version modification time on /about. Hide the metadata fields when Go does not provide VCS metadata instead of injecting fallback values.

Copy .git into the Docker builder stage so Docker builds include VCS metadata, and remove the old custom build-time ldflags from dev and Nix builds.

Testing:
- ./dev-scripts/run-go-tests
- dev-scripts/git-hooks/pre-commit
- nix flake check

Suite timing

Time to Start Worker time Duration Time to finish
Config 1s 6s 6s 7s
Eval 5s 38s 38s 44s
Build 10s 4m53s 1m18s 1m28s
Test - - - -
Deploy - - - -
Suite 1s 5m38s 1m27s 1m28s

Timeline

0s10s20s30s40s50s1m1m10s1m20s