Skip to content

feat(desktop): build Windows x64 installer in CI - #101

Merged
ff6347 merged 13 commits into
mainfrom
feat/windows-build
Oct 9, 2026
Merged

ff6347 merged 13 commits into
mainfrom
feat/windows-build

Conversation

@ff6347

@ff6347 ff6347 commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Scope

Build unsigned Windows x64 NSIS installers entirely in GitHub Actions. Native tests and packaging run independently; failures stay visible. CI artifacts are internal candidates only. Public downloads use GitHub Release assets, never Actions artifact links.

Fabian reviewed the changes, approved combining current main, and will merge through GitHub. No direct push to main or repository-rule bypass is performed. Paid Windows signing, license changes, and Store publication are out of scope; Store publishing is backlog git-bug 99995d3.

Combined source

Merge commit 4df2a0f88611c580e50fc4a26c9d3c608a45498d combines reviewed source 8dff583 with origin/main 8e507b0, including its Prettier switch and beta.4 macOS/Linux download-page changes. The only conflict was resolved with Fabian's explicit approval: keep main's page structure and existing macOS/Linux release links, then add the reviewed Windows-next-beta text and unsigned/SmartScreen warning. No Actions download URL or nonexistent release asset is linked.

Windows changes

  • Move windows-acl SID allocations rather than cloning zero-length vectors. Three real Windows-file/ACL regressions cover inherited grant removal, creation, replacement, reopen, provider-isolated sign-out, and insecure-file rejection.
  • Consume the complete HTTP request in local refresh fixtures before responding. Exact authorization/redaction assertions remain; the sign-out race asserts account change rather than accepting transport errors. Production refresh diagnostics are unchanged.
  • Remove an unnecessary Windows-only return in external-tool candidate detection, with approval; no behavior change or lint suppression.
  • Installer filenames include unsigned, with matching portable SHA-256 manifests.

Current validation

  • Windows run 37778892671 passes on the exact combined source: focused credential tests, complete native tests, warnings-as-errors Clippy, unsigned installer packaging, hash verification, and upload.
  • Linux run 37778892714 passes on the exact combined source: native tests, AppImage/deb packaging, bundle/hash verification, and upload completed successfully. Both Windows and Linux CI pass on 4df2a0f88611c580e50fc4a26c9d3c608a45498d; no checks remain pending or failing. macOS CI jobs are skipped by their existing dispatch/branch conditions; local macOS gates pass as listed below.
  • Local combined-tree checks pass: locked install, 433 core/CLI tests, compact tests, package/browser typechecks, lint, root Prettier formatting, full macOS native suite (159 passed, one existing live-provider test ignored), Rust fmt/Clippy, actionlint, site build/typecheck, and desktop app/DMG packaging.
  • The obsolete oxfmt formatting blocker is absent with main's Prettier command. Ignored generated Astro metadata was cleaned before root formatting; no formatter configuration change is included. Site gray-matter direct-eval and browser large-chunk warnings remain.

Acceptance and publication

Fabian reports the prior packaged Windows build works with Codex sign-in and OpenRouter after a SmartScreen override. Full provider lifecycle, file/export, installer replacement/uninstall, and broader credential-hardening acceptance remain open. Green CI alone is not workshop-release acceptance.

After the PR is merged and separately approved release preparation is complete, build macOS Apple Silicon, Linux amd64, and Windows x64 for the next beta from one landed revision and publish binaries plus checksums together. Do not append the later unmerged Windows probe to beta.4; its existing macOS/Linux assets and tag use c5d657b. No beta.5 version bump, tag, release publication, or main merge has been performed by the agent.

Tracks installer delivery 50cd09c, credential acceptance a722d8f, resolved fixtures ceff6c0, resolved Clippy warning e130c9d, and coordinated release 830289e. Current repository rules require a PR, an approving GitHub review, and latest-push approval; Fabian handles the final merge.

@ff6347 ff6347 mentioned this pull request Oct 7, 2026
6 tasks
@ff6347

ff6347 commented Oct 8, 2026

Copy link
Copy Markdown
Owner Author

Fabian reports that the beta.4 Windows installer works, including Codex sign-in and OpenRouter, after a SmartScreen override. His approved distribution decision is free GitHub downloads with unsigned Windows installers; no paid signing or license changes. Commits 0314720 and 14cd2fc add unsigned to future installer filenames and add the Windows download link, temporary Actions/sign-in caveat, and SmartScreen guidance to the site. Store publishing is backlog git-bug 99995d3. Site build/typecheck, oxlint, actionlint, focused formatting and whitespace checks pass. Installer renaming has not yet run on Windows CI. The existing refresh fixture failure remains unchanged. This PR stays draft; nothing is merged or released.

@ff6347
ff6347 marked this pull request as ready for review October 9, 2026 07:40
@ff6347
ff6347 merged commit 521d5e8 into main Oct 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant