Skip to content

fix: switch packageManager devEngines to warn + add minimumReleaseAge#286

Open
B4nan wants to merge 1 commit into
mainfrom
fix/devengines-warn-and-mra
Open

fix: switch packageManager devEngines to warn + add minimumReleaseAge#286
B4nan wants to merge 1 commit into
mainfrom
fix/devengines-warn-and-mra

Conversation

@B4nan
Copy link
Copy Markdown
Member

@B4nan B4nan commented May 11, 2026

Two related supply-chain hygiene changes:

1. devEngines.packageManager.onFail: error → warn

pnpm v10 still shells out to system npm for several subcommands (pnpm version, pnpm config, etc.). This repo also has direct npm invocations in CI:

  • `.github/workflows/tests.yaml:137` — npm install
  • `.github/workflows/sync_branches.yaml:39` — npm i @octokit/rest@release-19.x
  • `.github/workflows/claude-md-maintenance.yml:31` — npm install -g @anthropic-ai/claude-code

With onFail: error those trip EBADDEVENGINES. warn keeps the dev-visible signal without blocking. Also pins the version to 10.33.0 for clarity.

2. Add minimumReleaseAge: 1440 to pnpm-workspace.yaml

24-hour quarantine on new package versions. Mitigates compromised npm packages that get discovered and yanked within the first day (shai-hulud worm, nx self-replicator, etc.). Brings this repo in line with the rest of the pnpm-migrated public repos.

Mirrors the rollout in apify/apify-client-js#895 + #896.

@github-actions github-actions Bot added this to the 140th sprint - Tooling team milestone May 11, 2026
@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label May 11, 2026
@B4nan B4nan added the adhoc Ad-hoc unplanned task added during the sprint. label May 11, 2026
Two related supply-chain hygiene changes:

1. devEngines.packageManager.onFail: error → warn
   pnpm v10 still shells out to system npm for several subcommands
   (`pnpm version`, `pnpm config`, etc.) and several CI steps in this
   repo invoke npm directly (`npm install`, `npm i @octokit/...`,
   `npm install -g @anthropic-ai/claude-code`). With onFail:error those
   trip EBADDEVENGINES. `warn` keeps the visible signal without
   blocking. Also pins version to 10.33.0 for clarity.

2. Add minimumReleaseAge: 1440 to pnpm-workspace.yaml
   24-hour quarantine on new package versions. Mitigates compromised
   npm packages that get discovered and yanked within the first day
   (shai-hulud worm, nx self-replicator, etc.). Brings this repo in
   line with the rest of the pnpm-migrated public repos.

Mirrors the rollout in apify/apify-client-js#895 + #896.
@B4nan B4nan force-pushed the fix/devengines-warn-and-mra branch from 532f5e7 to eac1558 Compare May 11, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants