fix(server): update fff to stop runaway watcher rescans (#14543)

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Co-authored-by: Yash Singh <[email protected]>
This commit is contained in:
authored and GitHub committed 2026-10-11 02:28:42 -05:00
1 parent 4b6d9a09f8
commit 5584d21688
8 files changed
+140 -99

No files matched your search

+1 -1
View File
@@ -1527,7 +1527,7 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
primaryProbe.args[4],
path.join(
fixture.packagedAppDir,
"resources/server.asar/node_modules/@ff-labs/fff-node/dist/src/index.js",
"resources/server.asar/node_modules/@ff-labs/fff-node/dist/index.js",
),
);
assert.equal(primaryProbe.options.cwd, fixture.packagedAppDir);
+1 -4
View File
@@ -3236,10 +3236,7 @@ export const verifyWindowsPrimaryFffNativeLoad = Effect.fn(
const probeRoot = yield* fs.makeTempDirectoryScoped({
prefix: "t3code-windows-primary-native-probe-",
});
const fffEntryPath = path.join(
input.asarPath,
"node_modules/@ff-labs/fff-node/dist/src/index.js",
);
const fffEntryPath = path.join(input.asarPath, "node_modules/@ff-labs/fff-node/dist/index.js");
const probeEnv = { ...process.env };
delete probeEnv.ELECTRON_NO_ASAR;
delete probeEnv.NODE_OPTIONS;