Skip to content

Conversation

@ndoschek
Copy link
Member

@ndoschek ndoschek commented Nov 21, 2025

What it does

  • chore: update to lerna 9
    • necessary for the OIDC authentication for trusted npm publishing via workflows
  • remove publish:next call after GH pages were published
    • Fixes Publishing Guide Github Pages #13319
    • The GH pages are published on each release, and we publish them after the actual package release was successful, so no need for an additional publishing here
  • chore: merge publish workflows to one trusted workflow
  • doc: update publishing guide to updated trusted publishing
  • ci: add new workflow that comments a checklist for new packages

Note

  • The NPM access configuration for the currently published @theia packages were updated today.
  • I disabled the next publish workflow today to not let it fail on monday morning; once this PR is merged I will run a next build to verify everything still works properly.

How to test

Follow-ups

Breaking changes

  • This PR introduces breaking changes and requires careful review. If yes, the breaking changes section in the changelog has been updated.

Attribution

Review checklist

Reminder for reviewers

- necessary for the OIDC authentication for trusted npm publishing via workflows
Fixes GH-13319

The GH pages are published on each release, and we publish them after the actual package release was successful, so no need for an additional publishing here
@ndoschek
Copy link
Member Author

ndoschek commented Nov 21, 2025

Review requests were opened and already approved for the new dependencies:

[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24940 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24941 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24942 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24943 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24944 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24945 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24946 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24947 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24948 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24949 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24950 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24951 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24952 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24953 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24954 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24955 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24956 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24957 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24958 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24959 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24960 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24961 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24962 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24963 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24964 .
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/24965 .

Copy link
Contributor

@sgraband sgraband left a comment

Choose a reason for hiding this comment

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

Thanks for the changes @ndoschek! Looks pretty good i just have some inline comments. Could you take a look at those?

@github-project-automation github-project-automation bot moved this from Waiting on reviewers to Waiting on author in PR Backlog Nov 25, 2025
As we need to switch to trusted npm publishing using OIDC authenticaction, we merge the next and release publish workflows to one which handles all cases.

Fixes GH-16434
@ndoschek
Copy link
Member Author

Thanks @sgraband for your review! I updated my commits and force pushed them, would be great if you could have another look! TIA!

- [ ] Folder structure follows Theia conventions (see [Code Organization](https://github.com/eclipse-theia/theia/blob/master/doc/code-organization.md))
- [ ] Package is added to the example applications (i.e. `browser`, `browser-only`, `electron`)
- [ ] New packages must be published manually by a Theia committer initially (see also [Release Process - Newly added Theia packages](https://github.com/eclipse-theia/theia/blob/master/doc/Publishing.md#212-newly-added-theia-packages---publish-initially-to-npm)).
If you are not a committer or do not have enough time, please open a follow-up ticket with the label `toDoWithRelease` to inform the release team about the new package.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need to clarify that this is in the Theia IDE repo, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

No I think theia is correct, as this is about the actual publishing of a new @theia package on NPM. This is part of the Theia release.
Adding this newly published package to the Theia IDE is then a separate step, and right below.
(I just introduced the todoWithRelease concept also for the theia repo as well, hope that's not too confusing?)

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah yes sorry, i was confused for a second 😄 Thanks for clarifying.

Copy link
Contributor

@sgraband sgraband left a comment

Choose a reason for hiding this comment

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

Thank you very much for the contribution and the iterations. Great improvement 🎉

@github-project-automation github-project-automation bot moved this from Waiting on author to Needs merge in PR Backlog Nov 25, 2025
@ndoschek ndoschek merged commit d8f18cc into master Nov 25, 2025
11 checks passed
@ndoschek ndoschek deleted the GH-16434 branch November 25, 2025 15:10
@github-project-automation github-project-automation bot moved this from Needs merge to Done in PR Backlog Nov 25, 2025
@github-actions github-actions bot added this to the 1.67.0 milestone Nov 25, 2025
ndoschek added a commit that referenced this pull request Nov 25, 2025
Follow up of GH-16630

- fix checkout step and make sure to fetch master branch for comparison
- fix commentBody to use backticks to have a proper multi-line string in JavaScript
ndoschek added a commit that referenced this pull request Nov 26, 2025
* fix check-new-packages.yml workflow

Follow up of GH-16630

- fix checkout step and make sure to fetch master branch for comparison
- fix commentBody to use backticks to have a proper multi-line string in JavaScript
- add an example issue link for the initial manual publish run for new theia packages

* fix: check-publish script for next releases

The checkPublish script did not work properly for next releases, if a new package was freshly released. This change updates the checkPublish script to check for next releases if all packages (also new ones) were published to npm.
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.

Migrate to npm trusted publishing (OIDC) and update workflows Publishing Guide Github Pages

3 participants