Skip to content

FlutterFlow AI validate/run times out on Windows x64 while refresh-context succeeds #7434

Description

@stltammydalton-bit

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Current Behavior

FlutterFlow AI can successfully access and refresh my existing project, but flutterflow ai validate consistently times out, which also prevents flutterflow ai run from pushing any changes.

Project ID: my-keepsaker-szg7l6
Current server revision: 1yZNhDswVQMtlwnSvFck

flutterflow ai refresh-context my-keepsaker-szg7l6 completes successfully in approximately 57 seconds with exit code 0. It updates the project snapshot and exports generated code successfully.

flutterflow ai context-check also succeeds and reports:

Server status: Up to date.

Branch access succeeds and shows:

[main] (1yZNhDswVQMtlwnSvFck)

However, running:

flutterflow ai validate dsl\edit.dart

consistently fails after approximately 143 seconds with:

Error: Request timed out. Please try again.

Exit code: 1.

Local validation is clean:

dart test → 269/269 tests passed, 0 failures

dart analyze dsl test → No issues found

Because refresh-context successfully retrieves the project and regenerates the Flutter snapshot from the same machine, project access/fetching appears to be working. The failure appears specific to the validation path.

This is currently a blocker because no new FlutterFlow AI changes can be validated or pushed to this project.

Expected Behavior

flutterflow ai validate dsl\edit.dart should complete successfully when the project is accessible, the workspace context is current, and the DSL passes local tests and analysis. After successful validation, flutterflow ai run should be able to push the approved changes to the existing project without timing out.

Steps to Reproduce

Environment: Windows x64
Project ID: my-keepsaker-szg7l6

Open the existing FlutterFlow AI workspace for project my-keepsaker-szg7l6.
Run:
flutterflow ai refresh-context my-keepsaker-szg7l6
Observe that it completes successfully in approximately 57 seconds with exit code 0 and exports the generated-code snapshot.
Run:
flutterflow ai context-check
Observe that it completes successfully with exit code 0 and reports Server status: Up to date.
Run:
flutterflow ai branch list
Observe that project/branch access succeeds and shows [main] (1yZNhDswVQMtlwnSvFck).
Run:
flutterflow ai validate dsl\edit.dart
Wait approximately 143 seconds.
Validation fails with:
Error: Request timed out. Please try again.
Exit code: 1.

The issue is reproducible. Local validation of the same held batch succeeds: dart test passes 269/269 tests and dart analyze dsl test reports No issues found!

Increasing the local timeout previously did not resolve the failure.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4oi87huI12odtH18/+a/lahSQWQnohR+cK0MpBSTwbfe+uB4kqevfOTERVOLynSnxIOWGjnnIe0M7ZkvDuA+UnORedUYA7zKgMEgnKZDugMLazC5OoXkR5MJlJJVyF0Z2vrR4lOu1pSFIA202QfOzJfB3DN760IVU7PcmJNpv4jFmqQ0SLb3kNh1JWeC/v

Visual documentation

The issue occurs in the FlutterFlow AI CLI rather than on a specific visual widget.

I have included the reproduction steps and command results above. The key comparison is:

flutterflow ai refresh-context my-keepsaker-szg7l6 → succeeds in ~57 seconds

flutterflow ai context-check → succeeds; server status is Up to date

flutterflow ai validate dsl\edit.dart → consistently times out after ~143 seconds

Local validation of the same DSL succeeds with 269/269 tests passing and no analyzer issues.

I can provide additional terminal logs if needed.

Environment

- FlutterFlow version: 
- Platform:
- Browser name and version:
- Operating system and version affected:

Additional Information

This issue occurs in the FlutterFlow AI validation process and does not produce a visual error in the app.

The failed validation returned:

flutterflow ai validate dsl\edit.dart

Error: Request timed out. Please try again.

Exit code: 1
Runtime: approximately 143 seconds

Immediately beforehand, flutterflow ai refresh-context my-keepsaker-szg7l6 completed successfully in approximately 57 seconds with exit code 0, and flutterflow ai context-check reported Server status: Up to date.

Local validation also succeeds: 269/269 tests pass and dart analyze dsl test reports no issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triageA potential issue that has not been confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions