Skip to content

Hold @wdio/opentelemetry out of npm releases until trusted publishing is set up - #660

Merged
vishnuv688 merged 1 commit into
mainfrom
chore/otel-private-until-trusted-publisher
Dec 4, 2026
Merged

vishnuv688 merged 1 commit into
mainfrom
chore/otel-private-until-trusted-publisher

Conversation

@vishnuv688

Copy link
Copy Markdown
Member

What & why

The npm release failed (run 47269049060) on @wdio/opentelemetry@0.1.0 with ENEEDAUTH. The release workflow has no NPM_TOKEN and publishes through npm trusted publishing (OIDC). @wdio/opentelemetry exists on npm only as a 0.0.0 placeholder published by hand from wdio-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/opentelemetry as "private": true so the release can go out for the other packages while the trusted publisher is set up.

Type of change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Polish (an improvement to an existing feature)
  • Breaking change (existing behavior changes for users)
  • Documentation
  • Internal (build, CI, dependencies, tooling)

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, the wdio-otel CLI)
  • conformance (cross-adapter conformance suite)

Capability matrix

  • packages/conformance/src/features.ts updated, and tables regenerated with pnpm docs:capabilities, if this adds or changes user-facing behaviour

Not applicable: no user-facing behaviour changes.

Notes for reviewers

  • With the package private, changeset version leaves it at 0.0.0 and does not consume .changeset/otel-push-cli.md, so its release note stays queued. changeset publish skips it. Checked by running changeset version on main with this change: backend 2.3.0, service 11.3.0, nightwatch 2.3.0 and selenium 2.3.0, the same as the failed run, and otel untouched.
  • No other package depends on @wdio/opentelemetry, so nothing published references the held-back version.
  • No changeset: nothing published changes.
  • To release otel: a maintainer of @wdio/opentelemetry adds a trusted publisher on npm (GitHub Actions, webdriverio / devtools, workflow release.yml, no environment), then a follow-up PR removes "private": true and the next release publishes 0.1.0.

Screenshots / recordings

N/A

🤖 Generated with Claude Code

… 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.
@vercel

vercel Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
devtools Ready Ready Preview Dec 4, 2026 5:16am UTC

Request Review

@vishnuv688 vishnuv688 self-assigned this Dec 4, 2026
@greptile-apps

greptile-apps Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] This change appears safe to merge.

Summary

Marks @wdio/opentelemetry as private to hold its npm release until trusted publishing is configured.

  • The OpenTelemetry package stays out of npm releases until its publisher is set up.

vishnuv688 explicitly acknowledges that publication is held until trusted publishing is configured. The existing install instructions describe functionality already unavailable from the placeholder release; this change does not create that gap.

Reviews (1) · Last reviewed commit: "Hold @wdio/opentelemetry out of npm rele..." · Reviewed by Greptile

@vishnuv688
vishnuv688 merged commit a0ab4aa into main Dec 4, 2026
14 checks passed
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.

1 participant