Skip to content

Fix SimpleCppProject E2E test setup - #14687

Merged
Sean McManus (sean-mcmanus) merged 2 commits into
mainfrom
seanmcm/devbox2-wsl/agent32/fix-linux-macos-e2e-tests
Aug 18, 2026
Merged

Fix SimpleCppProject E2E test setup#14687
Sean McManus (sean-mcmanus) merged 2 commits into
mainfrom
seanmcm/devbox2-wsl/agent32/fix-linux-macos-e2e-tests

Conversation

@sean-mcmanus

@sean-mcmanus Sean McManus (sean-mcmanus) commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Activate the C/C++ extension before the compiler-path tests so extension state is initialized before resolving the native argument-parsing helper. Also update the non-Windows developer-environment test to expect the command's explicit platform error.

Validation

  • yarn run compile
  • yarn run lint
  • yarn test --scenario=SimpleCppProject (21 passing)
  • I verified the lab builds pass now too.

This PR was investigated and created by Copilot with GPT-5.6 Sol (in VS Code). Any message starting with ✨Copilot: was sent by Copilot.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Initializes extension state before compiler-path tests and aligns non-Windows developer-environment expectations with the command’s actual error.

Changes:

  • Activates the C/C++ extension before compiler-path tests.
  • Exposes and asserts the non-Windows platform error.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
Extension/test/scenarios/SimpleCppProject/tests/compilerPath.test.ts Adds extension activation setup.
Extension/test/scenarios/SimpleCppProject/tests/devEnvironment.test.ts Expects the platform-specific error.
Extension/src/LanguageServer/devcmd.ts Exports the non-Windows error constant.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@sean-mcmanus
Sean McManus (sean-mcmanus) marked this pull request as ready for review August 18, 2026 01:22
@sean-mcmanus
Sean McManus (sean-mcmanus) requested a review from a team as a code owner August 18, 2026 01:22
@sean-mcmanus
Sean McManus (sean-mcmanus) merged commit e46f612 into main Aug 18, 2026
5 checks passed
@sean-mcmanus
Sean McManus (sean-mcmanus) deleted the seanmcm/devbox2-wsl/agent32/fix-linux-macos-e2e-tests branch August 18, 2026 22:53
@github-project-automation github-project-automation Bot moved this from Pull Request to Done in cpptools Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants