这是indexloc提供的服务,不要输入任何密码
Skip to content

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

@sceee

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.

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