Skip to content

ci: run the wiki-write-core publish npm steps outside the workspace - #4034

Merged
marcusrbrown merged 1 commit into
mainfrom
fix/release-publish-standalone-npm
Oct 21, 2026
Merged

marcusrbrown merged 1 commit into
mainfrom
fix/release-publish-standalone-npm

Conversation

@marcusrbrown

Copy link
Copy Markdown
Collaborator

Since #4021 moved workspaces and overrides into the root package.json, the wiki-write-core publish has been failing. Running npm version or npm publish inside packages/wiki-write-core now resolves the root as a workspace and tries to reify the whole tree. npm then fails on the root yaml override with EOVERRIDE: Override for yaml@^2.6.0 conflicts with direct dependency. The publish job failed this way on #4032, #4029 and #4033, in runs 39622360119, 39625473187 and 39630004612. Each failure came before semantic-release tagged anything, so no wiki-write-core-v0.1.2 tag or release exists.

Setting npm_config_workspaces_update: 'false' on the semantic-release step makes npm treat the package as a standalone package, which is how it ran under pnpm. Permissions, tokens, pins and the environment are unchanged.

Verification

  • On a git archive copy of package.json and packages/wiki-write-core, npm version 0.1.2 --no-git-tag-version exits 1 with EOVERRIDE when the variable is unset, and exits 0 when it is set. npm publish --dry-run with the variable set reports @fro.bot/wiki-write-core@0.1.2.
  • check-types, lint, test (5795 passed) and actionlint pass, and the workflow contract test pins the new env value.
  • After this merges, the release run computes the patch from v0.1.1, using the package changes in fix: keep the data branch present through promotion #4032, and publishes 0.1.2 through OIDC.

@marcusrbrown
marcusrbrown requested a review from fro-bot as a code owner October 21, 2026 16:11
@fro-bot fro-bot added the agent: working Agent is currently working on this label Oct 21, 2026

@fro-bot fro-bot left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: PASS

The step-scoped setting skips npm’s post-version workspace reification, addressing the reported EOVERRIDE. The pinned semantic-release npm plugin forwards it to its npm subprocesses.

Blocking issues

None

Non-blocking concerns

None

Missing tests

None required beyond the updated configuration contract for this narrow fix. All 70 workflow tests passed locally; live OIDC publication was not exercised.

Risk assessment (LOW/MED/HIGH) + rationale

LOW — one documented npm setting, scoped to the release step, with a matching regression assertion. Upstream npm and plugin source confirm the intended behavior.


Run Summary
Field Value
Event pull_request
Repository fro-bot/.github
Run ID 39632503219
Cache hit
Session ses_ea0c339cdffeHTPz4aqef3fpgd
Verification 70 workflow tests passed; upstream source checked
Limitations Direct review; skill helper and scratch-probe access blocked by sandbox; actionlint unavailable

@fro-bot fro-bot removed the agent: working Agent is currently working on this label Oct 21, 2026
@marcusrbrown
marcusrbrown merged commit 71059cb into main Oct 21, 2026
21 checks passed
@marcusrbrown
marcusrbrown deleted the fix/release-publish-standalone-npm branch October 21, 2026 17:09
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