Repository navigation
Release the Windows standalone app - #217
Merged
Merged
Conversation
The Windows build, package and installer jobs have been in both workflows since the standalone app arrived, commented out until the app was ready to ship. This restores them: the CI job that builds and exercises the archive on every pull request, the release job, the publish step's dependency on it, the zip in the release asset set, and the contract tests that pin all of that. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The Windows job's first run found two POSIX assumptions: private file modes have no group and other bits on NTFS, and Windows judges a file executable by its extension rather than a bit, so the fixture backend is named omamail.exe there and the non-executable case is a backend without one. The Linux job's smoke bounds allowed two seconds for QML loading, a process spawn and a kill-wait, which a busy runner stretched past three. The fixture floods without end, so any finite bound proves the point; it is ten seconds now. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The test touched the directory the way the backend does, re-asserting a mode that already holds. That moves only a ctime, and Windows reports nothing for it, so the watch never fired there. A sibling written is a directory event on every platform; the mode touch stays on POSIX. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
huacnlee
force-pushed
the
feat/windows-release
branch
from
September 15, 2026 08:14
0b05ca0 to
fb62483
Compare
AppDirs::discover resolves every root together, and SHGetKnownFolderPath verifies each by default, so a profile without a Downloads folder made every registry and cache read fail with home_missing. The contract harness runs the backend under a redirected profile with none; a user who removed theirs would have hit the same. The path is enough: whoever writes there creates it or reports that it could not. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The backend's private storage check wants what the backend itself creates: owned by the user, with a protected DACL naming nobody else. The harness's mkdir inherited the runner's ACL, and from an elevated token the objects belonged to Administrators, so every registry and cache read refused with cache_unsafe_path. The fixture home is now made private the same way, files included. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
An inheritance flag on a file's ACE makes it inherit-only, which grants the file's own reader nothing; the harness's snapshot could not read its sentinels. Directories and files get their own grants. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
huacnlee
added a commit
that referenced
this pull request
Sep 15, 2026
The install commands pointed at a branch of the repository. The GitHub Pages deploy now publishes `install.sh` and `install.ps1` next to the page, so the commands become: - macOS & Linux: `curl -fsSL https://huacnlee.github.io/omamail/install.sh | sh` - Windows (PowerShell): `irm https://huacnlee.github.io/omamail/install.ps1 | iex` Changes: - `pages.yml`: stage both installers into `_site`; a change to either redeploys the site. - `docs/index.html`: new URLs; a Windows tab beside macOS and Linux, opened first for Windows visitors. - `README.md`: new URL plus the Windows command. - `tests/test_website_install.py`: asserts the site publishes the installers, both commands appear on the site and in the README, and no raw-repository URL remains. The Pages URLs only serve the installers once this is merged and the site has deployed. The Windows command depends on #217 shipping the zip with the next release. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
huacnlee
added a commit
that referenced
this pull request
Sep 15, 2026
`tst_settings::fileStoreReadsWritesAndWatches` failed on the Windows job of #220 and passed on the same code in #217: the second atomic write, issued right after the first, hit a sharing violation while the just-written file was still held by the virus scanner or the indexer. That is not a test problem — a user saving settings on Windows would see the same save silently fail. `FileStore::write` now retries the atomic replace on Windows, eight attempts over about half a second, before reporting the error. A new Windows-only test holds the target open without sharing for 120ms from another thread and expects the write to land. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5 (1M context) <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.
Restores the Windows standalone app jobs that have been commented out in both workflows since #206, so the Windows zip ships with the next release.
ci.yml:standalone-app-windowsbuilds, packages and exercises the archive on every pull request;windows-latestis back in the standalone backend matrix.release.yml:app-windows-x86_64is back andpublish-and-pindepends on it.publish-backend.sh/package-backend.py:omamail-app-windows-x86_64.zipis part of the release asset set again, including both download-and-compare passes.Note: these jobs have never run on this repository's CI before — this PR is their first run, so any failure below is new information rather than a regression.
Install instructions and the GitHub Pages installer URLs follow in a separate PR.
🤖 Generated with Claude Code