You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9e99fa5
Browse filesBrowse the repository at this point in the historyBrowse files
test(dart): skip the Flutter desktop cases where no desktop can run; harden the Flutter e2e helpers (#790)
The first `flutter-host` run on ubuntu passed both widget-test cases and
ran both desktop cases: `flutter devices` lists the host desktop whenever
the platform feature flag is on (linux_workflow.dart `canListDevices`),
display or toolchain or not, and `flutter run -d linux` died on the
headless runner. From the scoped review of #881:
- `flutterDesktopDeviceId()` answers null on Linux without a
DISPLAY/WAYLAND_DISPLAY and anywhere with MCP_SKIP_FLUTTER_DESKTOP=1; the
lane sets the variable and also filters the run to `-t 'widget test'`,
so its name is true by construction.
- `flutterDeviceIds()` parses the tool's stdout only (its warnings follow
the JSON on stderr and used to turn the list into [] silently).
- `which flutter` is realpath'd before deriving the root (Homebrew, asdf
and fvm put symlinks on PATH); the tool-snapshot requirement applies on
Windows only, where the adapter spawns the snapshot itself.
- The example's docs and analysis options no longer assume Windows.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
0 commit comments