Skip to content

Commit 01bea37

Browse files
sheetsyncclaude
andcommitted
fix(mobile): report stale reserved-port actions
When the server no longer has the action with a reserved port, show the same error web shows instead of ignoring the tap. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 150a00c commit 01bea37

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,13 @@ function ThreadRouteContent(
684684
}
685685
return;
686686
}
687-
if (result.value.status === "no-script") return;
687+
if (result.value.status === "no-script") {
688+
Dialog.alert(
689+
"Couldn't run script",
690+
`"${script.name}" is no longer saved with a reserved port. Check the action and try again.`,
691+
);
692+
return;
693+
}
688694
if (result.value.threadId === selectedThread.id) {
689695
handleOpenTerminal(result.value.terminalId);
690696
} else {

0 commit comments

Comments
 (0)