$ the-wire · showcase
Flutter tooling DI migration, Chromium debug port hang fixed
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Flutter's tool layer absorbs two breaking refactors while fixing a browser hang, and Swift lands the SIL plumbing for per-function stage tracking.
[web] Fix hang when Chromium cannot bind remote debugging port flutter/flutter
When Chromium cannot bind its assigned remote debugging port it prints "Cannot start http server for devtools." and stays alive without ever logging "DevTools listening"; the launcher previously awaited that signal with no timeout, so flutter test --platform chrome and flutter run -d chrome hung forever. The fix detects the failure instead of waiting on a promise that will never resolve.
[flutter_tools] Fix Use dependency graph to determine plugin initialization order (#191591) flutter/flutter
Native plugin registrant generation now derives initialization order from the plugin dependency graph rather than the order plugins happen to be encountered, resolving issue #99153. Projects relying on incidental plugin ordering in GeneratedPluginRegistrant output should re-check their registrants.
[flutter_tools] Migrate DaemonCommand and Daemon domains to constructor DI (#193542) flutter/flutter
DaemonCommand, DaemonServer, Daemon, and the App, Device, Emulator, and Proxy domains now take ToolContext, AndroidContext, Analytics, FeatureFlags, and DeviceManager through explicit constructors, and DelegatingToolContext in test/src/fakes.dart is const. This is a breaking change for anyone embedding flutter_tools: in --listen-on-tcp-port mode, per-connection domain errors now route differently.
[Parse] Add experimental support for @_scoped on types, function parameters apple/swift
A new ScopeRestrictions experimental feature gates parsing of @_scoped on types and function parameters, covering most of the scope-restrictions syntax from the proposal. It is parse-only for now, behind the flag, and the author notes a rough workaround in TypeAttrs.swift to avoid touching swift-syntax.
[SIL] Per-function SIL stage tracking apple/swift
Every function used to be assumed to sit at the module's SILStage, with WasDeserializedCanonical as the only per-function signal. The module stage is renamed StageFloor and becomes a lower bound, with getFunctionStage() = max(function, floor); the first three commits are NFC.
[flutter_tools] Bundle data assets from hooks in flutter test flutter/flutter
On the quieter side: flutter test now bundles hook-generated data assets because TestCompilerNativeAssetsBuilder had been returning only the NativeAssetsManifest.json URI and discarding the FlutterHookResult, and KAPT is moving from PSI to FIR.
Action items
- → Update flutter_tools embeddings for the DaemonCommand/DaemonDomain constructor DI change flutter/flutter [plan]