0.9.4: faster first snapshots, faster gate #68
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ethan-hann/SavePoint!68
Loading…
Reference in a new issue
No description provided.
Delete branch "integration-094"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Faster first snapshots (#45, D50): the managed repository config sets
pack.compression=0(config stamp 6). Measured on an 85 GiB GOG install of Cyberpunk 2077, a first snapshot took 35 minutes with zlib and 9 without, for a store 2.4% larger, since game archives are already compressed. Routine and reclaim repacks still compress the objects they pack anew at zlib's default level, so small save files stay compressed.Faster gate (#25): the App module's audits open each app state once for all their checks, the job-pill audit composes each screen once for its four sizes, the scaled-window rows no longer render a PNG nothing reads, and two exit tests use a short exit wait. On the Core side the removed-snapshots world is built once per run and copied per test (with a check that no copy still names the template), HistoryTests lost its stale waits, the delete-responsiveness test decides with a gate instead of a wall clock, and the killed-program test writes its marker into a temp folder. The App module went from about 11 to under 7 minutes on Windows.
Empty folders (#66, D51): each snapshot records its empty folders in a commit-message trailer, and a switch, go back, discard or clean recreates any that are missing, so a folder like Cyberpunk 2077's archive/pc/mod survives switching through a profile that filled it. Found by a real-backend run on the GOG install of Cyberpunk 2077, where all 5,068 files came back identical but the empty folder did not.
First-snapshot progress (#67): git buffers its file list and says nothing while it closes the last pack, so once the store holds 99% of the bytes and has not grown for 8 seconds, the progress text says SavePoint is making sure everything is stored safely instead of showing a stopped figure.
Each part was reviewed by Opus and the findings are fixed in this branch. Version 0.9.4.
Closes #25, closes #45, closes #66, closes #67