fix(studio-server): a file the drive never answers no longer holds a project's first copy (#8403)

* fix(studio-server): a file the drive never answers no longer holds a project's first history copy

Each file the first copy reads gets a deadline from when its read starts. A file that misses it is left owed and
adopted once the drive answers, keeping the bytes it read as the file's start, so the open finishes.

* fix(studio-server): a late first copy starts from receipts heard by its read, kept through pruning

A late first copy follows only the save receipts heard by the moment of its read, so a later save writing the
original back cannot move the start. The bytes a save replaced in a file still owed its first copy stay through
pruning, counted as start rather than undo history, until that copy is recorded.

* chore(studio-server): give the packed size budget its usual 5% headroom
This commit is contained in:
Miguel Ángel
2026-11-21 22:25:38 +00:00
committed by GitHub
parent 8127bb8856
commit 71dc6f2fe1
9 changed files with 783 additions and 61 deletions
+1 -1
View File
@@ -56,7 +56,7 @@
"unpacked": 26703858
},
"@hyperframes/studio-server": {
"packed": 188871,
"packed": 201161,
"unpacked": 732018
}
}