-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Labels
Description
Environment info
firebase-tools:
firebase-tools@13.29.3
Platform:
Ubuntu (GitHub Action)
Test case
Using an Astro project with webframeworks deployment, a GitHub Action Yaml like this causes failure:
- name: Deploy site to Firebase Hosting
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_WAVEZ_PROD }}
channelId: live
projectId: wavez-prod
target: site
env:
FIREBASE_CLI_EXPERIMENTS: webframeworksSteps to reproduce
Run the GitHub Action
Expected behavior
Successful deploy with no errors
Actual behavior
The actual SSR function is deployed successfully (i.e. runs just fine), but the deployment script follows up with a "failure" during cleanup:
[2025-02-04T06:55:15.275Z] >>> [apiv2][query] GET https://cloudfunctions.googleapis.com/v2/projects/wavez-prod/locations/us-central1/operations/operation-1738651964031-62d4b74b441a5-8f575101-8491b3b2 [none]
[2025-02-04T06:55:15.627Z] <<< [apiv2][status] GET https://cloudfunctions.googleapis.com/v2/projects/wavez-prod/locations/us-central1/operations/operation-1738651964031-62d4b74b441a5-8f575101-8491b3b2 200
[2025-02-04T06:55:15.627Z] <<< [apiv2][body] GET https://cloudfunctions.googleapis.com/v2/projects/wavez-prod/locations/us-central1/operations/operation-1738651964031-62d4b74b441a5-8f575101-8491b3b2 ***"name":"projects/wavez-prod/locations/us-central1/operations/operation-1738651964031-62d4b74b441a5-8f575101-8491b3b2","metadata":***"@type":"type.googleapis.com/google.cloud.functions.v2.OperationMetadata","createTime":"2025-02-04T06:52:45.136667331Z","endTime":"2025-02-04T06:55:10.421862771Z","target":"projects/wavez-prod/locations/us-central1/functions/ssrwavezprod","verb":"update","cancelRequested":false,"apiVersion":"v2","requestResource":***"@type":"type.googleapis.com/google.cloud.functions.v2.Function","name":"projects/wavez-prod/locations/us-central1/functions/ssrwavezprod","buildConfig":***"runtime":"nodejs20","entryPoint":"ssrwavezprod","source":***"storageSource":***"bucket":"gcf-v2-sources-27727870047-us-central1","object":"ssrwavezprod/function-source.zip","generation":"1738651965037012"***,"enviro
[2025-02-04T06:55:15.627Z] Got source token [elided by me] for region us-central1
✔ functions[firebase-frameworks-wavez-prod:ssrwavezprod(us-central1)] Successful update operation.
[2025-02-04T06:55:15.628Z] Total Function Deployment time: 151873
[2025-02-04T06:55:15.630Z] 1 Functions Deployed
[2025-02-04T06:55:15.630Z] 0 Functions Errored
[2025-02-04T06:55:15.630Z] 0 Function Deployments Aborted
[2025-02-04T06:55:15.630Z] Average Function Deployment time: 151872
Function URL (firebase-frameworks-wavez-prod:ssrwavezprod(us-central1)): https://ssrwavezprod-fakkcqhmla-uc.a.run.app/
i functions: cleaning up build files...
[2025-02-04T06:55:15.631Z] No OAuth tokens found
[2025-02-04T06:55:15.634Z] No OAuth tokens found
[2025-02-04T06:55:15.634Z] >>> [apiv2][query] DELETE https://artifactregistry.googleapis.com/v1beta2/projects/wavez-prod/locations/us-central1/repositories/gcf-artifacts/packages/ssrwavezprod [none]
[2025-02-04T06:55:15.636Z] >>> [apiv2][query] GET https://us.gcr.io/v2/wavez-prod/gcf/us-central1/tags/list [none]
[2025-02-04T06:55:15.936Z] <<< [apiv2][status] DELETE https://artifactregistry.googleapis.com/v1beta2/projects/wavez-prod/locations/us-central1/repositories/gcf-artifacts/packages/ssrwavezprod 404
[2025-02-04T06:55:15.936Z] <<< [apiv2][body] DELETE https://artifactregistry.googleapis.com/v1beta2/projects/wavez-prod/locations/us-central1/repositories/gcf-artifacts/packages/ssrwavezprod ***"error":***"code":404,"message":"Package \"projects/wavez-prod/locations/us-central1/repositories/gcf-artifacts/packages/ssrwavezprod\" was not found.","status":"NOT_FOUND"***
[2025-02-04T06:55:15.961Z] <<< [apiv2][status] GET https://us.gcr.io/v2/wavez-prod/gcf/us-central1/tags/list 200
[2025-02-04T06:55:15.962Z] <<< [apiv2][body] GET https://us.gcr.io/v2/wavez-prod/gcf/us-central1/tags/list ***"child":[],"manifest":***,"name":"wavez-prod/gcf/us-central1","tags":[]***
[2025-02-04T06:55:15.962Z] Could not find image for function projects/wavez-prod/locations/us-central1/functions/ssrwavezprodThe artifacts I do see via Google Console are these:
