Skip to content

Conversation

@GarrettBurroughs
Copy link
Contributor

@GarrettBurroughs GarrettBurroughs commented Jul 29, 2024

Depends on: firebase/firebase-tools#7475

Allows the admin SDK to enqueue and delete tasks within the locally running cloud tasks emulator to provide for easier testing.

API Changes

Introduces CLOUD_TASKS_EMULATOR_HOST which should contain the host of the Cloud Tasks emulator if it is running. When set, the admin SDK will reroute requests from enqueue and delete to the emulator rather than the production instance.

RELEASE NOTES: Added support for the CLOUD_TASKS_EMULATOR_HOST environment variable.

Copy link
Contributor

@blidd-google blidd-google left a comment

Choose a reason for hiding this comment

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

LGTM pending Lahiru's comments

Copy link
Member

@lahirumaramba lahirumaramba left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

@GarrettBurroughs GarrettBurroughs merged commit 8d11961 into master Aug 8, 2024
@lahirumaramba lahirumaramba changed the title Reroute Cloud Tasks to emulator when it is running feat(functions): Reroute Cloud Tasks to emulator when it is running Aug 8, 2024
@lahirumaramba lahirumaramba deleted the gburroughs-taskqueue-emulator branch August 8, 2024 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants