Skip to content

merge queue: embarking main (26be0f9) and #998 together#1009

Closed
mergify[bot] wants to merge 4 commits intomainfrom
mergify/merge-queue/6ffeb7ccab
Closed

merge queue: embarking main (26be0f9) and #998 together#1009
mergify[bot] wants to merge 4 commits intomainfrom
mergify/merge-queue/6ffeb7ccab

Conversation

@mergify
Copy link
Copy Markdown

@mergify mergify bot commented Mar 24, 2026

🎉 This pull request has been checked successfully and will be merged soon. 🎉

Branch main (26be0f9) and #998 are embarked together for merge.

This pull request has been created by Mergify to speculatively check the mergeability of #998.
You don't need to do anything. Mergify will close this pull request automatically when it is complete.

Required conditions of queue rule default for merge:

Required conditions to stay in the queue:

---
checking_base_sha: 26be0f94359505998492dbe23e9dbe1bbdfc3735
previous_failed_batches: []
pull_requests:
  - number: 998
    scopes: []
scopes: []
...

ktdreyer and others added 4 commits March 24, 2026 08:33
The frontend VTEAM_VERSION env var was hardcoded in the deployment
manifest and required imperative "oc set env" patching after deploy.
ArgoCD reverts imperative changes on every sync, so the UI always
showed the stale default ("v0.0.7") on declaratively-managed clusters.

Embed the version in the backend binary at compile time via Go
ldflags and expose it through a new "GET /api/version" endpoint.
The frontend version route now proxies to the backend instead of
reading a local env var, making the version correct regardless of
deployment tool.

The backend becomes the single source of version truth for all
consumers (UI, CLI, API clients). Local builds get a short git SHA
from "git describe --tags --always --dirty", CI stage deploys get
the full commit SHA, and release deploys get the semver tag.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The ubi9/go-toolset base image sets "ENV VERSION=1.24.6", which
shadows the Dockerfile ARG of the same name. The backend binary
was getting the Go toolchain version instead of the git ref.

Use the "AMBIENT_" prefix to avoid collisions with base image
environment variables.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The "local-reload-backend" and "_build-and-load" targets were
building the backend image without the version build arg, so
those paths would always show "dev" in the UI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mergify mergify bot closed this Mar 24, 2026
@mergify mergify bot deleted the mergify/merge-queue/6ffeb7ccab branch March 24, 2026 17:34
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