Repository navigation
Resolve e2e daily builds per branch, not via /rstudio/latest - #18500
Merged
Merged
Conversation
The e2e workflows installed the build named by dailies.rstudio.com/rstudio/latest/index.json while running the tests from the checked-out branch. Those are two different branches whenever the alias lags a rollover, and its index.json does lag: after the 2026.08 branch cut the /rstudio/latest/ page served Autumn Hawkbit (2026.09) while /rstudio/latest/index.json still named a Yellow Yarrow (2026.08) build. CI reads the JSON, so the scheduled rotation installed a 2026.08 binary and ran main's tests against it. Every test covering behavior added after the cut failed on every platform, with nothing wrong in either the test or the product -- #18454 and #18470 both landed that way. Resolve the manifest from version/RELEASE instead. The new os-resolve-daily-manifest action turns it into the "flower" path segment the same way docker/jenkins/publish-build.sh does when it writes the manifest, so the reader and the writer stay in step, and a manifest named after its own branch cannot be mis-pointed by an alias. It computes a URL and makes no network request, so it is safe in the jobs that end up using an override URL instead. A missing platform key now fails with the branch and key named, and says a source build is the way to test a branch with no daily. Autumn Hawkbit has no Windows build yet, so the Windows engines take that path until one is published; installing a 2026.08 .exe was never a valid substitute. Addresses #18498
The pull_request paths filter lists every composite action these workflows use, but the new os-resolve-daily-manifest was missing, so a PR touching only the resolver would not run the workflow that exercises it. version/RELEASE joins it for the same reason one step further out: it selects which branch's daily each platform resolves, so a change there changes the binary under test. A flower with no daily yet falls through decide() to a source build, so such a PR proves the transition works instead of leaving it to the next cron rotation. Addresses #18498
RStudio E2E - all platforms11 test(s) failed
View / download the full reportView report online -- opens in the browser, no download needed. Available for 14 days. Download playwright-report.zip -- extract and open
All platforms - commit |
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.
Problem
The e2e workflows installed the build named by
dailies.rstudio.com/rstudio/latest/index.jsonwhile running the tests from thechecked-out branch. Those are two different branches whenever the alias lags a
rollover, and its
index.jsondoes lag: after the 2026.08 branch cut, the/rstudio/latest/page served Autumn Hawkbit (2026.09) while/rstudio/latest/index.jsonstill named a Yellow Yarrow (2026.08) build.CI reads the JSON. So the scheduled rotation installed a 2026.08 binary and ran
main's tests against it, and every test covering behavior added after the cutfailed on every platform with nothing wrong in either the test or the product.
Both #18454 and #18470 landed that way: 8 of the 9 tests #18454 added failed,
and the only one that passed was the one asserting behavior that predates it.
Change
.github/actions/os-resolve-daily-manifestderives the manifest URL fromversion/RELEASE, turning it into the "flower" path segment the same waydocker/jenkins/publish-build.shdoes when it writes the manifest. Reader andwriter stay in step, and a manifest named after its own branch cannot be
mis-pointed by an alias.
/rstudio/latest/index.jsonnow consume thatoutput.
version/RELEASEfails instead of resolving to some other object on the dailies host.
resolvejob gains a checkout, since it cannot readversion/RELEASEotherwise.a source build is how to test a branch without a daily.
pathsfilter picks up the new action andversion/RELEASE,so a change to the resolver, or to the input that selects which branch's daily
it resolves, triggers the workflow that exercises it.
The action computes a URL and makes no network request, so it is safe in the
jobs that end up using an override installer URL instead of a manifest.
Verification
actionlintover all nine workflows reports the same 17 pre-existingshellcheck items as
main, and no new ones.shellcheckis clean on theaction's script.
Autumn HawkbitandYellow Yarrowcorrectly,with and without a trailing newline, and rejects
../../evil,foo/bar, anempty file,
-leading-dash, andAutumn Hawkbit?x=1.daily_platform_keyin.github/e2e-linux/*.json, plusmacosandserver
noble-amd64, resolves in the per-branch manifest.No NEWS.md entry: this is CI wiring with no user-facing change.
Addresses #18498.