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

Reorder back-end plugin deployment to prevent early promise resolution #13643

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

tsmaeder
Copy link
Contributor

What it does

Upon startup, we the front end indirectly waits for the initial deployment of plugins before loading their contributions. Because of parallel execution of back end/headless deployment, the corresponding promise was resolved too early and the list of plugins was incomplete.

Workaround for #13638

Contributed on behalf of STMicroelectronics

How to test

Repeat the "how to reproduce" from the linked issue. The installed plugins should show up reliably in the UI.

Follow-ups

#13641
#13642

Review checklist

Reminder for reviewers

Workaround for eclipse-theia#13638

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
@tsmaeder tsmaeder requested a review from msujew April 25, 2024 12:03
@tsmaeder
Copy link
Contributor Author

@cdamus might be a good idea if you had a quick look.

Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

Great, thanks 👍

I assume that this should also fix that @jonah-iden was experiencing when testing #13369.

@tsmaeder
Copy link
Contributor Author

@msujew

of the builtin extensions only 26 of 83 were installed. Even basic things like css and dart language basics

For me it's typically 27, but yeah, that looks like the same problem.

@tsmaeder tsmaeder merged commit cf7dc82 into eclipse-theia:master Apr 25, 2024
12 of 14 checks passed
@cdamus
Copy link
Contributor

cdamus commented Apr 26, 2024

@cdamus might be a good idea if you had a quick look.

No objection from me. Agreed that strictly sequencing the start-up of each class of plug-in makes sense.

@jfaltermeier jfaltermeier added this to the 1.49.0 milestone Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants