build: add checked Windows desktop archive packaging
This commit is contained in:
1 parent
99c423c0fd
commit
d9336db1d5
5 files changed
+187
No files matched your search
@@ -108,6 +108,32 @@ signing/notarization requires Apple tooling and credentials. See the
|
||||
|
||||
## CI and packaging gates
|
||||
|
||||
### Windows archive for source installations
|
||||
|
||||
After staging the CPU worker and media helpers, build an embedded-frontend
|
||||
desktop binary and collect its runtime files:
|
||||
|
||||
```powershell
|
||||
Set-Location apps/desktop
|
||||
npm run tauri -- build --no-bundle
|
||||
Set-Location ../..
|
||||
python tools/package_windows.py
|
||||
```
|
||||
|
||||
The generated `.searchi/packages/searchi-windows.zip` contains the desktop,
|
||||
matching-architecture Google worker, FFmpeg/FFprobe and notices. It excludes
|
||||
model caches, local settings and indexes. `PACKAGE.json` records SHA-256 for
|
||||
each included file. Extract the entire archive before launching `searchi.exe`.
|
||||
First launch uses normal verified model setup. WebView2 and the applicable
|
||||
Microsoft C++ runtime remain Windows prerequisites.
|
||||
|
||||
This is an unsigned development archive, not a production installer. Native
|
||||
launch, clean-machine dependencies, upgrades and signatures must still be
|
||||
verified. The packager rejects mixed architectures and preserves a previous
|
||||
archive if validation fails. It does not certify GPU dependency packaging.
|
||||
|
||||
### CI status and installer gates
|
||||
|
||||
Gitea Actions are disabled for this repository at the owner's request after
|
||||
repeated failure emails (2026-10-12). Existing workflows remain as references:
|
||||
GitHub defines native OS matrices; Gitea targets its available Ubuntu runner.
|
||||
|
||||
@@ -49,6 +49,11 @@ Status: implementation started; no production release yet. Windows VM tests use
|
||||
- [ ] Isolated extraction workers with timeouts and resource ceilings.
|
||||
|
||||
## 5. Release gates
|
||||
- [x] Windows desktop archive packager includes explicit runtime/helper files
|
||||
and notices, checks architecture and records per-file checksums; excludes
|
||||
model caches and user data. Controlled packaging regression tests pass.
|
||||
- [ ] Verify embedded-frontend Release archive launch outside the source tree,
|
||||
clean-machine prerequisites, GPU dependencies, upgrades and signing.
|
||||
- [x] Preflight native license and the complete offline Google model pair before
|
||||
modifying staged resources; corrupted/missing assets preserve existing worker.
|
||||
- [ ] Atomic resource staging and interrupted-copy recovery for release bundles.
|
||||
|
||||
@@ -7,6 +7,13 @@ and `SEARCHI_FORCE_CPU=1`.
|
||||
|
||||
## Current integration checkpoint (2026-10-12)
|
||||
|
||||
The Windows archive packager has two controlled Python regressions: complete
|
||||
required file collection with checksum verification and user-settings exclusion,
|
||||
and mismatched worker architecture preserving the previous archive. Both pass.
|
||||
An actual CPU-only Tauri embedded-frontend Release build has been started;
|
||||
archive creation, native launch outside the source tree and clean-machine
|
||||
installation remain unverified until its completion and separate checks.
|
||||
|
||||
Offline staging now verifies the native license and every bundled Google asset
|
||||
before modifying resources. Two Python regressions verify missing-model rejection
|
||||
and same-size corruption in the second model leaving the existing staged worker
|
||||
|
||||
Reference in new issue
Block a user