Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(chat/inline workspace context): fix updating workspace index blocks UI thread #5297

Merged
merged 3 commits into from
Jan 27, 2025

Conversation

Will-ShaoHua
Copy link
Contributor

@Will-ShaoHua Will-ShaoHua commented Jan 24, 2025

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Description

Wrap ProjectContextProvider@updateIndex inside pluginAwareExecuteOnPooledThread to make it execute it in background context instead of EDT

#5296

Root cause

updateIndex() is executed in blocking context

License

I confirm that my contribution is made under the terms of the Apache 2.0 license.

@Will-ShaoHua Will-ShaoHua requested review from a team as code owners January 24, 2025 22:39
@Will-ShaoHua Will-ShaoHua requested review from rli and andrewyuq January 24, 2025 22:42
@Will-ShaoHua Will-ShaoHua merged commit 65fc1a2 into aws:main Jan 27, 2025
11 checks passed
@Will-ShaoHua Will-ShaoHua deleted the edt branch January 27, 2025 18:06
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