Skip to content

Try to fix Chat smoke test flake#320380

Merged
alexr00 merged 1 commit into
mainfrom
alexr00/welcome-bison
Jun 8, 2026
Merged

Try to fix Chat smoke test flake#320380
alexr00 merged 1 commit into
mainfrom
alexr00/welcome-bison

Conversation

@alexr00

@alexr00 alexr00 commented Jun 8, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings June 8, 2026 09:56
@alexr00 alexr00 self-assigned this Jun 8, 2026

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

This PR aims to reduce flakiness in the Chat Sessions smoke tests by avoiding configuration writes from the smoketest extension (which can race with Copilot Chat’s configuration schema registration) and by pre-seeding the required settings via settings.json edits before the tests run.

Changes:

  • Pre-configure required chat/Copilot settings via settingsEditor.addUserSettings(...) to avoid configuration-schema races.
  • Re-enable the previously skipped “Copilot CLI session” and “Claude session” smoke tests.
  • Remove runtime workspace.getConfiguration().update(...) calls from the smoketest extension commands that open those sessions.
Show a summary per file
File Description
test/smoke/src/areas/chat/chatSessions.test.ts Writes required settings up-front and re-enables the Copilot CLI + Claude session smoke tests.
test/smoke/extensions/vscode-smoketest-ext-host/extension.js Stops mutating settings at command execution time to avoid racing with Copilot Chat configuration schema registration.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

@alexr00 alexr00 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@alexr00 alexr00 merged commit 2253208 into main Jun 8, 2026
38 checks passed
@alexr00 alexr00 deleted the alexr00/welcome-bison branch June 8, 2026 11:56
@vs-code-engineering vs-code-engineering Bot added this to the 1.125.0 milestone Jun 8, 2026
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.

3 participants