feat(app): wire the native pipelines browser on the shared session

Register the landed PipelinesScreen at /pipelines through AppSession, with
an honest first-connection gate, a native reconnect banner that retains the
open list and detail, and an in-place refresh on reconnect. Move the shared
connection chrome out of RunsDestination so both destinations use one
implementation and one wording.

Add destination, registration and reconnect coverage plus an isolated
loopback Chrome probe that drives the real runPipelinesApp() composition.
This commit is contained in:
2026-10-21 19:47:08 +01:00
parent cf5a2ecd44
commit 8476cfd740
15 changed files with 1594 additions and 205 deletions
@@ -8,7 +8,9 @@ import 'package:pipelines_app/core/transport/pipelines_client.dart';
import 'package:shared_preferences/shared_preferences.dart';
import '../core/transport/pipelines_client_test.dart' show FakeChannel;
import '../features/pipelines/fixtures.dart';
import 'pipelines_app_test.dart' show webServer, requestOf;
import 'pipelines_replies.dart';
void main() {
for (final cupertino in [false, true]) {
@@ -46,6 +48,7 @@ void main() {
isNull,
reason: 'Unvisited settings must not issue hidden requests',
);
await replyPipelines(tester, channel, PipelineFixture());
await tester.tap(find.text('Settings').last);
await tester.pump();