Skip to content

Commit 9b76c7a

Browse files
committed
fix: address check progress CI failures
1 parent 9c8294b commit 9b76c7a

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

‎apps/mobile/src/features/threads/ThreadDetailScreen.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import type { QueuedRunEdit } from "../../state/queued-run-edit";
5858
import type { FollowUpBehavior } from "../../lib/followUpBehavior";
5959
import type { ActiveTurnComposerAction } from "@t3tools/client-runtime/state/composer-dispatch";
6060
import * as Haptics from "expo-haptics";
61-
import { useContext, useEffect, useLayoutEffect, useRef, useState } from "react";
61+
import { useCallback, useContext, useEffect, useLayoutEffect, useRef, useState } from "react";
6262
import {
6363
AppState,
6464
Keyboard,

‎apps/web/src/components/chat/ThreadDetailsPrRow.browser.test.tsx‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,15 @@ it("requires a new merge click after passing checks become pending and pass agai
156156
it.each<[PullRequestCheck["status"], PullRequestCheck["status"], string]>([
157157
["success", "skipped", ""],
158158
["failure", "cancelled", ""],
159-
["success", "action-required", ""],
159+
["success", "action-required", "1/2"],
160160
["success", "pending", "1/2"],
161+
["pending", "pending", "0/2"],
162+
["pending", "action-required", "0/2"],
163+
["skipped", "pending", "1/2"],
164+
["neutral", "pending", "1/2"],
161165
["failure", "pending", "1/2"],
162-
])("shows a count only while checks run (%s, %s)", (status, extraStatus, count) => {
166+
["cancelled", "pending", "1/2"],
167+
])("counts finished checks while work remains (%s, %s)", (status, extraStatus, count) => {
163168
state.status = status;
164169
state.extraStatus = extraStatus;
165170
act(() => {

0 commit comments

Comments
 (0)