feat: styles improvement and repo info - #5
Merged
Merged
Conversation
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.
This pull request enhances the build metadata pipeline and significantly improves the status page's header by surfacing detailed build information, such as commit, branch, build time, and CI run number. It also refactors the build process to consistently inject this metadata, updates the UI to display it in a modern, interactive popover, and documents these changes. The result is a more informative and user-friendly status page that helps users and maintainers quickly identify the running build and its provenance.
Build metadata injection and propagation:
COMMIT,BRANCH,BUILD_TIME,BUILD_NUMBER) in both GitHub Actions workflows (build-dev.yml,docker.yml) and passes them as build arguments to Docker and via-ldflagsfor Go binaries. [1] [2] [3] [4] [5] [6]Makefileis updated to provide these arguments for local builds as well, ensuring parity between CI and local environments. [1] [2]Backend code changes for build metadata:
main.go) defines variables for all build metadata and exposes them via a newbuildInfo()function, which is then passed to the server and admin handlers. [1] [2] [3] [4] [5] [6] [7] [8]Status page UI and UX improvements:
Documentation updates:
README.mdandREADME.ru.mdfiles are updated to describe the new build popover and clarify how and where build metadata is displayed. [1] [2]These changes provide clear, actionable build provenance directly in the status page UI and ensure that all builds (local and CI) are consistently annotated with their metadata.