* fix(dev): spawn the real Bun so npm-installed Bun works on Windows
bunCommand() prefers the running Bun, then npm_execpath, then the executable behind a Windows npm shim on PATH. A missing Bun gives an install hint from every script that spawns it, and a test guards against bare bun/bunx spawns. Builds on the report and first fix in #4525.
* Add changelog fragment for the Bun spawn fix
scripts/windows-rocm-recipe.json is the reviewed record of the interpreter the
Windows ROCm wheels and HIP runtime were tested against. scripts/setup-api.mjs
spelled the uv request out (cpython-3.12-windows-x86_64) and repeated 3.12 in its
x64 error, and the desktop readiness constant spells it out again, so a recipe
bump would leave both asking for an interpreter the recipe no longer pins.
Add a shared helper that turns the recipe into the uv request and the displayed
version, use it in the setup script, and add a test that runs the helper through
node against the shipped recipe and compares it with the desktop constant.
tests/test_windows_rocm_recipe_pin.py runs 3 passed; reverting the setup script
makes it fail with "the ROCm branch retypes the interpreter version instead of
reading the recipe".
- Release smoke (Linux, macOS): build the app and web UI, run electron-builder
--dir with the release config (bundled CLI, native helper, bundle symlink
check), then the release's packaged-app checks: packaging contract, glibc
floor, macOS bundle signature, packaged startup smoke (Linux through the
public voicestudio entry, as the AppImage starts it) and cli-bundle-smoke.
- Tests (backend + frontend) now waits for every ci.yml job, so a failing UI
crawler, Desktop UI, platform smoke or release smoke blocks auto-merge with
the ruleset unchanged.
- Platform smokes start beside Tests (Python) instead of after it, removing
~8 minutes from the longest path.
- scripts/freeze_cli.py, smoke_windows_rocm.py and check_glibc_floor.py no
longer let the Electron jobs skip; a test derives the list from the code.
- The bundled-uv staging step is one script shared by the release, the
packaging rehearsal and the release smoke.
- Docs: the merge queue needs an organization-owned repository; describe the
current auto-merge setup.
Active only with the SIGNPATH_API_TOKEN secret and the three SIGNPATH_*
repository variables; otherwise Windows signing is unchanged. The signed
installer replaces the unsigned one before upload, and the blockmap and
update feed hashes are regenerated to match. Adds the code signing policy
and owner checklist.
The DMG opened on electron-builder's plain default: a dashed arrow, a
white strip down the right edge and a volume title ending in the arch.
The strip is Finder's vertical scroll bar: the window frame equals the
background, so the title bar (plus any tab, path or status bar) leaves
less room than the icon cells need.
- Branded background authored as build/dmg/background.svg (plum tile,
rose-to-amber arrow and waveform, one headline, one open-source
footer), rendered to 1x/2x PNGs by `bun run dmg:background`.
- dmg block: 660x440 window, 112 pt icons placed so their cells fit even
with every Finder bar shown (no scroll bar), labels on mid-tone pills
readable as black (Light) or white (Dark) text, and the title
`${productName} ${version}`. File names stay VoiceStudio-<v>-mac-<arch>.dmg.
- tests/dmg-window.test.mjs (run by the packaging contract) checks the
PNG sizes, window, icon slots, title and file name.
- docs/branding.md lists the asset and explains grey icons under the
macOS 26 Clear/Tinted icon style.
- The macOS dev launcher called `cp -cR`, `plutil` and `codesign` from
PATH; with Homebrew coreutils first, GNU cp rejects `-c` and the
launcher exits. It now uses /bin/cp, /usr/bin/plutil and
/usr/bin/codesign.
- RefreshTokenStore asked safeStorage (the macOS Keychain) in its
constructor on every launch, even with account features off; a
re-signed dev bundle then blocked main on an access prompt before the
backend started. The keyring is now asked only to read a saved token
or write a new one, `remembered` only with account features on, and a
keyring that throws keeps the session in memory.
- electron-vite starts the new Electron on a main-process edit while the
old one still holds the single-instance lock, so the new one quit and
ended the session (a failed lock request never reaches `ready`, so
retrying cannot help). Each dev instance records its pid; the next
waits up to 20 s for it to exit before asking for the lock. Packaged
builds never wait.
The reported rolldown first-watch-build stall did not reproduce here
(Darwin 27 arm64, rolldown 1.2.7: BUNDLE_END fires in ~0.1 s with the
native watcher), so no polling override is added.
Inspired by #3813 by @larrytoube.
uv's editable install writes the checkout path into
`_editable_impl_omnivoice.pth` as UTF-8, and Python 3.11 decodes `.pth`
files in the ANSI code page. A checkout in a non-ASCII folder on a
non-UTF-8 Windows code page (Thai cp874 here) therefore could not run
`bun run setup:api` or `bun run dev`: uv's interpreter query died in
`init_import_site`. Installed runtimes were already healed; no
source-checkout path called the healer.
The healer moves to `electron/scripts/pth-ascii.mjs` (re-exported by
`src/main/pth-ascii.ts`, with a synchronous twin) so plain-Node scripts
share it. `setup:api` heals `.venv` before every uv call (each sync
rewrites the file), the dev:api supervisor before every launch, and the
app's source-checkout branch before probing the venv. Failures are
tolerated everywhere.
Inspired by #3726 by @Taksin014.
electron-vite preview reads node_modules/electron/path.txt itself and throws
'Electron uninstall' before the lazily downloaded binary exists. start and
preview now run the same launcher as dev, which resolves the binary first,
and the launcher drops an inherited ELECTRON_RUN_AS_NODE.
Electron is the only desktop app, so direct-download artifacts drop the
Electron label (store builds keep theirs). Installers still resolve the
VoiceStudio-Electron-* names for releases up to v0.5.7-beta.3; update feed
file names are unchanged and each feed names its own installer.
* feat(gpu): add opt-in native Windows ROCm installation
Use one pinned Windows recipe for source and Electron setup, verify native packages before reuse, and preserve explicit opt-in and sidecar compatibility boundaries.
* docs(rocm): drop agent-instruction plan files; move the entry to a changelog fragment
* fix(rocm): hash-pin every AMD artifact and keep dependencies at their locked versions
Each repo.radeon.com wheel/sdist now carries a sha256 in the recipe, the loader
refuses one without it, and the installer installs from a --hash requirements
file (uv verifies; UV_NO_VERIFY_HASHES is stripped). A constraints file pins
every installed package except the overlay (torch family, rocm*, triton*,
ctranslate2), so transitive deps no longer resolve fresh from the index. The
rocm sdist builds with the locked setuptools.
* fix(rocm): ask before switching an existing runtime to Windows ROCm
OMNIVOICE_TORCH_VARIANT=rocm used to be ignored on Windows; with this PR it
would fail readiness on update and auto-repair into a multi-GB download from
new hosts. A successful install now records its torch build (.runtime-torch);
a runtime never installed with Windows ROCm goes to the setup screen instead
of auto-repair. ROCm on Windows ARM64 reports not-ready instead of rejecting
readiness, and the setup screen names repo.radeon.com as the Windows ROCm
torch source.
* fix(rocm): resolve ROCm packages from site-packages and remember a failed GPU probe
package_root() finds torch, ctranslate2 and the ROCm SDK packages through
their distribution records in this interpreter's site-packages, so a stray
folder in the working directory of a -m child can't choose the DLL
directories. A failed HIP CT2 probe (up to 90 s) is remembered for the
process instead of 5 s, so catalogue refreshes don't re-run it; a restart,
recipe or package change runs it again.
* docs(rocm): record the owner-approved Windows ROCm endpoints and how setup checks them
* docs(structure): count the pyannote compat service module
* test(rocm): pin the host architecture in the setup-reuse readiness test
* fix(repo): untrack the committed .venv symlink and ignore symlinked envs; follow the new ROCm copy in the GPU panel test
.gitignore's '.venv/' only matches directories, so a worktree's symlinked
.venv was committed and CI's uv sync failed on it. Ignore '.venv' without the
slash and add a guard that no local environment path is ever tracked.
* test(audio-io): allow the pyannote torchaudio shim, which applies the gate's own fix to third-party calls
---------
Co-authored-by: debpalash <4178343+debpalash@users.noreply.github.com>
Beta follows vX.Y.Z-beta.N prereleases cut from main and rolls onto the next
stable release; Stable stays the default. Betas are GitHub prereleases (never
latest), ship an electron-beta-* feed and :beta Docker tags, and skip the Snap
Store and Tauri sunset feeds.
* feat(electron): publish AppImage zsync updates (#2327)
* Use FUSE-independent AppImage runtime (#2328)
* Launch packaged AppImage in Linux smoke checks
* Postprocess AppImages for source installs and dist builds
* Keep external AppImage updates on the matching release channel
* Run Linux source install smoke against the PR main revision
* Accept shallow PR commits in installer smoke source mirror