Skip to content

fix(bigquery-firestore-export): apply DISPLAY_NAME changes on update - #2980

Open
IzaakGough wants to merge 1 commit into
kitsfrom
fix/bfe-display-name-update
Open

fix(bigquery-firestore-export): apply DISPLAY_NAME changes on update#2980
IzaakGough wants to merge 1 commit into
kitsfrom
fix/bfe-display-name-update

Conversation

@IzaakGough

@IzaakGough IzaakGough commented Aug 26, 2026

Copy link
Copy Markdown

Problem

DISPLAY_NAME is immutable: true upstream but mutable in the kit, and constructUpdateTransferConfigRequest never adds display_name to the update mask. Editing it and redeploying reports success and changes nothing.

What changed

display_name joins the mask when it differs, matching the schedule and notification_pubsub_topic comparisons beside it.

Verification

Against a live transfer config: with display_name in the mask the rename lands, with it omitted the same request body is silently ignored. Two unit cases added, full suite 21 passed, tsc -b clean.

Notes

The alternative was making the param immutable to match upstream. This keeps the kit's more flexible behaviour.

Tracked in #2974 (parity analysis), DISPLAY_NAME params row.

DISPLAY_NAME is mutable in the kit, but the update mask never included
display_name, so editing it and redeploying reported success and left the
scheduled query's name unchanged.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds support for updating the display name of a BigQuery Data Transfer Service configuration when it changes. It updates constructUpdateTransferConfigRequest to include display_name in the update mask and the updated configuration when a change is detected. Additionally, it includes corresponding unit tests to verify this behavior. There are no review comments, and we have no feedback to provide.

@IzaakGough
IzaakGough marked this pull request as ready for review August 27, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants