Remove the Runs error counter for now

Keep the running indicator and Needs you flow, but remove the failed-count badge and its tab count plumbing until unseen-state behavior is addressed. Preserve the unfinished seen-state work separately. Verify application, Runs, attention and shell regressions.
This commit is contained in:
2026-11-11 23:18:30 +00:00
parent aebd549d53
commit fa95c2fcae
13 changed files with 102 additions and 128 deletions
+4 -5
View File
@@ -66,10 +66,9 @@ void main() {
),
);
Widget shell({int attention = 0, int failed = 0}) {
Widget shell({int attention = 0}) {
final app = AdaptiveShell(
attentionCount: attention,
failedRunCount: failed,
destinationBodies: {
AppDestination.runs: (_) => ShellBadge(
kind: ShellBadgeKind.running,
@@ -219,14 +218,14 @@ void main() {
);
});
testWidgets('the Runs tab shows running and failed indicators together', (
testWidgets('the Runs tab keeps running work without an error counter', (
tester,
) async {
await setSize(tester, const Size(1200, 800));
await tester.pumpWidget(shell(attention: 2, failed: 2));
await tester.pumpWidget(shell(attention: 2));
await tester.pump();
await tester.pump();
expect(find.text('2'), findsOneWidget);
expect(find.text('2'), findsNothing);
expect(find.text('4'), findsOneWidget);
await tester.pumpWidget(shell());