firebase / firebase/firebase-functions
Cloud Run auto request after function deployed
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 232
- Avg merge
- 20h 46m
- Merged PRs (30d)
- 15
Description
### 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?
Contributor guide
Research direction
Start with the functionsV2.https.onRequest entry point and reproduce the deployment using the provided test case. Inspect the resulting GET request and its interaction with the function's validation logic; done means deployment no longer causes an unexpected request or validation error in Log Explorer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- api, backend, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100