Skip to content

fix(typespec-vscode): skip vscode e2e tests to unblock CI - #11368

Merged
timotheeguerin merged 3 commits into
microsoft:mainfrom
timotheeguerin:fix-e2e-hang
Jul 23, 2026
Merged

fix(typespec-vscode): skip vscode e2e tests to unblock CI#11368
timotheeguerin merged 3 commits into
microsoft:mainfrom
timotheeguerin:fix-e2e-hang

Conversation

@timotheeguerin

@timotheeguerin timotheeguerin commented Jul 23, 2026

Copy link
Copy Markdown
Member

Problem

The core / E2E Tests CI job started hanging indefinitely this morning across multiple unrelated PRs.

Root cause

The hang is isolated to the typespec-vscode:test:e2e turbo task, which runs two hosts that both download the latest VS Code build:

  • test:webvscode-test-web --quality stable (latest web build, no timeout)
  • test:extension — electron VS Code via @vscode/test-electron download() (latest stable)

VS Code 1.130.0 was published 2026-07-22 15:26 UTC (yesterday's green runs used 1.129.1). The new build breaks both hosts so they never report completion, hanging the runner until timeout.

Confirmed by: in the cancelled runs this morning, every other test:e2e task completes — only typespec-vscode:test:e2e never finishes. Skipping only test:web did not unblock CI (E2E still ran >14 min vs 5m43s for a full green run), showing test:extension is affected too.

Fix

Skip the whole typespec-vscode e2e task to unblock CI.

Follow-up (not in this PR)

Re-enable the vscode e2e tests with the VS Code version pinned to a known-good build and a timeout guard, plus automation to bump the pin, so a future VS Code release can't silently hang CI again.

vscode-test-web --quality stable pulls the latest VS Code build with no timeout; the 1.130.0 release hung the E2E CI job indefinitely across unrelated PRs. Skip test:web in test:e2e until it can be safely re-enabled.
@microsoft-github-policy-service microsoft-github-policy-service Bot added the ide Issues for VS, VSCode, Monaco, etc. label Jul 23, 2026
@timotheeguerin
timotheeguerin marked this pull request as ready for review July 23, 2026 14:41
@github-actions

Copy link
Copy Markdown
Contributor

No changes needing a change description found.

@timotheeguerin
timotheeguerin enabled auto-merge July 23, 2026 14:47
Removing test:web alone was not enough: test:extension also hung on VS Code 1.130.0 because @vscode/test-electron download() resolves the latest build. Pin it to the last-known-good 1.129.1.
Both test:web and test:extension pull the latest VS Code build; the 1.130.0 release hung the E2E CI job indefinitely. Skip the whole vscode e2e task until it can be pinned and timeout-guarded.
@timotheeguerin timotheeguerin changed the title fix(typespec-vscode): skip hanging web e2e tests to unblock CI fix(typespec-vscode): skip vscode e2e tests to unblock CI Jul 23, 2026
@azure-sdk-automation

azure-sdk-automation Bot commented Jul 23, 2026

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@timotheeguerin
timotheeguerin added this pull request to the merge queue Jul 23, 2026
Merged via the queue into microsoft:main with commit 937e9f2 Jul 23, 2026
32 checks passed
@timotheeguerin
timotheeguerin deleted the fix-e2e-hang branch July 23, 2026 15:57
iscai-msft pushed a commit to iscai-msft/typespec that referenced this pull request Jul 29, 2026
VSCode e2e tests (`test:web` and `test:extension`) were temporarily
disabled in microsoft#11368 when CI jobs started hanging indefinitely after the
VS Code 1.130.0 release. Re-enabling them now that the issue appears
resolved.

## Changes

- **`packages/typespec-vscode/package.json`**: Restore `test:e2e` to
`pnpm test:web && pnpm test:extension` (reverts the skip echo
workaround). The vitest config already guards against hangs with a 240s
CI timeout.
- **`.chronus`**: Replace the "skip" changelog entry with a "re-enable"
entry.

<!-- START COPILOT CODING AGENT SUFFIX -->

- Mitigate microsoft#11369

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: timotheeguerin <1031227+timotheeguerin@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ide Issues for VS, VSCode, Monaco, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants