Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion cloud-run/ffai-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

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.

🔍 Authenticated deploy outside smoke coverage

The image smoke compiles deployment DSL without initializing a workspace or validating a project. The non-production canary covers those steps with CLI 0.0.45.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

RUN dart pub global activate flutterflow_cli "$FLUTTERFLOW_CLI_VERSION" \
&& dart pub global list | grep -F "flutterflow_cli $FLUTTERFLOW_CLI_VERSION"

Expand Down
2 changes: 1 addition & 1 deletion cloud-run/ffai-runner/bin/server.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/cloudRunRunner.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading