Skip to content

chore(delete-user-data): upgrade runtime to node22#2665

Open
HassanBahati wants to merge 1 commit intonextfrom
@invertase/bump-delete-user-data-to-node22
Open

chore(delete-user-data): upgrade runtime to node22#2665
HassanBahati wants to merge 1 commit intonextfrom
@invertase/bump-delete-user-data-to-node22

Conversation

@HassanBahati
Copy link
Member

Description

Update the delete-user-data extension to use Node.js 22 for its Cloud Functions

Related Issues:

Part of Fixes #2659
Fixes #2662

Changes Made

  • Extension manifest (delete-user-data/extension.yaml)

    • Bumped version from 0.1.26 to 0.1.27.
    • Updated all function runtimes from nodejs20 to nodejs22:
      • clearData
      • handleSearch
      • handleDeletion
  • Functions package (delete-user-data/functions/package.json)

    • Updated "engines.node" from "20" to "22" to reflect the new runtime.
  • TypeScript configuration (delete-user-data/functions/tsconfig.json)

    • Added "skipLibCheck": true so TypeScript does not type-check declaration files in node_modules.
    • This works around invalid typings in @google-cloud/storage (Int32Array<ArrayBuffer> in crc32c.d.ts), which were causing build failures after dependency upgrades.

Testing Evidence

Tests Run

  • Unit tests
  • Integration tests
  • Manual testing (install / audit / build)

@HassanBahati HassanBahati requested a review from a team as a code owner February 27, 2026 11:58
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.

[delete-user-data] Update to Node 22 Update to at Node 22 on all extensions

1 participant