Skip to content

Merge v4-beta to v4 (2026-11-20): own-registry opt-in, drop the poc scope mapping - #254

Merged
mike-ainsel merged 14 commits into
v4from
merge-2026-11-20-own-registry
Nov 20, 2026
Merged

mike-ainsel merged 14 commits into
v4from
merge-2026-11-20-own-registry

Conversation

@mike-ainsel

@mike-ainsel mike-ainsel commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Promotes v4-beta to v4. Two changes:

What changes for v4 callers

Nothing, unless a repository sets the new input npm-own-registry-scopes. That's gated in the workflow and verified on real runs:

  • Canary without the opt-in (test repository on @v4-beta, 2026-11-20): the release published to registry.npmjs.org with trusted publishing, exactly as before. No environment and no deployment was used.
  • An empty environment expression = no environment (checked on GitHub with a throwaway workflow).
  • The SDK monorepo calls pack-unpublished and publish-tarballs directly. For npmjs uploads the publish.ts changes do nothing. The 409 rule is unchanged for npmjs (a 409 there still fails the release).

With the opt-in (end-to-end on prod, 2026-11-20): existing and new @platforma-open packages published to npm.platforma.bio with GitHub OIDC. A package owned by another repository was refused with a readable reason.

Files

The 9 files of #253, plus #255's removal in prepare-pnpm. All self-references are on @v4; no @v4-beta is left.

After merging: run sync-branch.sh (fix-beta.sh in older checkouts) so v4-beta takes the promotion commit back.

xnacly and others added 11 commits November 20, 2026 09:50
The SDK depends on the quickjs-emscripten fork, which is served only by
npm.platforma.bio. Add the scope mapping to every consumer's .npmrc so
block builds resolve it without per-repo config.
…ub OIDC (draft)

- publish-tarballs: npm.platforma.bio is a supported registry; each upload
  there gets a fresh GitHub OIDC token (audience https://npm.platforma.bio)
  through its own env; Verdaccio's E409 duplicate counts as published.
- own-registry-scopes: maps our own-registry scopes to npm.platforma.bio in
  the workspace .npmrc (prepare, prepare-pnpm), so no repo lists it.
- node-simple-pnpm: the upload job runs in the npm-publish environment only
  when something goes to npm.platforma.bio.

The scope name is a placeholder (scope-tbd) until it is decided.
feat(npm): opt-in publishing of chosen scopes to npm.platforma.bio
feat(npm): opt-in publishing of chosen scopes to npm.platforma.bio
@greptile-apps

greptile-apps Bot commented Nov 20, 2026

Copy link
Copy Markdown

Automatic reviews are disabled for this repository. Configure in Code Review Settings.

@mike-ainsel mike-ainsel changed the title Merge v4-beta to v4 (2026-11-20) Merge v4-beta to v4 (2026-11-20): own-registry opt-in, drop the poc scope mapping Nov 20, 2026
@mike-ainsel
mike-ainsel merged commit 0645157 into v4 Nov 20, 2026
1 check 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.

2 participants