Skip to content

decision(delete-user-data): kit/extension parity – CLI-installed kit runs Node 24, extension runs Node 22 #3261

Closed

Description

@CorieW

delete-user-data kit/extension parity. Priority: low. Kits installed through the CLI run on a different Node.js major than the extension.

Difference

  • Extension: every function runs nodejs22.
  • Kit: firebase functions:kits:install and ext:migrate generate a wrapper package.json with "engines": { "node": "24" } (the CLI's latest runtime), so the functions deploy on nodejs24. The kit itself declares >=22. With the README's manual setup, the runtime is whatever the user's own codebase uses.

Reproduced

After ext:migrate, the kit's clearData, handleSearch and handleDeletion reported buildConfig.runtime: nodejs24. The source extension instance reported nodejs22. Deletion behaviour was the same in testing.

Code

Resolution

Two options:

  • Accept this and record it as an accepted difference under "Decisions" in delete-user-data kit tracking issue #3249 (it applies to every kit).
  • Have ext:migrate keep the extension's runtime when it generates the wrapper.

Activity

  1. CorieW commented on Nov 3, 2026

    @CorieW
    MemberAuthor

    Decision: accept it. The runtime follows the host codebase, so CLI installs run Node 24 where the extension ran nodejs22, the same call as firestore-send-email (#3290). This applies to all kits. Recorded under "Decisions" in #3249.

  2. self-assigned this
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

decisionNeeds a decision before work can proceedkitsparity

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions