| A device joins the cluster |
live (simulator) |
paired with a single-use code; node.paired in the journal |
| The cluster sees the allocated capacity |
live |
quota 2 GB / 5 GB reported; "registered 6.52 GiB" with two nodes |
| The cluster sends data, the device really keeps it |
live |
3 objects (57, 286, 114 MiB); fragment files present in the app container; every possession proof passed |
| The cluster gets the data back; digests match |
live |
3 fragments returned on request, SHA-256 checked by the coordinator |
| A lost stable copy is rebuilt from a device |
live |
one stable fragment deleted on m4mn → read answered 503 → fragment pulled from the device → object read back, digest equal |
| Fragments survive a relaunch |
live (app killed and relaunched) |
8/8 fragments present, inventory clean. Device reboot: not tested |
| Corrupt fragment on the device |
live |
16 bytes overwritten in a fragment file → detected at the next verification, discarded, clean copy received again |
| Corrupt / missing stable fragment |
automated |
scrub detects, repair from a mobile node (e2e) |
| Loss of a node |
live |
app terminated → node offline after 100 s, capacity counted as offline, objects read back intact |
| Coordinator restart |
live, 3 times, once in the middle of 36 transfers |
all fragments arrived; state intact |
| Interrupted transfer resumes |
automated at protocol level (Range download, offset upload). In the live run the transfers interrupted by the restart completed, but no byte-range resume was recorded: not observed on iOS |
|
| Graceful drain |
live |
44 fragments handed back and deleted, node drained, device empty, then rejoined |
| Emergency release |
live |
59 fragments erased at once, coordinator dropped the placements, objects intact |
| Revocation |
live |
node revoked from the cluster → requests refused, app erased its fragments and returned to pairing |
| Background |
live on the simulator only |
app sent to the background during transfers: the 15 fragments of a 114 MiB object all arrived, heartbeat mode background. Suspension by iOS on a device: not tested |
| Not enough space / quota |
automated |
quota never exceeded, quota lowered, node refusing writes (e2e); reserve rules (unit) |
| Allocation of 10, 50, 100 GB; large transfers |
not tested (largest run: 5 GB quota, 458 MiB stored) |
|
| Wi-Fi loss, Wi-Fi → cellular |
not tested (needs a device) |
|
| Screen lock, low battery, overheating |
not tested (needs a device); the policy code paths exist and are not exercised |
|
| Device reboot, app deletion |
not tested |
|
| Local network path (Bonjour + pinned certificate) |
not tested: the coordinator announces the service (seen with dns-sd -B on the node) but the test machine was not on the cluster's LAN |
|
| QR scan with the camera |
not tested (no camera in the simulator); typed code tested |
|
| Dashboard section |
deployed; verified by its own tests and against the real coordinator on a local stack; no authenticated call in production (needs the owner's passkey) |
|
| TestFlight |
build 1.0.0 (1) VALID, internal group "Test", account holder invited; installation on a device not done |
|