FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
130 stars 26 forks source link

Cloud Functions Firebase Sync and Code Analyzer issues #3937

Closed geret1 closed 4 weeks ago

geret1 commented 1 month ago

Can we access your project?

Current Behavior

Code Analyzer enters into an infinite loop without analyzing the code or providing any kind of errors. Aside, I've also experienced some sync issues between deployments in firebase.

Expected Behavior

Code analyzer working effectively and 1:1 sync within firebase.

Steps to Reproduce

  1. Create a cloud function 2. Validate that code analyzer works. 3. Deply multiple times on Firebase and check if code is mirrored between Firebase and FF.

Reproducible from Blank

Bug Report Code (Required)

IT4kz/Ll8ZNIvulA187pbfowtDg7Q1g/TL07ttYbZxUjIuPtBJh/fuDsUxFpQtOldFNhHGL9jkEJpPDFuPzqV/UFE0yrRohJzYd6VxfvVXq8Sq64ELuafHEkJJpWGhGZ1qaJ3xJ/AO5qLkYM12CQIOjIEzfcGZ+/Zwh9f6PHaOI=

Visual documentation

Screenshot 2024-09-30 at 09 50 03

Environment

FlutterFlow v5.0.0+ released September 27, 2024
Flutter version is 3.22.2
Web (Chrome) and Desktop (OSX)

Additional Information

No response

geret1 commented 1 month ago

Also, it is not possible to re-deploy once the previous deployment has completed successfully. Make sense in a normal use-case scenario but in this weird behaviour it is also needed.

rzambroni commented 1 month ago

Hello @geret1,

Thank you for bringing this issue to our attention!

I attempted to replicate the problem you mentioned, but everything seems to be functioning correctly on my end. The code analyzer is working as expected and is detecting syntax issues without any problems.

image.png

Could you please confirm if you're still experiencing the issue, or if it may have been a temporary outage?

Regarding the sync issue, could you provide a bit more context? Are you noticing that the cloud function consistently fails to update on the Firebase side after every deployment, or is it happening more sporadically?

Thanks so much!

geret1 commented 1 month ago

It's still happening with new and existing cloud functions. Is there any way to debug the existing behaviour?

On the other hand, cloud function updates fails in a consistent way. I usually need two deployment versions to make changes effectively. The way I tested it is:

  1. Save changes on FF.
  2. Deploy changes.
  3. Go to GCP console > Cloud Functions and check new revision is created.
  4. Wait until new deployment finished
  5. Check source code.
github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.

geret1 commented 1 month ago

@rzambroni do you have any update to triage what's happening on my project about code analyzer with cloud functions?

rzambroni commented 1 month ago

Hi @geret1,

Thank you for following up, and I apologize for the delay in getting back to you. Unfortunately, we’re still unable to replicate the issue on our end, and it hasn't occurred in our tests. Given the situation, I’d recommend reaching out to FlutterFlow support so they can take a deeper look at your project and help identify the cause of the problem.

Would you mind following up with them via email at support@flutterflow.io or through the chat feature within the app? They’ll be in a better position to assist you further.

I’m sorry I couldn’t resolve this for you, and I appreciate your understanding.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.