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

Update to latest Theia community release: v1.52.0 #1118

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

marcdumais-work
Copy link
Contributor

@marcdumais-work marcdumais-work commented Sep 20, 2024

This PR updates @theia extension theia-traceviewer so it uses the latest Theia community release (v1.52.0). Same for the browser and electron example applications in this repo.

TODO:

  • investigate electron-rebuild problem (fixed)
  • Test Electron example

Note: there is a separate PR (#1119) to deal with the "open-with" no longer working with folders, since Theia 1.50.0 IIRC. We will probably want to merge that one too, before publishing a new version of theia-traceviewer. suitable for Theia 1.52.0 (latest community release)

@marcdumais-work
Copy link
Contributor Author

marcdumais-work commented Sep 20, 2024

IP Tickets for the new dependencies:

[main] INFO A review is required for npm/npmjs/-/app-builder-lib/24.13.3.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16244 .
[main] INFO A review is required for npm/npmjs/@ag-grid-community/react/32.2.0.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16245 .
[main] INFO A review is required for npm/npmjs/-/babel-loader/8.4.1.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16246 .

[main] INFO A review is required for npm/npmjs/-/playwright-core/1.47.2.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16247 .
[main] INFO A review is required for npm/npmjs/-/playwright/1.47.2.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16248 .
[main] INFO A review is required for npm/npmjs/@ag-grid-community/styles/32.2.0.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16249 .

[main] INFO A review is required for npm/npmjs/-/ag-charts-types/10.2.0.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16250 .

[main] INFO A review is required for npm/npmjs/@ag-grid-community/infinite-row-model/32.2.0.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16251 .

[main] INFO A review is required for npm/npmjs/-/eslint-module-utils/2.11.0.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16252 .

[main] INFO A review is required for npm/npmjs/-/envinfo/7.14.0.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16253 .

[main] INFO A review is required for npm/npmjs/@types/react/16.14.61.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16254 .

[main] INFO A review is required for npm/npmjs/-/electron-to-chromium/1.5.26.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16255 .
[main] INFO A review is required for npm/npmjs/@ag-grid-community/core/32.2.0.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16256 .
[main] INFO A review is required for npm/npmjs/@eslint-community/regexpp/4.11.1.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16257 .

[main] INFO A review is required for npm/npmjs/@playwright/test/1.47.2.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/16258 .

@marcdumais-work marcdumais-work force-pushed the theia-release-1.52.0 branch 2 times, most recently from 3b22fc6 to 1915c36 Compare September 20, 2024 20:57
Also ran yarn upgrade, to also update the other dependencies in the repo that
might benefit, following the update of the Electron-related dependencies.

With recent Theia, the rebuilding of the native dependencies for Electron
does not work unless dependency "nan" is pinned to v2.18.0. For that reason,
that dependency is added to this repo's root package.json's resolutions block.

This issue highlighted that we do not perform a full build of the Electron app
by default, leaving the rebuilding of the native dependencies (theia rebuild ...)
to be done before starting the Electron app or packaging it. In consequence,
it took a while to notice there was a problem with Electron once we upgraded to
Theia v1.52.0.

Also, update Jest test snapshots - there is a slight difference in the generated
HTML code for one testcase, following the minor ag-grid update in this commit.

Signed-off-by: Marc Dumais <[email protected]>
bhufmann
bhufmann previously approved these changes Sep 24, 2024
Copy link
Collaborator

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks

…till under review

A few dependencies, that we beleive to be license-compatible with the project, but that
are still under IP review, to the license check ignore list. For each one, the link to
the IP ticket is provided.

Signed-off-by: Marc Dumais <[email protected]>
Copy link
Collaborator

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks a lot for the upgrade!

Copy link
Collaborator

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks!

@marcdumais-work
Copy link
Contributor Author

Thanks for the review!

@marcdumais-work marcdumais-work merged commit d7507cf into master Sep 25, 2024
7 checks passed
@marcdumais-work marcdumais-work deleted the theia-release-1.52.0 branch September 25, 2024 12:32
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