Progress reporting, cancellation and atomic writes #11

Open
opened 2026-10-14 19:01:24 +02:00 by ClaudeSafari · 0 comments
Member

Shared by every long operation (CLI and GUI).

Spec: §2.1 requirements, §2.3 file writing

Tasks

  • Progress trait (bytes done / total) and cancellation token
  • Atomic writer: .<name>.partial in the same folder, then rename; removed on cancel/error
  • Free-space check before writing

Done when

  • Cancelled or failed writes leave the original untouched (tests)
Shared by every long operation (CLI and GUI). Spec: [§2.1 requirements, §2.3 file writing](https://git.benoitsafari.com/safari-slop-apps/safari-slopapps-nx-archiver/src/branch/main/docs/SPEC.md) ## Tasks - [ ] `Progress` trait (bytes done / total) and cancellation token - [ ] Atomic writer: `.<name>.partial` in the same folder, then rename; removed on cancel/error - [ ] Free-space check before writing ## Done when - Cancelled or failed writes leave the original untouched (tests)
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#12 CLI: make-xci
safari-slop-apps/safari-slopapps-nx-archiver
#13 CLI: nsp-to-xci
safari-slop-apps/safari-slopapps-nx-archiver
#14 CLI: xci-extract and nsp-extract
safari-slop-apps/safari-slopapps-nx-archiver
#15 CLI: xci-modify
safari-slop-apps/safari-slopapps-nx-archiver
#16 CLI: xci-update
safari-slop-apps/safari-slopapps-nx-archiver
#17 CLI: xci-trim
safari-slop-apps/safari-slopapps-nx-archiver
#30 NSZ compression and nsp-to-nsz / nsz-to-nsp
safari-slop-apps/safari-slopapps-nx-archiver
Depends on
#1 Scaffold the workspace from the core template
safari-slop-apps/safari-slopapps-nx-archiver
Reference
safari-slop-apps/safari-slopapps-nx-archiver#11
No description provided.