Part of the build-version line in the portal's staff dashboard (portal#64, comment 11559).
- `GET /version` (root mux, `PUBLIC_EXPLICIT` like `/healthz`): `{"version": "v0.1.4", "commit": "<full sha>"}`. No tenant data.
- `internal/buildinfo`: `Version` / `Commit`, set with `-ldflags -X` in the Dockerfile from build args `VERSION` / `COMMIT`; defaults `dev` / `""`.
- CI image job: the clone is shallow, so it fetches history + tags and passes `git describe --tags --abbrev=0` (latest release tag) and `GITHUB_SHA`.
- OpenAPI + contract test + handler test.
Verified locally: `docker build --build-arg VERSION=v0.1.4 --build-arg COMMIT=abc123` → `/version` returns both.
Note: on staging the version is the latest tag reachable from main (main is usually ahead of it); the commit identifies the exact build.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
The staff dashboard of the portal shows which build of each service runs
(portal#64). GET /version is public like /healthz and returns
{version, commit}: the latest release tag and the full commit hash, set at
image build time with -ldflags (Dockerfile build args VERSION and COMMIT,
filled by CI). A local build reports "dev" and an empty commit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of the build-version line in the portal's staff dashboard (portal#64, comment 11559).
GET /version(root mux,PUBLIC_EXPLICITlike/healthz):{"version": "v0.1.4", "commit": "<full sha>"}. No tenant data.internal/buildinfo:Version/Commit, set with-ldflags -Xin the Dockerfile from build argsVERSION/COMMIT; defaultsdev/"".git describe --tags --abbrev=0(latest release tag) andGITHUB_SHA.Verified locally:
docker build --build-arg VERSION=v0.1.4 --build-arg COMMIT=abc123→/versionreturns both.Note: on staging the version is the latest tag reachable from main (main is usually ahead of it); the commit identifies the exact build.
🤖 Generated with Claude Code
https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
7d63abbbb0to863f7b7d09The staff dashboard of the portal shows which build of each service runs (portal#64). GET /version is public like /healthz and returns {version, commit}: the latest release tag and the full commit hash, set at image build time with -ldflags (Dockerfile build args VERSION and COMMIT, filled by CI). A local build reports "dev" and an empty commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB863f7b7d09to917fdd9ba3