-
fix(ci): publish via OIDC trusted publishing, not a non-existent NPM_TOKEN (#1836)
Some checks failedRun install, format, lint, build, and test on every push / build (push) Has been cancelledRun install, format, lint, build, and test on every push / publish (push) Has been cancelledRun install, format, lint, build, and test on every push / publish-github-container-registry (push) Has been cancelledreleased this
2026-07-28 01:09:27 -04:00 | 1287 commits to main since this release- fix(ci): publish via OIDC trusted publishing, not a non-existent NPM_TOKEN
The 2.0.0-rc.1 publish failed with
npm error code ENEEDAUTH. Two causes, both
in the v2 publish job, which had never actually executed before — every prior
release was cut from the v1 workflow.-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}pointed at a secret that does
not exist (the repo has no secrets at repo or environment level — publishing
moved to OIDC trusted publishing).setup-nodetherefore wrote an empty
_authTokeninto its generated.npmrc, and npm failed ENEEDAUTH before
OIDC was ever attempted. Removed, with a comment saying why it must not be
"restored". -
The job never upgraded the npm CLI. Trusted publishing requires npm
= 11.5.1 and Node 22 bundles 10.x, so this would have failed even with the
token line gone. The v1 workflow has this step; v2 was missing it.
The RC did its job: it caught both against the real registry, and consumed
nothing — the run failed beforenpm publishwrote anything, so no version was
burned and the dist-tags are untouched.Also confirms #1834 works: the log shows
Publishing 2.0.0-rc.1 under dist-tag 'next'before the auth failure.README corrected — it documented
NPM_TOKENas part of the publish setup.Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Txmv2qqv3yeKgRzoqXytzD- docs: restructure the test-servers section into navigable subsections
The section had grown into eight undifferentiated paragraphs, the longest 1,965
characters, each describing one or two showcase configs. The content is good
reference material — the problem was purely that you could not find anything in
it or tell where one config's description ended and the next began.Restructured, not rewritten. No facts removed:
- A summary table of all nine showcase configs, with what each demonstrates and
its tracking issue, so the set is visible at a glance. - One
####subsection per config family, so each is linkable and skimmable. - Enumerations that were buried in prose are now tables: the six MRTR presets,
the fourtrigger_*spec-error tools and their status/code pairs. - Step sequences (advertised extensions) and era contrasts (logging,
subscriptions, tasks) are now bullets rather than run-on sentences. - Two caveats that were parenthetical asides — browser
Mcp-Param-*skipping,
andcollect_elicitationerroring on the modern leg — are now blockquotes,
since both are things you hit and then have to go hunting for.
Longest line drops 1,965 → 620 characters. Verified every previously-documented
config and all technical identifiers survive.Noted while auditing:
demo.json,oauth-step-up-demo.json,
url-elicitation-form.jsonandxaa-ema-http.jsonexist in
test-servers/configs/but have never been documented here. Left alone —
that is a pre-existing gap, not a regression from this change.Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01Txmv2qqv3yeKgRzoqXytzD
Co-authored-by: Claude Opus 5 (1M context) noreply@anthropic.com
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
1 download