Skip to content

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

Merged
B4nan merged 1 commit into
mainfrom
fix/devengines-warn-and-mra
May 18, 2026
Merged

fix: switch packageManager devEngines to warn + add minimumReleaseAge#286
B4nan merged 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
@B4nan B4nan requested a review from fnesveda May 18, 2026 10:46
Copy link
Copy Markdown
Member

@fnesveda fnesveda left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@B4nan B4nan merged commit c0c1014 into main May 18, 2026
4 of 5 checks passed
@B4nan B4nan deleted the fix/devengines-warn-and-mra branch May 18, 2026 10:49
MrkMrk00 pushed a commit that referenced this pull request May 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.45.0](v0.44.0...v0.45.0)
(2026-05-21)


### Features

* Add more inputs and outputs to the `commit` action to make it more
useful ([#298](#298))
([a1e8619](a1e8619))

* Removes archived Grafana annotation action
#300

### Bug Fixes

* switch packageManager devEngines to warn + add minimumReleaseAge
([#286](#286))
([c0c1014](c0c1014))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

3 participants