Commit Graph
11 Commits
Author SHA1 Message Date
Palash Debnath bc6d564cfc fix(dev): spawn the real Bun so npm-installed Bun works on Windows (#4603)
* 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
2026-12-02 20:25:13 +00:00
debpalash f00100458c fix(batch): review fixes for absorbed community PRs
- Galician: replace the stale sponsor tier keys with the current five tiers in both catalogs; register gl in the shared language test, translate_all.py and the renderer perf locale pattern; drop the one-off Google Translate scraper script; locale-count wording in docs and the parity test no longer hardcodes 21.
- Speech client: loopback requests bypass environment proxies so a plain-HTTP bearer key never reaches a proxy (CodeRabbit on #3554), with a regression test.
2026-10-27 23:55:51 +05:30
debpalash ae6dce38da fix(perf): remove the renderer baseline's temporary build when the script exits 2026-10-27 00:27:59 +05:30
debpalash b2d71a5a7d perf: isolate every model cache in the baseline and add changelog fragments
Carries the changes made in #2692's merge commits, which cherry-picking omits.
2026-10-27 00:27:41 +05:30
adrianchen91 141da1111c fix: keep a host AudioSeal cache out of the startup benchmark
AudioSeal's warm-up loads at 35 s when generator_base.pth is cached, which the
new sampling window reaches, and HF_HOME does not isolate that cache. Build the
run environment in one place and point AUDIOSEAL_CACHE_DIR into the throwaway
dir as well.
2026-10-27 00:27:28 +05:30
adrianchen91 04cd4ade9d fix: settle before sampling idle memory in the startup benchmark
Routes go live before background reconcile and the warm-up timers finish, so
sampling right after ready could capture startup work rather than idle
memory. Wait 30 s first, then take the median of ten samples.
2026-10-27 00:27:28 +05:30
adrianchen91 b9ae71e6e1 fix: isolate the startup benchmark from saved settings; drop an overstated memory claim
The backend loads ~/.config/omnivoice/env over the process environment, and
Electron's data-folder relocation stores OMNIVOICE_DATA_DIR there, so the
benchmark could run against a real data folder and fail live jobs. Point
OMNIVOICE_ENV_FILE and HF_HOME at the throwaway dir. Report the median of
repeated RSS samples, and replace the 209 MB claim, which macOS RSS noise did
not support, with the import-trace evidence.
2026-10-27 00:27:28 +05:30
adrianchen91 cc71a4faed docs: describe the renderer count as index.html references, not first paint
The script counts files referenced by index.html; it measures no paint or
load timing. Reword the table, the media-player finding and the script
output to say so.
2026-10-27 00:27:22 +05:30
adrianchen91 f10655fa4c fix: startup baseline script uses a free port and fails if the backend exits
A fixed port let another backend's startup response be measured when the
launched one failed to bind, giving wrong timings and 0 MB RSS. Pick a free
port per boot and stop with an error if the child exits before it is ready.
2026-10-27 00:27:22 +05:30
adrianchen91 fa14966a04 docs: backend startup baseline and measurement script
First launch after install took 82 s against 14 s once bytecode was cached;
services_start is dominated by profile reconciliation importing the
omnivoice model module just to check availability.
2026-10-27 00:27:02 +05:30
adrianchen91 104343eab6 docs: add performance baseline and a renderer measurement script
Records the first-paint bundle, entry-chunk composition and declared
polling, and lists the backend measurements still to be taken.
2026-10-27 00:27:02 +05:30