diff --git a/apps/server/src/workspace/WorkspaceSearchIndex.test.ts b/apps/server/src/workspace/WorkspaceSearchIndex.test.ts index 13ccf443fb10..8c42fcf52aab 100644 --- a/apps/server/src/workspace/WorkspaceSearchIndex.test.ts +++ b/apps/server/src/workspace/WorkspaceSearchIndex.test.ts @@ -170,7 +170,7 @@ it.effect("fetches past a first page of Git-ignored results", () => ok: true as const, value: { isScanning: false }, }), - watch: () => ({ ok: true as const, value: () => undefined }), + watchAsync: async () => ({ ok: true as const, value: () => undefined }), fileSearchAsync: fileSearch, } as unknown as FileFinder; vi.spyOn(FileFinder, "create").mockReturnValueOnce({ ok: true, value: finder }); @@ -197,7 +197,7 @@ it.effect.skipIf(HostProcess.Platform.defaultValue() === "win32")( ok: true as const, value: { isScanning: false }, }), - watch: () => ({ ok: true as const, value: () => undefined }), + watchAsync: async () => ({ ok: true as const, value: () => undefined }), fileSearchAsync: vi.fn(async () => ({ ok: true as const, value: { items, scores: [], totalMatched: 1, totalFiles: 1 }, @@ -264,7 +264,7 @@ it.effect("continues whole-word searches after a filtered grep page", () => ok: true as const, value: { isScanning: false }, }), - watch: () => ({ ok: true as const, value: () => undefined }), + watchAsync: async () => ({ ok: true as const, value: () => undefined }), grepAsync: grep, } as unknown as FileFinder; vi.spyOn(FileFinder, "create").mockReturnValueOnce({ ok: true, value: finder }); @@ -333,7 +333,7 @@ it.live("answers content searches with git grep while a slow content index build ok: true as const, value: { isScanning: false, isWarmupComplete }, }), - watch: () => ({ ok: true as const, value: () => undefined }), + watchAsync: async () => ({ ok: true as const, value: () => undefined }), grepAsync: grep, } as unknown as FileFinder; const noPcreFinder = { @@ -512,10 +512,14 @@ function fakeSymlinkFinder( ok: true as const, value: { isScanning: false }, }), - watch: (callback: (events: ReadonlyArray) => void) => { + // fff's watch waits on the picker lock on the JS thread. + watch: () => { + throw new Error("watch must not run on the JS thread"); + }, + watchAsync: async (callback: (events: ReadonlyArray) => void) => { if (watchFailures > 0) { watchFailures -= 1; - throw new Error("File system watcher is not ready"); + return { ok: false as const, error: "File system watcher is not ready" }; } watchers.push(callback); return { ok: true as const, value: () => undefined }; diff --git a/apps/server/src/workspace/WorkspaceSearchIndex.ts b/apps/server/src/workspace/WorkspaceSearchIndex.ts index 858c420c72fb..b33ceade77fa 100644 --- a/apps/server/src/workspace/WorkspaceSearchIndex.ts +++ b/apps/server/src/workspace/WorkspaceSearchIndex.ts @@ -1030,38 +1030,36 @@ export const make = Effect.fn("WorkspaceSearchIndex.make")(function* ( if (!editsOnly) invalidateSymlinkScan(); }; // fff refuses subscriptions until its watcher is up, which can trail the initial scan, so - // each read retries until one is in place. + // each read retries until one is in place. Subscribing waits on fff's picker lock, which its + // watcher holds while it indexes a new folder, so it runs off the JS thread. let unwatch: WatchUnsubscribe | undefined; yield* Effect.addFinalizer(() => Effect.sync(() => unwatch?.())); - const ensureWatching = () => { + const ensureWatching = Effect.fn("WorkspaceSearchIndex.ensureWatching")(function* () { if (unwatch) return true; - try { - const result = finder.watch(onWatchBatch); - if (result.ok) unwatch = result.value; - } catch { - // Not ready yet; the next read tries again. - } + const result = yield* Effect.promise(() => + finder.watchAsync(onWatchBatch).catch(() => undefined), + ); + if (result?.ok) unwatch = result.value; return unwatch !== undefined; - }; + }); const indexScope = yield* Effect.scope; const startSymlinkScan = Effect.fn("WorkspaceSearchIndex.startSymlinkScan")(function* () { symlinkScanStale = false; - // Subscribing before the scan starts means no change during it goes unseen. - const watched = ensureWatching(); const done = yield* Deferred.make(); pendingSymlinkScan = done; - yield* scanSymlinkEntries().pipe( - Effect.tap((result) => - Effect.gen(function* () { - lastSymlinkScan = result; - knownLinkPaths = result.linkPaths; - // Without a watcher, or before fff has seen every folder, the result is kept only briefly. - lastSymlinkScanExpiresAt = - watched && result.indexComplete - ? undefined - : (yield* Clock.currentTimeMillis) + UNWATCHED_SYMLINK_SCAN_TTL_MS; - }), - ), + yield* Effect.gen(function* () { + // Subscribing before the scan starts means no change during it goes unseen. + const watched = yield* ensureWatching(); + const result = yield* scanSymlinkEntries(); + lastSymlinkScan = result; + knownLinkPaths = result.linkPaths; + // Without a watcher, or before fff has seen every folder, the result is kept only briefly. + lastSymlinkScanExpiresAt = + watched && result.indexComplete + ? undefined + : (yield* Clock.currentTimeMillis) + UNWATCHED_SYMLINK_SCAN_TTL_MS; + return result; + }).pipe( Effect.onExit((exit) => Effect.sync(() => { pendingSymlinkScan = undefined; diff --git a/patches/@ff-labs__fff-node@0.11.0.patch b/patches/@ff-labs__fff-node@0.11.0.patch index 198ac430e0d1..8e4cb2179d4c 100644 --- a/patches/@ff-labs__fff-node@0.11.0.patch +++ b/patches/@ff-labs__fff-node@0.11.0.patch @@ -30,7 +30,7 @@ index 0f90eedca20655ccd30b8f28e433b2094341fbdf..c2ef86927d6e3ab0e8584330fa0ac3fd /** Total number of items (files + dirs) that matched */ totalMatched: number; diff --git a/dist/finder.d.ts b/dist/finder.d.ts -index 452102d720cc19b0560cfc9e2f1a320687047c92..490dba5277c8d751b53ed239c0ce77f3e11f9c43 100644 +index 452102d720cc19b0560cfc9e2f1a320687047c92..704b52c3d076c50c3bf15e96a574385c9862670c 100644 --- a/dist/finder.d.ts +++ b/dist/finder.d.ts @@ -242,6 +242,18 @@ export declare class FileFinder implements FileFinderApi { @@ -63,8 +63,17 @@ index 452102d720cc19b0560cfc9e2f1a320687047c92..490dba5277c8d751b53ed239c0ce77f3 /** * Wait for the initial file scan to complete. * Non-blocking: polls `isScanning` and yields to the event loop between checks. +@@ -360,6 +376,8 @@ export declare class FileFinder implements FileFinderApi { + */ + watch(callback: WatchBatchCallback, options?: WatchOptions): Result; + watch(pattern: string, callback: WatchBatchCallback, options?: WatchOptions): Result; ++ /** `watch(callback)` without blocking the JS thread. Patched in T3 Code. */ ++ watchAsync(callback: WatchBatchCallback, options?: WatchOptions): Promise>; + /** + * Get health check information. + * diff --git a/dist/index.js b/dist/index.js -index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414498bde57 100644 +index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..69bfa2cc9023103f52cc469bbec917eab68fa806 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,7 +1,7 @@ @@ -116,14 +125,14 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 const { rawPtr, struct: structData } = callRaw(funcName, paramsType, paramsValue); + return envelopeFromRaw(rawPtr, structData); +} -+async function readResultEnvelopeOnNativeThread(funcName, handle) { ++async function readResultEnvelopeOnNativeThread(funcName, paramsType, paramsValue) { + loadLibrary(); + const rawPtr = await load({ + library: LIBRARY_KEY, + funcName, + retType: DataType.External, -+ paramsType: [DataType.External], -+ paramsValue: [handle], ++ paramsType, ++ paramsValue, + freeResultMemory: false, + runInNewThread: true + }); @@ -137,7 +146,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 if (structData.success === 0) { const errorStr = readCString(structData.error); freeResult(rawPtr); -@@ -311,7 +342,9 @@ function readResultEnvelope(funcName, paramsType, paramsValue) { +@@ -311,13 +342,17 @@ function readResultEnvelope(funcName, paramsType, paramsValue) { return { rawPtr, struct: structData }; } function callVoidResult(funcName, paramsType, paramsValue) { @@ -148,7 +157,16 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 if ("ok" in res) return res; freeResult(res.rawPtr); return { ok: true, value: void 0 }; -@@ -417,18 +450,20 @@ function ffiCreate(basePath, frecencyDbPath, historyDbPath, _useUnsafeNoLock, en + } + function callIntResult(funcName, paramsType, paramsValue) { +- const res = readResultEnvelope(funcName, paramsType, paramsValue); ++ return intResultFromEnvelope(readResultEnvelope(funcName, paramsType, paramsValue)); ++} ++function intResultFromEnvelope(res) { + if ("ok" in res) return res; + const value = Number(res.struct.int_value); + freeResult(res.rawPtr); +@@ -417,18 +452,20 @@ function ffiCreate(basePath, frecencyDbPath, historyDbPath, _useUnsafeNoLock, en } function ffiDestroy(handle) { loadLibrary(); @@ -174,7 +192,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 size: DataType.U64, modified: DataType.U64, access_frecency_score: DataType.I64, -@@ -445,8 +480,9 @@ var FFF_SCORE_STRUCT = { +@@ -445,8 +482,9 @@ var FFF_SCORE_STRUCT = { distance_penalty: DataType.I32, current_file_penalty: DataType.I32, combo_match_boost: DataType.I32, @@ -185,7 +203,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 }; var FFF_SEARCH_RESULT_STRUCT = { items: DataType.External, -@@ -462,8 +498,8 @@ var FFF_SEARCH_RESULT_STRUCT = { +@@ -462,8 +500,8 @@ var FFF_SEARCH_RESULT_STRUCT = { location_end_col: DataType.I32 }; var FFF_DIR_ITEM_STRUCT = { @@ -196,7 +214,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 max_access_frecency: DataType.I32 }; var FFF_DIR_SEARCH_RESULT_STRUCT = { -@@ -475,9 +511,9 @@ var FFF_DIR_SEARCH_RESULT_STRUCT = { +@@ -475,9 +513,9 @@ var FFF_DIR_SEARCH_RESULT_STRUCT = { }; var FFF_MIXED_ITEM_STRUCT = { item_type: DataType.U8, @@ -209,7 +227,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 size: DataType.U64, modified: DataType.U64, access_frecency_score: DataType.I64, -@@ -500,10 +536,10 @@ var FFF_MIXED_SEARCH_RESULT_STRUCT = { +@@ -500,10 +538,10 @@ var FFF_MIXED_SEARCH_RESULT_STRUCT = { location_end_col: DataType.I32 }; var FFF_GREP_MATCH_STRUCT = { @@ -224,7 +242,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 match_ranges: DataType.External, context_before: DataType.External, context_after: DataType.External, -@@ -598,18 +634,13 @@ function readMixedItemFromRaw(raw) { +@@ -598,18 +636,13 @@ function readMixedItemFromRaw(raw) { } function callAccessor(funcName, resultPtr, index, structDef) { loadLibrary(); @@ -245,7 +263,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 } function ptrOffset(base, bytes) { return load({ -@@ -766,6 +797,7 @@ function parseSearchResult(rawPtr) { +@@ -766,6 +799,7 @@ function parseSearchResult(rawPtr) { } const items = []; const scores = []; @@ -253,7 +271,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 for (let i = 0; i < count; i++) { const rawItem = callAccessor( "fff_search_result_get_item", -@@ -774,13 +806,15 @@ function parseSearchResult(rawPtr) { +@@ -774,13 +808,15 @@ function parseSearchResult(rawPtr) { FFF_FILE_ITEM_STRUCT ); items.push(readFileItemFromRaw(rawItem)); @@ -276,7 +294,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 } load({ library: LIBRARY_KEY, -@@ -824,6 +858,7 @@ function parseDirSearchResult(rawPtr) { +@@ -824,6 +860,7 @@ function parseDirSearchResult(rawPtr) { const count = sr.count; const items = []; const scores = []; @@ -284,7 +302,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 for (let i = 0; i < count; i++) { const rawItem = callAccessor( "fff_dir_search_result_get_item", -@@ -832,13 +867,15 @@ function parseDirSearchResult(rawPtr) { +@@ -832,13 +869,15 @@ function parseDirSearchResult(rawPtr) { FFF_DIR_ITEM_STRUCT ); items.push(readDirItemFromRaw(rawItem)); @@ -307,7 +325,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 } load({ library: LIBRARY_KEY, -@@ -897,6 +934,7 @@ function parseMixedSearchResult(rawPtr) { +@@ -897,6 +936,7 @@ function parseMixedSearchResult(rawPtr) { } const items = []; const scores = []; @@ -315,7 +333,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 for (let i = 0; i < count; i++) { const rawItem = callAccessor( "fff_mixed_search_result_get_item", -@@ -905,13 +943,15 @@ function parseMixedSearchResult(rawPtr) { +@@ -905,13 +945,15 @@ function parseMixedSearchResult(rawPtr) { FFF_MIXED_ITEM_STRUCT ); items.push(readMixedItemFromRaw(rawItem)); @@ -338,7 +356,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 } load({ library: LIBRARY_KEY, -@@ -932,7 +972,7 @@ function parseMixedSearchResult(rawPtr) { +@@ -932,7 +974,7 @@ function parseMixedSearchResult(rawPtr) { } return { ok: true, value: result }; } @@ -347,7 +365,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 loadLibrary(); const rawPtr = load({ library: LIBRARY_KEY, -@@ -966,9 +1006,10 @@ function ffiSearch(handle, query, currentFile, maxThreads, pageIndex, pageSize, +@@ -966,9 +1008,10 @@ function ffiSearch(handle, query, currentFile, maxThreads, pageIndex, pageSize, comboBoostMultiplier, minComboCount ], @@ -360,7 +378,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 } function ffiGlob(handle, pattern, currentFile, maxThreads, pageIndex, pageSize) { loadLibrary(); -@@ -995,7 +1036,7 @@ function ffiGlob(handle, pattern, currentFile, maxThreads, pageIndex, pageSize) +@@ -995,7 +1038,7 @@ function ffiGlob(handle, pattern, currentFile, maxThreads, pageIndex, pageSize) }); return parseSearchResult(rawPtr); } @@ -369,7 +387,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 loadLibrary(); const rawPtr = load({ library: LIBRARY_KEY, -@@ -1016,11 +1057,12 @@ function ffiSearchDirectories(handle, query, currentFile, maxThreads, pageIndex, +@@ -1016,11 +1059,12 @@ function ffiSearchDirectories(handle, query, currentFile, maxThreads, pageIndex, // page_size ], paramsValue: [handle, query, currentFile ?? "", maxThreads, pageIndex, pageSize], @@ -385,7 +403,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 loadLibrary(); const rawPtr = load({ library: LIBRARY_KEY, -@@ -1054,11 +1096,12 @@ function ffiSearchMixed(handle, query, currentFile, maxThreads, pageIndex, pageS +@@ -1054,11 +1098,12 @@ function ffiSearchMixed(handle, query, currentFile, maxThreads, pageIndex, pageS comboBoostMultiplier, minComboCount ], @@ -401,7 +419,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 loadLibrary(); const rawPtr = load({ library: LIBRARY_KEY, -@@ -1107,9 +1150,10 @@ function ffiLiveGrep(handle, query, mode, maxFileSize, maxMatchesPerFile, smartC +@@ -1107,9 +1152,10 @@ function ffiLiveGrep(handle, query, mode, maxFileSize, maxMatchesPerFile, smartC afterContext, classifyDefinitions ], @@ -414,7 +432,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 } function ffiMultiGrep(handle, patternsJoined, constraints, maxFileSize, maxMatchesPerFile, smartCase, fileOffset, pageLimit, timeBudgetMs, enforceTimeBudget, beforeContext, afterContext, classifyDefinitions) { loadLibrary(); -@@ -1188,7 +1232,11 @@ var FFF_SCAN_PROGRESS_STRUCT = { +@@ -1188,7 +1234,11 @@ var FFF_SCAN_PROGRESS_STRUCT = { }; function ffiGetScanProgress(handle) { loadLibrary(); @@ -427,7 +445,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 if ("ok" in res) return res; const handlePtr = res.struct.handle; freeResult(res.rawPtr); -@@ -1429,6 +1477,10 @@ var FileFinder = class _FileFinder { +@@ -1429,6 +1479,10 @@ var FileFinder = class _FileFinder { handle; /** Native ids of this instance's active watch subscriptions. */ watchers = /* @__PURE__ */ new Set(); @@ -438,7 +456,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 constructor(handle) { this.handle = handle; } -@@ -1485,12 +1537,115 @@ var FileFinder = class _FileFinder { +@@ -1485,11 +1539,147 @@ var FileFinder = class _FileFinder { destroy() { if (this.handle !== null) { const handle = this.handle; @@ -460,8 +478,8 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 + } else { + release(); + } - } - } ++ } ++ } + /** + * Patched in T3 Code: runs a handle-only call on a libuv pool thread so waiting on fff's + * picker lock never blocks the JS thread. Concurrent callers share one call, so one finder @@ -472,15 +490,16 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 + if (!guard.ok) return Promise.resolve(guard); + const pending = this.nativeThreadCalls.get(funcName); + if (pending) return pending; -+ const call = readResultEnvelopeOnNativeThread(funcName, guard.value).then(fromEnvelope, (cause) => err(String(cause))).finally(() => { ++ const call = readResultEnvelopeOnNativeThread(funcName, [DataType.External], [guard.value]).then(fromEnvelope, (cause) => err(String(cause))).finally(() => { + this.nativeThreadCalls.delete(funcName); + }); + this.nativeThreadCalls.set(funcName, call); + return call; + } + /** -+ * Patched in T3 Code: runs a search on a libuv pool thread. Searches on one finder run one at -+ * a time, so while fff's watcher holds the picker lock a finder holds at most one pool thread. ++ * Patched in T3 Code: runs a search or subscription on a libuv pool thread. They run one at a ++ * time per finder, so while fff's watcher holds the picker lock a finder holds at most one pool ++ * thread. + */ + searchOnNativeThread(search) { + const guard = this.ensureAlive(); @@ -535,6 +554,38 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 + true + )); + } ++ /** ++ * Patched in T3 Code: `watch` without blocking the JS thread. Subscribing takes the picker lock, ++ * which fff's watcher holds while it indexes a new directory. ++ */ ++ watchAsync(callback, options) { ++ if (typeof callback !== "function") { ++ return Promise.resolve(err("watch callback must be a function")); + } ++ const ignore = options?.ignore ?? []; ++ return this.searchOnNativeThread(async (handle) => { ++ const registered = ensureWatchCallbackRegistered(handle); ++ if (!registered.ok) return registered; ++ const created = intResultFromEnvelope(await readResultEnvelopeOnNativeThread( ++ "fff_watch_args", ++ [DataType.External, DataType.String, DataType.StringArray, DataType.U32], ++ [handle, "", ignore, ignore.length] ++ )); ++ if (!created.ok) return created; ++ // fff_destroy drops the native subscription of a finder destroyed meanwhile. ++ if (this.handle !== handle) return this.ensureAlive(); ++ const watchId = created.value; ++ watchHandlers.set(watchId, callback); ++ this.watchers.add(watchId); ++ return { ++ ok: true, ++ value: () => { ++ if (!this.watchers.delete(watchId)) return; ++ if (this.handle !== null) ffiUnwatch(this.handle, watchId); ++ } ++ }; ++ }); ++ } + /** Patched in T3 Code: `grep` without blocking the JS thread. */ + grepAsync(query, options) { + return this.searchOnNativeThread((handle) => ffiLiveGrep( @@ -553,11 +604,10 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 + options?.classifyDefinitions ?? false, + true + )); -+ } + } /** * Check if this instance has been destroyed. - */ -@@ -1757,6 +1912,18 @@ var FileFinder = class _FileFinder { +@@ -1757,6 +1947,18 @@ var FileFinder = class _FileFinder { if (!guard.ok) return guard; return ffiScanFiles(guard.value); } @@ -576,7 +626,7 @@ index 7c1d722eabc8d8eb98998eb48c5fe9d70b749d10..5d9fbf45095bd2b2ff1c321c03b85414 /** * Check if a scan is currently in progress. */ -@@ -1838,7 +2005,8 @@ var FileFinder = class _FileFinder { +@@ -1838,7 +2040,8 @@ var FileFinder = class _FileFinder { if (!guard.ok) return guard; const deadline = Date.now() + timeoutMs; while (true) { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 15b8786867bf..22be5da14a34 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -369,7 +369,7 @@ patchedDependencies: '@effect/platform-node-shared@4.1.2': 06952843c6f431ca83c78762fd18d23cda76883801049ee311feced2438ecf14 '@effect/vitest@4.1.2': 299510b71c36537a832a67e9d160a5f112a5f326a29e95c41cb45fc8234e47c7 '@expo/ui@58.0.27': 9f2547678939f4ec78fe45163b6455aad63d3c80353d7e0cc783f6a61a7ccc2f - '@ff-labs/fff-node@0.11.0': 3be7107340e5f388114da259637828cd47f2b32eb8ae572440715c4e38cffe6e + '@ff-labs/fff-node@0.11.0': 93f62a76399b435a76588b2bef237db0a1e85880c1ac0d0759c416e9cc579252 '@legendapp/list@3.7.2': 3c68607b8bb7a531873bcbe0b197d163ef1fdb4d4cf52a4ddf9d2b3804671658 '@muse-code/sdk@1.4.6': 7b495b607fc5d76b444c7c4d58821e839726a30e6f3c53564f0d59f2d5b42101 '@pierre/diffs@1.7.0-beta.4': dd078a7448ce6727aaaa8b8b6702fe0ff02e85f18efa7c441a768530cabbe0cc @@ -862,7 +862,7 @@ importers: version: 4.1.2(patch_hash=06952843c6f431ca83c78762fd18d23cda76883801049ee311feced2438ecf14)(bufferutil@4.1.0)(effect@4.1.3)(utf-8-validate@6.0.6) '@ff-labs/fff-node': specifier: 0.11.0 - version: 0.11.0(patch_hash=3be7107340e5f388114da259637828cd47f2b32eb8ae572440715c4e38cffe6e) + version: 0.11.0(patch_hash=93f62a76399b435a76588b2bef237db0a1e85880c1ac0d0759c416e9cc579252) '@muse-code/sdk': specifier: 1.4.6 version: 1.4.6(patch_hash=7b495b607fc5d76b444c7c4d58821e839726a30e6f3c53564f0d59f2d5b42101)(@types/node@24.12.4) @@ -15177,7 +15177,7 @@ snapshots: '@ff-labs/fff-bin-win32-x64@0.11.0': optional: true - '@ff-labs/fff-node@0.11.0(patch_hash=3be7107340e5f388114da259637828cd47f2b32eb8ae572440715c4e38cffe6e)': + '@ff-labs/fff-node@0.11.0(patch_hash=93f62a76399b435a76588b2bef237db0a1e85880c1ac0d0759c416e9cc579252)': dependencies: ffi-rs: 1.3.2 optionalDependencies: