Skip to content
Source
Sign inSign up
pingdotgg/t3code

revert: fourteen unverified desktop fixes from the takeover campaign #22222

Mergedjuliusmarmingemerged 14 commits intomain fromrefs/pull/22222/headmerged by juliusmarminge View on GitHub

Showing 49 changed files with 6 additions and 85 deletions (loading 46).

x
0 of 49 viewed, 49 left
4 additions and 3 deletionsapps/desktop/src/app/DesktopApp.tsModified
View file
@@ -153,8 +153,7 @@
const instances = yield* pool.list;
yield* Effect.forEach(
instances,
- // Exceeds the backend's 30s graceful termination and output drain budget.
- (instance) => instance.stop({ timeout: Duration.seconds(45) }),
+ (instance) => instance.stop({ timeout: Duration.seconds(5) }),
{ concurrency: "unbounded" },
@@ -240,7 +239,9 @@
​
if (!(yield* Ref.get(state.quitting))) {
- yield* desktopWindow.showConnectingSplash;
+ if (settings.wslOnly === true && settings.wslBackendEnabled === true) {
+ yield* desktopWindow.showConnectingSplash;
+ }
yield* primaryBackend.start;
yield* logBootstrapInfo("bootstrap backend start requested");
yield* appActivation.start.pipe(
2 additions and 68 deletionsapps/desktop/src/app/DesktopClerk.test.tsModified
View file
@@ -1,7 +1,6 @@
// @effect-diagnostics nodeBuiltinImport:off globalFetchInEffect:off - Hosted handoff test uses a real localhost listener without an OpenAI account.
import * as NodeHttp from "node:http";
-import * as NodePath from "node:path";
-import * as PlatformNodePath from "@effect/platform-node/NodePath";