genkit icon indicating copy to clipboard operation
genkit copied to clipboard

Flow builds and runs flawlessly in local, but doesn't show up in firebase/functions after deployment.

Open Soolan opened this issue 8 months ago • 0 comments

I am using genkit 1.8.0. I can run the official firebase sample flow in genkit cli with no problem. I can deploy the flow successfully , following the instructions (creds set, flow exposed as callable function using onCallGenkit, etc):

firebase deploy --only functions: generatePoem

My terminal says it deployed successfully and yet the deployed function is nowhere to be found (Neither in firebase functions nor in cloud run. Even logs have no mention of that flow).

Why this is happening? In the earlier genkit versions I deployed many flows with no problem.


On the side note, if I use this command: firebase deploy --only functions

I can see my other - non genkit- functions deployed, but I can;t find the genkit flow function among them.

On a disturbing note, if I provide a fake function name: firebase deploy --only functions: dumdum

The command runs successfully and says deploy complete. Which is wrong.

Your comments/insights/suggestions are appreciated.

Soolan avatar May 15 '25 01:05 Soolan