Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase Cloud Functions retry=true doesn't work #6392

Closed
fanwgwg opened this issue Sep 22, 2023 · 1 comment
Closed

Firebase Cloud Functions retry=true doesn't work #6392

fanwgwg opened this issue Sep 22, 2023 · 1 comment

Comments

@fanwgwg
Copy link

fanwgwg commented Sep 22, 2023

[REQUIRED] Environment info

firebase-tools: 12.5.4

Platform: macOS

[REQUIRED] Test case

Setting a gen2 cloud function's config retry: true will cause error Cannot set a retry policy on Cloud Function when deploying. However, the official firebase documentation says this is supported https://firebase.google.com/docs/functions/retries#semantics_of_retry

[REQUIRED] Steps to reproduce

exports.customeventhandler = onCustomEventPublished(
  {
    eventType: "firebase.extensions.storage-resize-images.v1.complete",
    retry: true,
  },
  (e) => {
    console.log(JSON.stringify(e));
  });

[REQUIRED] Expected behavior

retry should set the expected retry policy

[REQUIRED] Actual behavior

retry policy is not set

@colerogers
Copy link
Contributor

This is a duplicate of #5484

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

No branches or pull requests

3 participants