Skip to content

馃悰 [@firebase-function-kits/firestore-bigquery-export] afterFirstDeploy taskqueue initialization failed from missing PROJECT_ID#3120

Description

@ajperel

[REQUIRED] Step 2: Describe your configuration

  • Extension name: @firebase-function-kits/firestore-bigquery-export
  • Extension version: 0.0.2-rc.6
  • Configuration values (redact info where appropriate):
    • Firestore in nam5
    • Functions in us-central1
    • Most other configuration the default... maybe using new syntax

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

  1. Install extension
  2. Install kit replacement
  3. Export extension config to kit

(Note the above steps will only work with firebase-tools at head, but maybe are not necessary. You should be able to do this with a net new install of the kit configured as it deploys)

Kit deploys but afterFirstDeploy hook has issues.

Expected result

Kit should fully work after deployment

Actual result

Issues. During post-deployment lifecycle execution (afterFirstDeploy), the task queue initialization function kit-firestore-bigquery-export-jdf5-initBigQuerySync failed with an unhandled exception when updating an existing BigQuery snapshot view.

The generated SQL query attempted to query undefined:firestore_export.posts_raw_changelog, which BigQuery rejected due to the invalid project name undefined.

Attached is an analysis from AI

firestore_bigquery_export_lifecycle_issue.md

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions