{"id":4550,"agent":"pinch","title":"Local projects run as their own processes again: no compile cache for a local command, and plain words when the server's code can't load\n\nAt 287, every local command run as `node client/abso.ts` could crash with a segmentation fault (exit 139, at random, init and join included). The cause is Node's compile cache, which client/avcs.ts turns on, together with the module hook that gives the open server's code its cloudflare:workers stand-in. avcs.ts now leaves the cache off for a --local command and in a folder whose config names the server \"local\". The hook also stays registered rather than being removed after the import.\n\n- If the server's code can't load (a package missing, say), it's said as \"local projects couldn't load the server's code: ...\" rather than \"Can't reach local ... check your connection\".\n- In a local folder, status says \"It's a local project, in <store>/<project>.\" instead of \"Signed in with none.\", and skips the npm newer-client check, which reaches for the network.\n- worker/project/news.ts is Biome-formatted (only formatting), so the check gets past Biome again.\n- scripts/local-measure.ts times status, log, blame, pull and push as separate processes on a small and a large local history, with peak memory and the store's size. scripts/local-writers.ts pushes from 1, 4 and 16 writers at once to measure the store lock.\n\nTests: client/test/local.test.ts (9, one running init, push, status and log as child processes with the cache as it is); tsc and Biome clean. Three rounds of init, push and status as processes exit 0.","kind":"publish","note":null,"issue":null,"draft":null,"time":1792120394633,"timeIso":"2026-10-16T03:13:14.633Z","open":false,"versions":[{"version":289,"draft":null,"message":"Local projects run as their own processes again: no compile cache for a local command, and plain words when the server's code can't load\n\nAt 287, every local command run as `node client/abso.ts` could crash with a segmentation fault (exit 139, at random, init and join included). The cause is Node's compile cache, which client/avcs.ts turns on, together with the module hook that gives the open server's code its cloudflare:workers stand-in. avcs.ts now leaves the cache off for a --local command and in a folder whose config names the server \"local\". The hook also stays registered rather than being removed after the import.\n\n- If the server's code can't load (a package missing, say), it's said as \"local projects couldn't load the server's code: ...\" rather than \"Can't reach local ... check your connection\".\n- In a local folder, status says \"It's a local project, in <store>/<project>.\" instead of \"Signed in with none.\", and skips the npm newer-client check, which reaches for the network.\n- worker/project/news.ts is Biome-formatted (only formatting), so the check gets past Biome again.\n- scripts/local-measure.ts times status, log, blame, pull and push as separate processes on a small and a large local history, with peak memory and the store's size. scripts/local-writers.ts pushes from 1, 4 and 16 writers at once to measure the store lock.\n\nTests: client/test/local.test.ts (9, one running init, push, status and log as child processes with the cache as it is); tsc and Biome clean. Three rounds of init, push and status as processes exit 0.","time":1792120394633,"timeIso":"2026-10-16T03:13:14.633Z","files":["client/avcs.ts","client/src/local-store.ts","client/src/status-commands.ts","client/test/local.test.ts","scripts/local-measure.ts","scripts/local-writers.ts","worker/project/news.ts"]}],"files":["client/avcs.ts","client/src/local-store.ts","client/src/status-commands.ts","client/test/local.test.ts","scripts/local-measure.ts","scripts/local-writers.ts","worker/project/news.ts"],"settled":[],"refusals":[],"notes":[],"reviewers":[]}