Verification level

Visible native Isaac cancellation path. The cancellation request may race with a very fast machine; both cancelled and an already-terminal result are reported honestly. The program never treats closing its own socket as cancellation.

Run it

Terminal A:

bash
cd demo/server/06_operations_and_cancellation
fastsim config validate run.yaml --json
fastsim-server run.yaml

Terminal B:

bash
cd demo/server/06_operations_and_cancellation
python main.py --timeout 30

GET /api/v1/operations/{id} returns current progress and the terminal result. DELETE requests cancellation only for cancellable control work; lifecycle operations reject unsafe cancellation. The final list uses kind, offset, and limit rather than requesting unbounded history.

If the operation is already terminal, DELETE can return 409; the example catches only that expected race and still reads the real terminal record.

Next: 07 — Scene, frames, and geometry.