Skip to content

Conversation

@Colengms
Copy link
Contributor

@Colengms Colengms commented Mar 6, 2025

Recent changes impacted the performance of didChangeCppProperties on macOS, due to needing to resolve sub-frameworks up-front. This surfaced an existing issue in the E2E tests.

Issue 1: When settings are changed, that is always resulting in TWO didChangeCppProperties messages. One appears to be redundant. If the changed setting(s) would not impact the configuration, neither are actually needed. I haven't yet investigated that. I'm guessing that addressing it may require some refactoring of settings processing on the TypeScript side. That issue is not addressed by this PR.

Issue 2: The inlay hints tests were changing settings 39 times without synchronizing with completed processing of those setting changes. As a result, there's a backlog of settings changes in queue as the next test starts, causing it to timeout waiting for the result of later requests.

This change works around the issue with a (large/safe) sleep as each setting change is made.

A proper fix would involve finding some way to synchronize with the setting changes being completely applied.

@Colengms Colengms requested a review from a team as a code owner March 6, 2025 23:36
@github-project-automation github-project-automation bot moved this to Pull Request in cpptools Mar 6, 2025
@Colengms Colengms merged commit 9afc295 into main Mar 7, 2025
6 checks passed
@github-project-automation github-project-automation bot moved this from Pull Request to Done in cpptools Mar 7, 2025
@Colengms Colengms deleted the coleng/fix_E2E_failure branch March 7, 2025 00:24
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