Skip to content

Conversation

@pierrejeambrun
Copy link
Member

Upgrade pnpm to 10.x version.

By default pnpm 10.x blocks install scripts:
https://pnpm.io/supply-chain-security#block-risky-postinstall-scripts

For people still developing locally and using 9.x, install scripts 'almost' disables everywhere via the onlyBuiltDependencies, allowing scripts only for certain specific packages. It was missing in the fab provider one, added an empty attribute that will virtually disable scripts by defaults:
https://pnpm.io/9.x/package_json#pnpmonlybuiltdependencies

@boring-cyborg boring-cyborg bot added area:dev-tools area:providers backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch provider:edge Edge Executor / Worker (AIP-69) / edge3 provider:fab labels Dec 15, 2025
@pierrejeambrun pierrejeambrun force-pushed the upgrade-pnpm-and-prevent-script-execution branch from f3a7359 to aedddb3 Compare December 15, 2025 15:07
@pierrejeambrun pierrejeambrun added this to the Airflow 3.1.6 milestone Dec 15, 2025
@pierrejeambrun pierrejeambrun merged commit 75e2225 into apache:main Dec 15, 2025
124 of 125 checks passed
@pierrejeambrun pierrejeambrun deleted the upgrade-pnpm-and-prevent-script-execution branch December 15, 2025 17:05
@github-actions
Copy link

Backport failed to create: v3-1-test. View the failure log Run details

Status Branch Result
v3-1-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 75e2225 v3-1-test

This should apply the commit to the v3-1-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

@jscheffl
Copy link
Contributor

Cool!

pierrejeambrun added a commit to astronomer/airflow that referenced this pull request Dec 16, 2025
@pierrejeambrun
Copy link
Member Author

pierrejeambrun commented Dec 16, 2025

Manual backport #59512

pierrejeambrun added a commit that referenced this pull request Dec 16, 2025
TempestShaw pushed a commit to TempestShaw/airflow that referenced this pull request Dec 24, 2025
ephraimbuddy pushed a commit that referenced this pull request Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools area:providers backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch provider:edge Edge Executor / Worker (AIP-69) / edge3 provider:fab

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants