Skip to content

Cloud Run auto request after function deployed #1946

Description

@samuel-pp

Related issues

[REQUIRED] Version info

node: 22

firebase-functions: 6.6.0

firebase-tools: 15.17.0

firebase-admin: 12.7.0

[REQUIRED] Test case

export const testRequest = functionsV2.https.onRequest(
    { cors: true },
    async (req, res) => {
        console.log('hello')
})

[REQUIRED] Steps to reproduce

deployed the 2Gen function

[REQUIRED] Expected behavior

the function deployed successful and log explorer is clean

[REQUIRED] Actual behavior

when the function is deployed, Log Explorer will show a GET request after that
It will trigger function error logic (because it cannot pass validation)

Were you able to successfully deploy your functions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions