Skip to content

Fix VS Code browser E2E framework mismatch - #20099

Merged
Adam Ratzman (adamint) merged 1 commit into
mainfrom
copilot/fix-browser-e2e-framework
Sep 14, 2026
Merged

Adam Ratzman (adamint) merged 1 commit into
mainfrom
copilot/fix-browser-e2e-framework

Conversation

Copilot AI commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Description

The VS Code browser-debugger E2E shard fails before running its tests because the repository now uses the .NET 11 RC1 SDK, while the generated Blazor fixture still requires net10.0.

This change aligns the generated standalone, hosted, and AppHost projects with net11.0. It explicitly passes the target framework to dotnet new, validates the generated project files, and removes the .NET 10 compatibility targets that the .NET 11 projects no longer need.

The source-level unit coverage now derives the expected framework from global.json, so a future SDK upgrade will flag fixture drift before it reaches main.

Validation:

  • Generated all three browser-debugger template variants with the pinned net11.0 framework using the repository SDK.
  • Checked the E2E runner syntax and exercised the focused source regression assertions.

Fixes #20098

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No

Align the generated browser-debugger fixtures with the repository's .NET 11 SDK and add coverage that catches future SDK/fixture drift.

Co-authored-by: Copilot <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20099

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20099"

@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

0 / 99 PR test projects · 2 PR jobs · 0 advisory-only targets, from 2 changed files.

Selected PR test projects (0 / 99)

none — no PR-gated .NET test projects run for this change.

Selected PR jobs (2)

extension-e2e, extension-unit

Advisory workflow impact (0)

none


How these were chosen — grouped by what changed

Job reasons

Job Triggered by
extension-e2e extension/scripts/run-e2e.js, extension/src/test/e2eLaunchProfile.test.ts
extension-unit extension/scripts/run-e2e.js, extension/src/test/e2eLaunchProfile.test.ts

Selection computed for commit 8b20bbb.

@adamint
Adam Ratzman (adamint) enabled auto-merge (squash) September 13, 2026 23:29

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed: 0 correctness, security, performance, or test coverage issues found.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ CI Failure Analysis: Possible Flaky Test(s)

The CI build failed due to test failure(s) that appear unrelated to the PR changes. These may be flaky tests.

Suspected flaky test(s):

Suggested actions:

  • Re-run the failed CI jobs to confirm if the failure is intermittent
  • If the test continues to fail, consider quarantining it using /quarantine-test <test name> <issue URL>
  • Search existing issues to see if this test is already known to be flaky

You can re-run the failed jobs from the workflow run page.

David Fowler (davidfowl) added a commit that referenced this pull request Sep 14, 2026
Incorporate the browser-debugger framework fix from #20099 and the repository NuGet configuration fix from #20062.

Co-authored-by: Copilot App <[email protected]>
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VS Code browser debugger E2E fixture rejects .NET 11 templates

5 participants