Skip to content

allUsers > Cloud Functions Invoker role randomly added to newly deployed HTTP functions #3965

Closed

Description

@feliksmatsko

Environment info

firebase-tools: 10.0.1
Platform: macOS

Test case

https://github.com/feliksmatsko/firebase-cli-issue

Steps to reproduce

  1. Create more than 40 normal http cloud functions (example)
  2. run cli: firebase deploy --only functions

Expected behavior

For ALL newly deployed cloud functions to have the same permissions

Actual behavior

Some functions allow authenticated and some don't. The number of functions with and without invoker created is random.
Multiple errors in cli: "Error Failed to set invoker function f38 in region us-central1"

Screenshot 2021-12-20 at 15 20 16

Activity

  1. bkendall commented on Dec 23, 2021

    @bkendall
    Contributor

    Do you have a log file for when this happens? That would help greatly in trying to debug this. I'm not sure off hand of an issue where this would only occasionally work but maybe there's something that can help shed light on it.

  2. google-oss-bot commented on Jan 3, 2022

    @google-oss-bot
    Collaborator

    Hey @feliksmatsko. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 3 days I will close it automatically.

    If you have more information that will help us get to the bottom of this, just add a comment!

  3. google-oss-bot commented on Jan 5, 2022

    @google-oss-bot
    Collaborator

    Since there haven't been any recent updates here, I am going to close this issue.

    @feliksmatsko if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

  4. inlined commented on Jan 5, 2022

    @inlined
    Member

    We can add more retries to this API call, but it tends to just be flaky. If you set invoker: 'public' in your functions we make sure this is set on every deploy.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions