diff --git a/DEPLOYMENT.md b/DEPLOYMENT.md index fc6b850..d76a84b 100644 --- a/DEPLOYMENT.md +++ b/DEPLOYMENT.md @@ -207,7 +207,7 @@ changes will deploy nothing: #### Runner CLI/SDK compatibility -The image pins FlutterFlow CLI **0.0.44** and workspace init explicitly selects +The image pins FlutterFlow CLI **0.0.45** and workspace init explicitly selects `--interface sdk`: this runner executes Dart DSL, not the CLI's newer `fft` workspace format. CLI and SDK version numbers are independent. The signed SDK manifest's `min_router_version`, not the SDK's own version, sets the CLI floor. diff --git a/cloud-run/ffai-runner/Dockerfile b/cloud-run/ffai-runner/Dockerfile index 5132be4..f175a6a 100644 --- a/cloud-run/ffai-runner/Dockerfile +++ b/cloud-run/ffai-runner/Dockerfile @@ -4,7 +4,7 @@ ENV PATH="/root/.pub-cache/bin:${PATH}" ENV PORT=8080 ENV FFAI_WORKSPACE=/workspace/custom_code_connect -ARG FLUTTERFLOW_CLI_VERSION=0.0.44 +ARG FLUTTERFLOW_CLI_VERSION=0.0.45 RUN dart pub global activate flutterflow_cli "$FLUTTERFLOW_CLI_VERSION" \ && dart pub global list | grep -F "flutterflow_cli $FLUTTERFLOW_CLI_VERSION" diff --git a/cloud-run/ffai-runner/bin/server.dart b/cloud-run/ffai-runner/bin/server.dart index 5edcb0a..4efec04 100644 --- a/cloud-run/ffai-runner/bin/server.dart +++ b/cloud-run/ffai-runner/bin/server.dart @@ -9,7 +9,7 @@ import 'package:ccc_ffai_runner/sha256.dart'; // The lowest flutterflow_cli the vendored FlutterFlow AI snapshot accepts. The // image pins FLUTTERFLOW_CLI_VERSION to this (see Dockerfile); it must be kept // in lockstep there, and it is what the health route reports as the required minimum. -const minCliVersion = '0.0.44'; +const minCliVersion = '0.0.45'; /// The liveness/version route the container actually serves. Must not be a /// path Google's front end reserves ('/healthz'), or Cloud Run answers it and diff --git a/src/cloudRunRunner.test.js b/src/cloudRunRunner.test.js index 4cd417e..4d6bcd9 100644 --- a/src/cloudRunRunner.test.js +++ b/src/cloudRunRunner.test.js @@ -41,8 +41,8 @@ test("Cloud Run pins a snapshot-compatible FlutterFlow CLI", () => { assert.ok(version, "Dockerfile must explicitly pin FLUTTERFLOW_CLI_VERSION"); assert.ok( - compareVersions(version, "0.0.44") >= 0, - `FlutterFlow CLI ${version} is older than the snapshot minimum 0.0.44`, + compareVersions(version, "0.0.45") >= 0, + `FlutterFlow CLI ${version} is older than the snapshot minimum 0.0.45`, ); assert.match( dockerfile,