Repository navigation
ci(docs): publish main's web client to its versioned release slot - #1271
Open
aristarkhovNV wants to merge 1 commit into
Open
aristarkhovNV wants to merge 1 commit into
aristarkhovNV wants to merge 1 commit into
Conversation
Main now deploys the web client to both client/main/ and client/release-<VERSION>/, so consumers of the latest release line keep getting current builds without mirroring main into the release branch. The release slot belongs to main until release/<VERSION> has commits main lacks. A release push that main already covers (e.g. the sync fast-forward) skips the web client build, and a main push whose VERSION names a diverged release branch fails CI until VERSION is bumped. VERSION changes now trigger a client rebuild. Signed-off-by: Andrei Aristarkhov <aaristarkhov@nvidia.com>
Contributor
jiwenc-nv
approved these changes
Oct 15, 2026
sgrizan-nv
approved these changes
Oct 15, 2026
yanziz-nvidia
approved these changes
Oct 15, 2026
This branch was successfully deployed
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.
Summary
Main now deploys the web client to both
client/main/andclient/release-<VERSION>/(todayclient/release-1.7.x/). That means the latest release line stays current withoutsync-release-branches.ymlmirroring main into the release branch. The sync workflow stays in place for now. Once this lands it can be disabled without anyone seeing a stale client.Who publishes which directory. The
changesjob now outputsclient-targets, and the deploy step copies the build into each listed directory:mainandrelease-<VERSION>vX.Y.ZRelease pushes main already covers. If main's
VERSIONmatches the branch and the branch has no commits main lacks (for example, the sync fast-forward), the push skips the web client build. It can no longer overwrite main's copy.Diverged release branches. A main push whose
VERSIONnames a release branch with commits main lacks fails CI. Main has to bumpVERSIONonce a release branch diverges.VERSIONas a trigger. A change toVERSIONnow rebuilds the client, so a bump publishes the new versioned directory immediately.Storage. The two directories are full copies, not redirects, so deep links work. Git stores identical files once, so the copy costs no extra gh-pages repo storage.
Notes
release-tag.ymltags the release branch tip. Once the sync is disabled, the release branch has to be fast-forwarded by hand before tagging.Test plan
SKIP=check-copyright-year pre-commit run --all-filesmain release-1.7.x, syncedrelease/1.7.xgives nothing,release/1.6.xgivesrelease-1.6.x, and a tag gives itself.client/main/andclient/release-1.7.x/both update.🤖 Generated with Claude Code
Summary by CodeRabbit
main, and release branches.main.mainstops if its matching release branch contains commits not present onmain.