Skip to content

Comments

chore(web): Display commit SHA in settings dropdown#868

Merged
brendan-kellam merged 3 commits intomainfrom
bkellam/baked-version
Feb 10, 2026
Merged

chore(web): Display commit SHA in settings dropdown#868
brendan-kellam merged 3 commits intomainfrom
bkellam/baked-version

Conversation

@brendan-kellam
Copy link
Contributor

@brendan-kellam brendan-kellam commented Feb 10, 2026

image

Summary by CodeRabbit

  • New Features
    • The settings dropdown now displays the commit SHA associated with the current deployment, providing a direct link to the exact GitHub commit for improved version identification and debugging.

@github-actions

This comment has been minimized.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 10, 2026

Walkthrough

This pull request adds a feature that displays the commit SHA of a deployment in the application's settings dropdown. The GitHub commit SHA is passed through the Docker build process, configured as an environment variable, and displayed as a clickable link in the UI.

Changes

Cohort / File(s) Summary
Build & Infrastructure
.github/workflows/_build.yml, Dockerfile
Adds NEXT_PUBLIC_BUILD_COMMIT_SHA as a Docker build argument in the workflow and propagates it across Dockerfile stages (web-builder and runner).
Environment Configuration
packages/shared/src/env.client.ts
Adds NEXT_PUBLIC_BUILD_COMMIT_SHA as an optional environment variable to the client-side environment schema and runtime mapping.
UI Implementation
packages/web/src/app/[domain]/components/settingsDropdown.tsx
Displays the commit SHA as a linked GitHub commit URL in the settings dropdown when the environment variable is available. Updates display text capitalization.
Documentation
CHANGELOG.md
Documents the new settings dropdown feature showing commit SHA in the Unreleased section.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'chore(web): Display commit SHA in settings dropdown' clearly and specifically describes the main change across all modified files, which adds functionality to display the build commit SHA in the settings dropdown UI.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch bkellam/baked-version

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@claude
Copy link

claude bot commented Feb 10, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@claude
Copy link

claude bot commented Feb 10, 2026


Code review

No issues found. Checked for bugs and CLAUDE.md compliance.


@brendan-kellam brendan-kellam merged commit bf1ae94 into main Feb 10, 2026
10 checks passed
@brendan-kellam brendan-kellam deleted the bkellam/baked-version branch February 10, 2026 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant