Skip to content

feat(api): /version endpoint exposing git SHA + build time for deploy verification #900

Closed

Description

@cristim

Add a public GET /version endpoint returning the deployed build's version, git commit SHA, and build timestamp.

Why

Deploy-lag (an environment still serving a stale build) is currently hard to diagnose. With this endpoint an operator can curl https://<env>/version and compare git_sha to the branch HEAD to confirm what commit is actually running.

Scope

Activity

  1. added
    triagedItem has been triaged
    pr-createdA PR has been opened for this issue (dedup guard for the auto-PR loop)
    pr-mergedThe PR for this issue has been merged
    on Jun 1, 2026
  2. cristim commented on Jul 27, 2026

    @cristim
    MemberAuthor

    Verification sweep against main (101f099fb) on 2026-07-27 finds this already resolved.
    The public GET /version endpoint now returns version, git_sha and build_time.
    Evidence: commit 74148ec (#901).
    Recommending close.

  3. cristim commented on Sep 2, 2026

    @cristim
    MemberAuthor

    Verified resolved at 3c0f8ac: a public GET /version endpoint returns version, git_sha and build_time, is registered on the API router, the middleware public allowlist and the container HTTP mux, and the git SHA is stamped via the main.GitSHA ldflag in the Makefile. Evidence: internal/api/router.go:369, internal/server/http.go:38, Makefile:23 (#901). Residual axes checked: Lambda router path, container mux path, SPA static fallback exclusion (internal/server/static.go:253); none found. Closing as completed; reopen if the behaviour recurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/sHoursimpact/internalTeam-internal onlypr-createdA PR has been opened for this issue (dedup guard for the auto-PR loop)pr-mergedThe PR for this issue has been mergedpriority/p2Backlog-worthyseverity/lowMinor harmtriagedItem has been triagedtype/featNew capabilityurgency/this-sprintWithin the current sprint

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions