Conversation
Couldn't tell which version of River UI was running or when it was last upgraded. Add a Build info section to the settings page backed by a new GET /api/version endpoint using runtime/debug.ReadBuildInfo, with -ldflags -X overrides so Docker builds report real metadata.
edwardsb
force-pushed
the
build-info-settings
branch
from
September 26, 2026 00:26
923f618 to
ec85a35
Compare
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I couldn't tell which version of River UI I was running, and couldn't remember the last time I'd upgraded, so I added a Build info section to the settings page showing the running binary's version, commit, commit date, and Go version.
The data comes from a new
GET /api/versionendpoint backed byruntime/debug.ReadBuildInfo, with-ldflags -Xoverrides so Docker builds made from a partial source copy still report real metadata (the release workflow now computes and passesBUILD_VERSION,BUILD_REVISION, andBUILD_COMMIT_TIMEas build args). When River UI is embedded, the section notes the info describes the host application.Includes endpoint + component coverage following the existing
featurestest patterns.