Repository navigation
Pin native hosting validation to Ubuntu 24.04 - #22223
Conversation
Keep Chromium installation on an Ubuntu release supported by the workflow's pinned Playwright 1.58.2 rather than ubuntu-latest's Ubuntu 26.04 image. Co-authored-by: Copilot App <[email protected]>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 22223Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 22223" |
|
/backport to release/17.0 |
|
Started backporting to |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🟡 Changes recommended
The runner-pin workaround comment lacks the tracking link to #22216 and the removal condition tied to Playwright support for the newer runner image.
1 open issue
What changed in this PR
Pins Aspire’s native Linux hosting validation to Ubuntu 24.04 to avoid the Playwright browser-setup failure on Ubuntu 26.04. Returning to ubuntu-latest is tracked in #22216.
Changes:
- Changes only the
native_hostingrunner toubuntu-24.04. - Adds a compatibility comment; smoke scenarios, cleanup checks, action pins, and the Windows runner remain unchanged.
| File | Description |
|---|---|
.github/workflows/native-hosting-validation.yml |
Pins the Linux runner and documents the Playwright compatibility constraint. |
Review effort: Balanced
Commented on Playwright version compatibility with Ubuntu. Co-authored-by: Copilot Autofix powered by AI <[email protected]>
Tests selector1 / 101 PR test projects · 0 PR jobs, from 1 changed file. Selected PR test projects (1 / 101)
Selected PR jobs (0)none How these were chosen — grouped by what changed📄 Job reasonsnone Selection computed for commit |
|
✅ No documentation update needed. Step 5 branch: docs_required → proven false positive (build_or_ci_only).
|
Backport of #22223 to release/17.0 /cc @danegsta ## Customer Impact N/A Test infra issue ## Testing PR run ## Risk Low - fixes failing test ## Regression? N/A Test infra issue Co-authored-by: David Negstad <[email protected]> Co-authored-by: Copilot App <[email protected]>

Description
The native Linux hosting validation job fails during browser setup because
ubuntu-latestselects Ubuntu 26.04, which the harness's pinned Playwright 1.58.2 does not support. This prevents the browser-backed workload, revision, and CLI Dashboard smoke scenarios from running.Pin only the
native_hostingjob toubuntu-24.04and add a nearby compatibility comment. All smoke scenarios, cleanup assertions, dependencies, action pins, and the Windows runner remain unchanged. This is an independent fix againstmain, without theaspire updatefeature changes from #22207.Relates to #22216, which tracks returning to
ubuntu-latestonce Playwright supports the newer OS; this PR does not close that issue.Validation
git diff --check origin/main...HEAD— passed. A local Ruby YAML structural comparison also passed: the only semantic workflow change is the native Linux runner, and the workflow's self-trigger is retained.gh run view 43291371258 --repo microsoft/aspire --json conclusion,headSha,jobs,url— confirmed the original identical pin passed both Linux and Windows validation. Linux logs confirm all three browser Dashboard smoke scenarios and their cleanup assertions passed; both evidence artifacts were uploaded.Fixes # (issue)
Checklist
<remarks />and<code />elements on your triple slash comments?