Skip to content

Configuring Function memory for an extension leads to undefined being written to the extension's .env file #8810

Closed

Description

@sceee

[REQUIRED] Environment info

firebase-tools: 14.9.0

Platform: Windows

[REQUIRED] Test case

  1. Export a firestore-send-email extension configuration using: firebase ext:export (ensure the created extensions/firestore-send-email.env file does not contain a setting for the maximum function memory)
  2. Reconfigure the extension using firebase ext:configure firestore-send-email --local
  3. Leave all values as is but in the last step, select 256MiB memory:

Image

[REQUIRED] Steps to reproduce

See above

[REQUIRED] Expected behavior

The configured memory option is written to the extensions/firestore-send-email.env file.

[REQUIRED] Actual behavior

undefined=256Mi is written to the extensions/firestore-send-email.env file.

So the key of this setting is incorrect and I doubt it will work when installing the extension.

Activity

  1. changed the title [-]Configuring Function memory for an extension leads to undefined being written to the extension's .env file[/-] [+]Configuring Function memory for an extension leads to `undefined` being written to the extension's .env file[/+] on Jul 4, 2025
  2. aalej commented on Jul 7, 2025

    @aalej
    Contributor

    Thanks for reporting this @sceee! I’m able to reproduce the reported issue. Let me raise this to our engineering team.

    Sharing the mcve here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions