Repository navigation
Add Linux Desktop E2E engines for the missing architectures - #18452
Conversation
…rkflow-arch-gap # Conflicts: # e2e/rstudio/tests/panes/posit-assistant-chat/uninstall-posit-ai.test.ts
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
RStudio E2E - all platformsAll tests passed!
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 |
ReviewA branch review of all nine commits raised five findings: three Medium, two Low.
AssessmentFindings 1, 2 and 3 rest on premises the validation runs contradict. The reviewer had no access to run logs, so these are reasonable inferences from the source text rather than oversights.
Actions TakenFinding 4 applied in
The predicate is async because the Copilot store check reads the agent's The documentation points behind findings 2 and 5 are also applied, in
Neither changes behaviour; both fix the specific gap that made these findings unanswerable from the source alone. Findings 1 and 3 need no change. Nothing from finding 3 is deferred either -- there is no latent work behind it. The |
|
Addresses #18410. |
Until now every Linux Desktop E2E engine ran on one CPU architecture only. Of the eight Linux OS versions covered, five were tested on x86_64 alone, two on ARM64 alone, and only Ubuntu 24 on both. This adds the missing architecture for the other seven, so each Linux OS version can now be tested on x86_64 and on ARM64.
It also schedules the ARM64 Ubuntu 24 engine, which already existed but had never been wired into the nightly rotation, and moves the dedicated macOS 14 cron from Monday to Friday.
New engine configs
Five Linux OS versions were tested on x86_64 only and now have an ARM64 engine:
fedora-43-arm64,fedora-44-arm64,rocky-9-arm64,ubuntu-22-arm64,ubuntu-26-arm64Two were tested on ARM64 only and now have an x86_64 engine:
debian-13-x86_64,rocky-10-x86_64Each is a new JSON file under
.github/e2e-linux/, copied from the engine of the same OS version on the other architecture, with every key that must not collide between architectures given a distinct value:sccache_key_prefix,installer_artifact,e2e_deps_cache_scopeandpw_label. The three build cache keys are deliberately shared where the two architectures' builds are byte-compatible, which the README already documents.All seven are dispatch-only: they appear in the engine workflow's
oschoice list for hand dispatches but have no row in the nightly rotation, so they cost no scheduled runner time. Wiring any of them into the rotation stays a separate decision, one engine at a time.Fixes to shared hooks, found by running the new engines
Adding a second architecture exercised shared code that had only ever run on one, surfacing four real defects. Three affect engines already on a schedule.
ubuntu-22/build-setup.shreadJAVA_HOME_17_X64and fell back to anamd64JVM path unconditionally, so the arm64 engine exported a nonexistentJAVA_HOMEand the GWT build could not find javac. Now selected bydpkg --print-architecture.debian-13/post-r-setup.shrewrote/etc/os-release'sVERSION_CODENAMEtonobleunconditionally. Its own comment gives the reason that must not apply to x86_64 ("PPM already serves trixie x86_64 binaries; arm64 is the only gap"), so the rewrite is now arm64-guarded.fedora/e2e-setup.shwas missinglibgit2-devel, sogertfailed to configure, cascading throughusethistodevtools, which is inrequired-packages.txt. This affects the two x86_64 Fedora engines in the rotation, which appear to have been surviving only on a warm R-library cache.--shm-size=2g. Docker's 64 MB default/dev/shmcrashed the Electron renderer mid-suite (Target crashed, concentrated in reload- and repaint-heavy tests, alongside ~20 flaky results). Also affects both x86_64 Fedora engines.ubuntu-22-arm64additionally needsPKG_INCLUDE_LINKINGTO=TRUEand a-devheader set: PPM publishes no jammy arm64 binaries, and pak plans the install assuming binaries, which omitsLinkingTodependencies and then cannot recover when PPM serves source.Rotation changes
ubuntu-24-arm64joins the rotation on Thursday and in the Sunday full-matrix run. Its config already existed and was hand-dispatchable but had no rotation entry, so no cron path could select it.ubuntu22moves from Thursday to Wednesday to make room.cron:string, the concurrency group expression, and thepickjob branch); a mismatch in any one changes behavior silently rather than failing. Friday 16:00 lands inside three of the eight October 2026 brownout windows for the deprecatedmacos-14image (Oct 16, 23 and 30), against Monday's four -- that cost is now recorded in the comment, along with the exact dates, verified against [macOS] macOS 14 Sonoma retirement: GitHub Actions and ADO arm64 on November 2; ADO Intel on November 23 actions/runner-images#13518.Other
ubuntu-26-x86_64'sdaily_platform_keybecomesresolute-amd64rather thannoble-amd64, with the matchingresolute_amd64output added to the scheduled workflow's resolve job so the version-pinned path stays correct. Both keys alias the same jammy-built deb today, so this is self-documentation, not a change of artifact.installer_artifactvalues gain their arch suffix, per the convention the README already states.rstudio-desktop-deb-ubuntu-24was a prefix ofubuntu-24-arm64's value, and the merge job collects blobs by glob.build_timeout_minutesrise from 90 to the 150 every other container engine uses. A measured fully-cold container build in this work took 119 min 45 s, so 90 is not enough for that shape. Addresses Linux E2E branch dispatches time out building from source on cold caches (build_timeout_minutes: 90) #18404.uninstall-posit-ai.test.tsguards itsbeforeAllonisPositAiAuthenticated().requireAiCredentialsgates viabeforeEach, which Playwright runs afterbeforeAll, so this file -- the only one managing its own session rather than taking therstudioPagefixture -- turned what should be a clean skip into a failed test whenever its setup failed.Validation
Validated pre-merge with a temporary push-triggered caller, removed again in this PR. Eleven runs per iteration: eight daily-install plus three source-build, the latter chosen to cover the distinct build shapes (bare arm64 twice, container arm64 once).
Final state: 10 of 11 green, plus separate dispatches confirming the three x86_64 rotation engines this PR modifies (
fedora-43-x86_64,fedora-44-x86_64,ubuntu-26-x86_64).Both remaining failures are pre-existing intermittent test problems on dispatch-only or already-scheduled engines, not config defects, and neither reproduces reliably:
s4_unloaded_package.test.ts:192fails intermittently under a full suite on Ubuntu 26, both architectures -- it failed a scheduledubuntu-26-x86_64run during this work and passes when run alone.ubuntu-22-arm64failed one test per run but a different one each time, alternating between build paths.