Isolate root connection tests from native update network probes

This commit is contained in:
2026-11-08 16:51:54 +00:00
parent 761ff021fe
commit fdc411716f
4 changed files with 17 additions and 0 deletions
+5
View File
@@ -33,6 +33,7 @@ class PipelinesRoot extends StatefulWidget {
this.catalogStore = const SharedPreferencesServerCatalogStore(),
this.web = kIsWeb,
this.clientFactory,
this.nativeUpdatesSupported,
});
final ServerEndpoint server;
@@ -46,6 +47,9 @@ class PipelinesRoot extends StatefulWidget {
final SettingsStore settingsStore;
final ServerCatalogStore catalogStore;
final bool web;
/// Optional capability override for platform hosts and isolated widget tests.
final bool? nativeUpdatesSupported;
final PipelinesClient Function()? clientFactory;
@override
@@ -275,6 +279,7 @@ class _PipelinesRootState extends State<PipelinesRoot> {
}
if (!_onboarding) {
return PipelinesApp(
androidSupported: widget.nativeUpdatesSupported,
key: ValueKey(_generation),
server: _server,
client: _client,