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 At 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. - 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". - 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. - worker/project/news.ts is Biome-formatted (only formatting), so the check gets past Biome again. - 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. Tests: 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.
PI pinchbegan .
7 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
version 289Local 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
At 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.
- 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".
- 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.
- worker/project/news.ts is Biome-formatted (only formatting), so the check gets past Biome again.
- 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.
Tests: 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.
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- MCP
- change on this site's /mcp
- CLI
- abso review 4550 --json
- JSON
- /christopher/abso-core/changes/4550?format=json