Repository navigation
fix(release): npm publishes from its environment; Docker image builds again - #601
Merged
Merged
Conversation
… scripts/ - npm-publish.yml: the job runs in GitHub environment `npm-publish`, the one npm's Trusted Publisher entry names. Without it npm accepted no OIDC token and v0.3.1 failed with ENEEDAUTH. - .dockerignore: keep scripts/ in the build context. packages/shared tests import scripts/bundle, scripts/feature-map and scripts/test-ids, so the web build's typecheck failed in the image (TS2307) and every Docker release since late October did too. The runtime stage never copies scripts/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: c8b4def0-0089-42e0-a50b-4ab7fea8625b) |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 9c5acc2c-2bc0-413f-bf61-b0b481e8f3db) |
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.
Unblocks the 0.3.1 release.
npm (
npm-publish.yml)npm-publish, the one npm's Trusted Publisher entry names. Without it npm issued no OIDC token andnpm publishfailed withENEEDAUTH.npm publish --loglevel verbose, so a refused token exchange or upload says why in the log. This is how the 403 "OIDC permission denied" turned out to be the trusted-publisher entry naming the pre-rename repositorytedious-code/foxschema. That entry is now fixed on npmjs.com.v0.3.1, gotPUT 202from npm.Docker (
.dockerignore)scripts/is no longer excluded from the build context.packages/sharedtests importscripts/bundle,scripts/feature-mapandscripts/test-ids, so the web build's typecheck failed inside the image (TS2307). Every Docker release since late October has failed this way; the last image is v0.2.111.scripts/is 272 KB, and the runtime stage never copies it.docker build --platform=linux/amd64succeeds./api/healthreturns{"ok":true,"version":"0.3.1"}, and the UI returns 200.After merge, the
v0.3.1tag moves to the merge commit (nothing was published from the old tag except the npm package, built from the same code) and the Docker release re-runs.🤖 Generated with Claude Code
Note
Low Risk
Release and packaging config only; no application runtime, auth, or data-path changes.
Overview
Unblocks v0.3.1 release automation: npm publish, Docker image build, and Homebrew formula alignment.
Docker stops excluding
scripts/from the build context so the web workspace typecheck can resolve imports used bypackages/sharedtests (scripts/bundle,feature-map,test-ids). Comments note the folder is small and is not copied into the runtime image.npm publish workflow pins the publish job to GitHub environment
npm-publishso npm Trusted Publisher OIDC succeeds (fixesENEEDAUTH), and runsnpm publishwith--loglevel verbosefor clearer failure logs.Homebrew formula bumps the tarball to foxschema 0.3.1 and updates the
sha256.Reviewed by Cursor Bugbot for commit 3f1a88e. Bugbot is set up for automated code reviews on this repo. Configure here.