Skip to content

[DO NOT MERGE] feat: support schedule, task queue, and blocking triggers for run platform#10838

Open
inlined wants to merge 2 commits into
mainfrom
run-platform-triggers
Open

[DO NOT MERGE] feat: support schedule, task queue, and blocking triggers for run platform#10838
inlined wants to merge 2 commits into
mainfrom
run-platform-triggers

Conversation

@inlined

@inlined inlined commented Jul 22, 2026

Copy link
Copy Markdown
Member

Description

This change adds trigger parity for 'run' platform functions (Cloud Run functions) so they support scheduled, task queue, and blocking triggers when deploying via firebase-tools. Previously, these triggers would throw a "not supported yet" error.

Scenarios Tested

  • Ran mocha unit tests for the fabricator file (npx mocha lib/deploy/functions/release/fabricator.spec.js) and verified all tests passed successfully, including new tests verifying scheduled, task queue, and blocking triggers deploy and delete properly.
  • Compiled the junkdrawer functions test code using the forced "run" platform and verified it builds.

Sample Commands

  • firebase deploy --only functions

@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 enables schedule, task queue, and blocking triggers for Cloud Run functions, and introduces validation to prevent enrolling or unenrolling in declarative security during partially filtered deployments. It also updates the default service account representation from 'default' to null. Feedback on the changes identifies a bug in the deployment planner where the isFiltered check is not restricted to the current codebase, which can incorrectly mark other codebases as filtered during multi-codebase deployments. A code suggestion is provided to resolve this issue.

Comment thread src/deploy/functions/release/planner.ts
@inlined inlined changed the title run platform triggers [DO NOT MERGE] feat: support schedule, task queue, and blocking triggers for run platform Jul 22, 2026
…tform

### Description
This change adds trigger parity for 'run' platform functions (Cloud Run functions) so they support scheduled, task queue, and blocking triggers when deploying via firebase-tools. Previously, these triggers would throw a "not supported yet" error.

### Scenarios Tested
- Ran mocha unit tests for the fabricator file (`npx mocha lib/deploy/functions/release/fabricator.spec.js`) and verified all tests passed successfully, including new tests verifying scheduled, task queue, and blocking triggers deploy and delete properly.
- Compiled the `junkdrawer` functions test code using the forced "run" platform and verified it builds.

### Sample Commands
- `firebase deploy --only functions`
@inlined
inlined force-pushed the run-platform-triggers branch from 203c1fc to 87193e1 Compare July 22, 2026 22:49
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.

2 participants