Release on the forge: npm with a token, the pinned reusables, and the ci-node digest (macula-io/macula-ts#2) #3
Loading…
Reference in a new issue
No description provided.
Delete branch "ceres/2-forge-release-port"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@macula-io/tsreleases from git.macula.io again: av*tag publishes that version to the forge's npm registry with a token, and nothing on GitHub is needed (macula-io/macula-ts#2).What changes
package.json'spublishConfig:https://git.macula.io/api/packages/macula-pub/npm/,access: public. The workflow names no registry; it derives the npm auth keys (//host/path/:_authToken,:username) from that URL, and the token/user arrive throughFORGE_PACKAGES_TOKEN/FORGE_PACKAGES_USER. The org is macula-pub, not macula-sdk: DECIDED 2026-11-24, the rename, and macula-sdk now answers 307 to it.id-token: writeand the build-provenance attestation it needed.macula-ci-node, pinned by digesta0b86199f76a…— built from macula-ci-images main40f632af(build task 8368), twin task 8303 green, digest read back from the registry. A container carries no marketplace action, so each job's checkout is the plain-shell step the forge repositories carry byte-identical, and there is no JavaScript action anywhere in the file.ci-images-release-guard.yml,dependency-advisories.yml, from commit8db10eb): a cross-repository reusable fails to expand on the forge and takes the file's other jobs with it.workflow_dispatchruns every gate and the linux-x64 leg and stops atnpm publish --dry-run— no tag, nothing uploaded. It is how the path is proved before the first tag..npmrcline a consumer needs for the scope.Proof
prebuilds/linux-x64/@macula-io+ts.nodebuilds, loads (C ABI 2) and generates a key withbuild/removed; needs at most GLIBC_2.34 / GLIBCXX_3.4.29, and loads and generates a key on Ubuntu 22.04.5 (glibc 2.35), so building in the bookworm image does not raise macula-ts#12's floor — the measurement is on the issue (comment 3110).Not in this change
The other four prebuild platforms (owner's call, in the release menu), and the
sdk-publisheraccount line (one account for all SDKs, macula-pub only,write:packageonly — created as one line in the SDK release menu, not here).When macula-ci-images#27 (PR 33) lands,
macula-ci-nodemoves to the macula-pub org and the threecontainer:digests are updated in a follow-up.Refs #2.
Neptunus's fold-in on PR 3. - The auth keys are written into the npm userconfig as `${NODE_AUTH_TOKEN}` / `${NODE_AUTH_USER}` references and expanded by npm from the environment when it reads the file, instead of `npm config set ... "$NODE_AUTH_TOKEN"`: npm records its argv in ~/.npm/_logs, so the old line put the token in a debug log and in the file as plain text. The comment above it now says what the code does. - "A rehearsal uploads nothing" is now literally true: publishing requires `github.event_name == 'push'` as well as a tag ref, so a workflow_dispatch made on a tag ref cannot reach `npm publish`.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.