Skip to content

Avoid fresh package releases in CI installs#311

Merged
ZhaoJiSen merged 1 commit into
devfrom
codex/fix-pnpm-release-age
May 29, 2026
Merged

Avoid fresh package releases in CI installs#311
ZhaoJiSen merged 1 commit into
devfrom
codex/fix-pnpm-release-age

Conversation

@ZhaoJiSen
Copy link
Copy Markdown
Member

GitHub Actions now runs pnpm 11, which enforces the default minimumReleaseAge supply-chain policy during dependency status checks. The lockfile had resolved three packages published within that window, so macOS signing jobs failed before the build could start.

Constraint: pnpm 11 rejects lockfile entries published inside the minimumReleaseAge window
Constraint: Keep the supply-chain policy enabled rather than disabling it for release builds
Rejected: Set minimum-release-age=0 | would weaken CI supply-chain protection globally
Rejected: Wait for the 24 hour window | leaves repeatable release builds dependent on wall-clock timing
Confidence: high
Scope-risk: narrow
Directive: Avoid committing freshly published dependency resolutions immediately before release builds; prefer mature pinned versions or refresh after the policy window passes
Tested: pnpm install --frozen-lockfile --lockfile-only
Tested: pnpm exec eslint package.json
Not-tested: Full GitHub Actions matrix build

GitHub Actions now runs pnpm 11, which enforces the default minimumReleaseAge supply-chain policy during dependency status checks. The lockfile had resolved three packages published within that window, so macOS signing jobs failed before the build could start.

Constraint: pnpm 11 rejects lockfile entries published inside the minimumReleaseAge window
Constraint: Keep the supply-chain policy enabled rather than disabling it for release builds
Rejected: Set minimum-release-age=0 | would weaken CI supply-chain protection globally
Rejected: Wait for the 24 hour window | leaves repeatable release builds dependent on wall-clock timing
Confidence: high
Scope-risk: narrow
Directive: Avoid committing freshly published dependency resolutions immediately before release builds; prefer mature pinned versions or refresh after the policy window passes
Tested: pnpm install --frozen-lockfile --lockfile-only
Tested: pnpm exec eslint package.json
Not-tested: Full GitHub Actions matrix build
Co-authored-by: OmX <omx@oh-my-codex.dev>
@fit2bot fit2bot requested a review from a team May 29, 2026 04:55
@ZhaoJiSen ZhaoJiSen merged commit 8fa26ce into dev May 29, 2026
8 checks passed
@fit2bot fit2bot deleted the codex/fix-pnpm-release-age branch May 29, 2026 04:55
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