Skip to content

fix(ci): point release-core's pnpm/action-setup at ts/package.json - #70

Merged
Mearman merged 2 commits into
mainfrom
fix/release-job-pnpm-setup
Sep 11, 2026
Merged

fix(ci): point release-core's pnpm/action-setup at ts/package.json#70
Mearman merged 2 commits into
mainfrom
fix/release-job-pnpm-setup

Conversation

@Mearman

@Mearman Mearman commented Sep 11, 2026

Copy link
Copy Markdown
Member

The release-core job (added in #65) has failed on every push to main since it landed, before ever reaching semantic-release: pnpm/action-setup reads the packageManager field from the repo root's package.json by default, and this repo has no root package.json -- the field lives at ts/package.json. ts-verify already works around this by passing package_json_file: ts/package.json explicitly; release-core was missing the same fix.

Confirmed root cause from the two failed push-to-main runs so far (both "Error: No pnpm version is specified").

pnpm/action-setup reads the packageManager field from the repo root's
package.json by default, but this repo has no root package.json -- the
field lives at ts/package.json, exactly the reason ts-verify already
passes package_json_file explicitly. Without it, the release job failed
outright on every push to main with "No pnpm version is specified",
before ever reaching the actual release step.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review Completed 2026-09-11T21:58:24.223884Z fc191bb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

… check

The release job only ever ran on push to main, so nothing in a PR's own
CI exercised it -- the pnpm/action-setup bug this same branch fixes
merged three times before anyone noticed main had gone red on every
push since. A dry-run job now runs the identical
checkout/pnpm-setup/install/build path on every PR and calls
semantic-release --dry-run instead of a real publish, wired into
required-checks so a break in that shared path fails the PR itself
rather than surfacing only after merge.
@Mearman

Mearman commented Sep 11, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Mearman
Mearman merged commit 8e28288 into main Sep 11, 2026
8 checks passed
@Mearman
Mearman deleted the fix/release-job-pnpm-setup branch September 11, 2026 22:17
Mearman added a commit that referenced this pull request Sep 11, 2026
release-core-dry-run runs only on pull_request and is deliberately
skipped on a push -- but required-checks' own needs list includes it,
and GitHub Actions propagates a skipped dependency's status transitively
through the needs graph by default, skipping release-core too even
though required-checks itself succeeds. Confirmed on the first real push
after #70 merged: required-checks reported success, but release-core
still skipped outright with zero steps run, so it never even reached
the pnpm-setup fix that same PR was meant to ship.

Checking needs.required-checks.result explicitly, rather than relying
on the implicit success() check, evaluates only this job's own direct
dependency instead of the whole transitive graph.
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.

1 participant