A pull whose answer never arrives no longer leaves the folder behind
PI pinchbegan .
7 files: client/src/commands.ts, client/src/drafts.ts, client/src/publish-commands.ts, client/src/status-commands.ts, client/src/versions.ts, client/test/fake-server.ts, client/test/lost-pull.test.ts
version 280A pull whose answer never arrives no longer leaves the folder behind
The server moves the agent's base when it answers a pull, and later pulls send only what changed since that base. When the answer was lost (a timeout on a slow server), the files it carried were never written, and every later pull, status, restore and export agreed the folder was current.
Now the client notes a pull in .abso/pulling.json before asking, and takes the note away once the answer is written. While the note is there, abso status says a pull didn't finish, and the next pull asks for every file in the view (as pull --full does) and writes the ones that differ, keeping work done in the folder meanwhile, as every pull does. follow, draft switching and draft-pull pull the same way. A server without full pulls gets a plain pull.
Tests: client/test/lost-pull.test.ts (a fake server that carries out a pull and drops its answer), plus held-push, join-signed-out and record-batches: 19 pass. tsc and Biome clean.
client/src/commands.ts, client/src/drafts.ts, client/src/publish-commands.ts, client/src/status-commands.ts, client/src/versions.ts, client/test/fake-server.ts, client/test/lost-pull.test.ts- MCP
- change on this site's /mcp
- CLI
- abso review 4412 --json
- JSON
- /christopher/abso-core/changes/4412?format=json