Skip to content

Expose the deployed commit as an X-Git-Sha response header #498

Description

@saqibmanan

What: every response carries X-Git-Sha: <commit the build came from>, set from GITHUB_SHA at build time.
Why it matters: lets CivicDataSpace-test's deployed_pr tell which commit is live, like the backend's /health/ git_sha, and it stays correct after a rollback.
Evidence: dev now returns X-Git-Sha: 4a466662….
Fix: #496, merged and deployed to dev. Prod gets it with the next dev → main deploy.

Activity

  1. self-assigned this
    on Oct 7, 2026
  2. saqibmanan commented on Oct 9, 2026

    @saqibmanan
    ContributorAuthor

    On prod since the 2026-10-09 release (#500): civicdataspace.in sends X-Git-Sha: 92cd5219…. CivicDataSpace-test's deployed_pr(site=…) gates on it.

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions