Repository navigation
Fix launch blockers: install URL, savings measurement, large-folder load, 0.3.0 - #11
Merged
Merged
Conversation
- Measure allocation on a fresh handle after closing the mutation handle, so restores no longer overstate growth for sizes that are not cluster-aligned (#2). Adds round-trip checks at 65,537, 100,003 and 262,147 bytes; the first failed before the fix. - The documented install command pointed at the GitHub Pages site, which is no longer deployed. Releases now attach scripts/get.ps1 as zipxp-get.ps1 and the docs download it from releases/latest. - Bump to 0.3.0 and move the unreleased changelog entries under it, so the next release includes the React interface and folder suggestions. - Drop the known-issue notes for #2 from README, safety, validation and the website. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying zipxp with
|
| Latest commit: |
a1bbb2b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://55173e4d.zipxp.pages.dev |
| Branch Preview URL: | https://fix-launch-blockers.zipxp.pages.dev |
On a 50,000-file test folder the worker loaded and parsed every observation for each file it compressed, and every 2-minute rescan re-sampled every candidate (~1 GB read) and rewrote the whole observations table (~92 MB), even with auto-compression off. - Store.Observed looks up the latest scan's file by identity through an in-memory index rebuilt on each scan, instead of loading every row. - Rescans reuse the stored sampling estimate while a file's identity, length and last-write time are unchanged. - SaveScan writes only added, changed and removed observations. - The safety rescan runs every 30 minutes; watcher events still trigger scans within seconds. Folders without a watcher keep 2 minutes. Results on the same folder: rescan 70 MB read and nothing written instead of ~1 GB and 92 MB; a 3-minute auto-compression run used 12 s CPU instead of 70 s and did 109 files/min instead of 69. Adds checks for estimate reuse and for renames and deletions surviving the diffed writes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The site is deployed on Cloudflare Pages; the old GitHub Pages address 404s. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Copy on the install snippet copied the optional "-StartAtLogin -Launch" re-run too, so pasting it installed twice. Lines marked data-nocopy are now left out. - 404.html used the old GitHub Pages /zipxp/ base path, so it had no styles or working home link on Cloudflare Pages. - Remove the #2 known-issue callout and say allocation is measured after the handle closes. - Describe the React/WebView2 interface instead of WPF only, update the check count to 83, mention the WebView2 runtime in the quickstart, and point the closing call to action at the installer, not dotnet run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes needed before a public pre-release.
Install command 404. README,
docs/install.mdand the website told people to downloadhttps://kiranscript.github.io/zipxp/install.ps1, but the Pages workflow was removed in a0cfe6d and Pages isn't enabled, so the command fails. Releases now attachscripts/get.ps1aszipxp-get.ps1, and the docs download it fromreleases/latest/download/zipxp-get.ps1. The command only works once a release that includes the file exists (see below).Savings after a restore were overstated (#2).
Mutatormeasured allocation through the still-open mutation handle. #4 fixed this, but it was merged intopolish-repoand never reachedmain. The mutator now closes the handle and measures on a fresh handle, and claims no saving if the file changed in between. New checks run compress → restore round trips at 65,537, 100,003 and 262,147 bytes and require them to net to zero. The 65,537-byte check failed before the fix and passes after.Background load on large folders. Measured with the real engine on a generated 50,000-file folder (10,000 compressible files of 100–160 KB, on an SSD):
Changes:
Engine.cs).Store.Observednow uses an in-memory identity index that is rebuilt on each scan.SaveScanwrites only added, changed and removed rows instead of deleting and reinserting everything.Still open, and not blocking: scans still hold the engine lock (about 5 s on this folder), and the window's 3-second refresh still loads every observation (about 0.25 s CPU).
Stale release. v0.2.0 was built before the React interface (#8), #9 and #10. This bumps the version to 0.3.0 and moves the unreleased changelog entries under
[0.3.0]. After merging, push av0.3.0tag to build the release.Checked locally
-warnaserror: 0 warnings, 0 errors.ZipXP.Checks: 83 passed. New checks cover the round trips, estimate reuse, and renames and deletions surviving the diffed writes.npm run buildis clean.🤖 Generated with Claude Code