Skip to content

Comments

Enable desktop integration tests on all OS#1487

Merged
priyanshu92 merged 8 commits intomainfrom
fix/enable-desktop-tests-all-os
Feb 20, 2026
Merged

Enable desktop integration tests on all OS#1487
priyanshu92 merged 8 commits intomainfrom
fix/enable-desktop-tests-all-os

Conversation

@priyanshu92
Copy link
Contributor

Fix case-sensitive path issues (Integration -> integration) that prevented test discovery on Linux/macOS, and add --no-sandbox --disable-gpu launch args for headless CI environments.

@priyanshu92 priyanshu92 requested review from a team as code owners February 20, 2026 07:25
priyanshu92 and others added 3 commits February 20, 2026 13:11
Fix case-sensitive path issues (Integration -> integration) that
prevented test discovery on Linux/macOS, and add --no-sandbox
--disable-gpu launch args for headless CI environments.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Skip Windows-specific path tests on non-Windows platforms
  (backslash path separator and drive letter URI conversion)
- Stub prepareSiteStoragePath in CompareWithEnvironment/Local
  handler tests to prevent mkdirSync at absolute /test paths
  which causes EACCES on Linux and ENOENT on macOS

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Skip getDeletePathUris test that uses backslash-separated
paths, as vscode.Uri.file() only converts backslashes to
forward slashes on Windows.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@priyanshu92 priyanshu92 force-pushed the fix/enable-desktop-tests-all-os branch from 649c791 to 4574a98 Compare February 20, 2026 07:42
@priyanshu92 priyanshu92 enabled auto-merge (squash) February 20, 2026 07:43
priyanshu92 and others added 5 commits February 20, 2026 13:20
Stub ReadOnlyContentProvider.register to prevent duplicate
filesystem provider registration. The bundled extension
already registers the scheme during activation, causing the
test module's separate singleton to throw on re-registration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The default 10s timeout causes flaky failures on Ubuntu CI
runners due to VS Code launch overhead in headless mode.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Stub vscode.window.registerTreeDataProvider and
MetadataDiffDecorationProvider.register to prevent
duplicate VS Code provider registrations that behave
differently on macOS/Linux vs Windows.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The initialize tests randomly fail on macOS CI with a
different test each run, due to VS Code extension host
timing issues. Adding retries(2) stabilizes the suite.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@priyanshu92 priyanshu92 merged commit 3f20d10 into main Feb 20, 2026
8 checks passed
@priyanshu92 priyanshu92 deleted the fix/enable-desktop-tests-all-os branch February 20, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants