Repository navigation
Hold @wdio/opentelemetry out of npm releases until trusted publishing is set up - #660
Merged
Merged
Conversation
… is set up The release workflow publishes through npm trusted publishing (OIDC) and has no NPM_TOKEN. @wdio/opentelemetry exists on npm only as a 0.0.0 placeholder published by hand, with no trusted publisher configured, so `changeset publish` fails on it with ENEEDAUTH and stops the release for backend, service, nightwatch and selenium. Marking the package private makes `changeset version` skip it and leave its changeset unconsumed, and `changeset publish` skip it. Removing the flag once the trusted publisher exists releases it with the next run.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Confidence Score: 5/5
[Medium impact] This change appears safe to merge. SummaryMarks
Reviews (1) · Last reviewed commit: "Hold @wdio/opentelemetry out of npm rele..." · Reviewed by Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
The npm release failed (run 47269049060) on
@wdio/opentelemetry@0.1.0withENEEDAUTH. The release workflow has noNPM_TOKENand publishes through npm trusted publishing (OIDC).@wdio/opentelemetryexists on npm only as a0.0.0placeholder published by hand fromwdio-user, with no trusted publisher configured, so npm gives the workflow no credentials for it. The packages that do have a trusted publisher published fine in the same run (@wdio/devtools-app@1.13.1,@wdio/devtools-script@1.9.1,@wdio/elements@1.3.1), but backend, service, nightwatch and selenium were left unpublished.This marks
@wdio/opentelemetryas"private": trueso the release can go out for the other packages while the trusted publisher is set up.Type of change
Packages touched
shared(types and contracts)core(framework-agnostic capture/reporting)elements(published element/snapshot API —@wdio/elements)service(WebdriverIO adapter)nightwatch-devtools(Nightwatch adapter)selenium-devtools(Selenium adapter)selenium-devtools-py(Selenium Python adapter)backend(server)app(UI)script(page-injected runtime)trace(Trace mode)otel(@wdio/opentelemetry, thewdio-otelCLI)conformance(cross-adapter conformance suite)Capability matrix
packages/conformance/src/features.tsupdated, and tables regenerated withpnpm docs:capabilities, if this adds or changes user-facing behaviourNot applicable: no user-facing behaviour changes.
Notes for reviewers
changeset versionleaves it at0.0.0and does not consume.changeset/otel-push-cli.md, so its release note stays queued.changeset publishskips it. Checked by runningchangeset versiononmainwith this change: backend2.3.0, service11.3.0, nightwatch2.3.0and selenium2.3.0, the same as the failed run, and otel untouched.@wdio/opentelemetry, so nothing published references the held-back version.@wdio/opentelemetryadds a trusted publisher on npm (GitHub Actions,webdriverio/devtools, workflowrelease.yml, no environment), then a follow-up PR removes"private": trueand the next release publishes0.1.0.Screenshots / recordings
N/A
🤖 Generated with Claude Code