Skip to content

fix(ci): run windows sea steps under bash and disable provenance on the mirror - #18

Merged
Mearman merged 1 commit into
mainfrom
fix/ci-windows-shell-and-mirror-provenance
Sep 13, 2026
Merged

Mearman merged 1 commit into
mainfrom
fix/ci-windows-shell-and-mirror-provenance

Conversation

@Mearman

@Mearman Mearman commented Sep 13, 2026

Copy link
Copy Markdown
Member

Summary

Two real failures from the last post-merge run:

  • Both Windows SEA legs failed at "Resolve the release tag": bash command substitution ran under PowerShell (the Windows runner default) with no shell: bash pin, the same mistake already caught for the smoke step but missed here.
  • The GitHub Packages mirror failed on every attempt: it inherits publishConfig.provenance: true from the real package.json, but generating provenance needs id-token: write, which this job deliberately excludes (holding it breaks the GITHUB_TOKEN fallback GitHub Packages actually needs). Disabling provenance in the same step that retargets the registry fixes it.

(macos-13 showed cancelled on that run, not failed — the workflow's own concurrency: cancel-in-progress group superseded it when this fix's own push started a newer run on the same ref.)

Test plan

  • CI verify passes
  • Both windows sea legs build, smoke, and upload
  • The GitHub Packages mirror publishes successfully

…he mirror

The "Resolve the release tag" step in the sea job used bash-only
command substitution with no shell: bash pin, so it ran under
PowerShell (the Windows runner default) and failed immediately with
"term not recognized" on both windows-latest and windows-11-arm - the
same class of mistake already caught and fixed for the smoke step,
just missed on this earlier one.

The GitHub Packages mirror job failed on every run for a different
reason: it rewrites the package name and registry for the mirror
publish but left publishConfig.provenance at the real package's own
true, inherited from package.json. Generating provenance needs
id-token: write, which this job deliberately does not hold (holding it
makes pnpm attempt and fail an OIDC exchange GitHub Packages has no
counterpart for), so every publish attempt failed before it could even
reach npm.pkg.github.com. Disabling provenance in the same rewrite step
that already retargets the registry closes the gap.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 13, 2026

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-13T05:42:13.441367Z f2774cb 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.

@Mearman
Mearman merged commit 2c9fde0 into main Sep 13, 2026
4 checks passed
@Mearman
Mearman deleted the fix/ci-windows-shell-and-mirror-provenance branch September 13, 2026 05:41
@exaclaude

exaclaude Bot commented Sep 13, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.1.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

@exaclaude exaclaude Bot added the released label Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant