Skip to content

Conversation

@paralta
Copy link
Member

@paralta paralta commented Jan 9, 2026

Updates the SDK release process to use npm Trusted Publishers for OIDC-based authentication and makes SDK releases a manual step separate from the main release workflow.

  • Replace NODE_AUTH_TOKEN with OIDC trusted publishing for npm (adds id-token: write permission)
  • Remove SDK job from automated release workflow; now triggered manually via workflow_dispatch
  • Remove NPMJS_TOKEN and PYPI_API_TOKEN secrets from CI workflows
  • Update RELEASE.md with manual SDK release instructions
  • Clean up Taskfile.yml and .npmrc to remove token references

…s and clean up workflow configurations

Signed-off-by: Catarina Paralta <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

The latest Buf updates on your PR. Results from workflow Buf CI / verify-proto (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped⏩ skipped✅ passedJan 9, 2026, 2:22 PM

@github-actions github-actions bot added the size/S Denotes a PR that changes 50-199 lines label Jan 9, 2026
@paralta paralta requested a review from muscariello January 9, 2026 14:22
@paralta paralta changed the title feat(release): migrate JavaScript SDK to npm Trusted Publishers and decouple SDK releases from CI feat(release): migrate js sdk to npm trusted publishers and decouple sdk releases from ci Jan 9, 2026
@paralta paralta linked an issue Jan 9, 2026 that may be closed by this pull request
2 tasks
@paralta paralta marked this pull request as ready for review January 12, 2026 08:59
@paralta paralta requested a review from a team as a code owner January 12, 2026 08:59
@ramizpolic
Copy link
Member

@paralta what is the reason behind having to release packages manually? afaik the process can still work automatically, even with this approach, since we can specify id-token as the requirement and pass it from the main workflow

@paralta
Copy link
Member Author

paralta commented Jan 13, 2026

@ramizpolic The SDK release workflow was moved to manual execution because version conflicts (when a version has already been pushed) cause the entire CI pipeline to fail and block. Once the SDK release process is more reliable at handling these cases, we can re-integrate it into the automated CI workflow.

@ramizpolic
Copy link
Member

Once the SDK release process is more reliable at handling these cases, we can re-integrate it into the automated CI workflow.

we may want to track this as a separate issue for the future, or alternatively to switch to release-please method for all artifacts

@paralta paralta merged commit fa7752c into main Jan 13, 2026
29 checks passed
@paralta paralta deleted the feat/release-js-sdk branch January 13, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 50-199 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Js example bugs

3 participants