We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d66fa3a commit 4fa436dCopy full SHA for 4fa436d
1 file changed
apps/code/src/renderer/components/MainLayout.tsx
@@ -98,7 +98,10 @@ export function MainLayout() {
98
if (!syncCloudTasksEnabled) return;
99
if (!tasks || !workspaces || !workspacesFetched) return;
100
const missing = tasks.filter(
101
- (t) => !workspaces[t.id] && !reconcilingTaskIds.current.has(t.id),
+ (t) =>
102
+ t.latest_run?.environment === "cloud" &&
103
+ !workspaces[t.id] &&
104
+ !reconcilingTaskIds.current.has(t.id),
105
);
106
if (missing.length === 0) return;
107
for (const t of missing) reconcilingTaskIds.current.add(t.id);
0 commit comments