Component downloads can't be controlled: `warmup` always installs Chromium (ignores its flags and `--help`), there's no opt-out for lazy browser/embeddings installs, and `init`/`doctor` can fetch `playwright@latest` via npx
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- node.js, typescript
Research direction
Start with src/cli/warmup.ts, src/fetch/browser-acquire.ts, and src/cli/doctor.ts to trace component selection, on-demand installs, and Playwright version checks. Run the reported warmup and init/doctor commands to establish current behavior. Done means component flags and help work without unintended downloads, opt-out behavior is explicit, doctor checks the bundled version offline, and size messages reflect disk use.
Written by the indexing model from the issue text.
Description
What happened?
I'm trying to run wigolo with predictable disk and network use (for example search only, no browser). As far as I can tell, 0.3.1 has no way to do that. Four specific problems:
1. wigolo warmup ignores component flags, and warmup --help starts a download
In src/cli/warmup.ts, runWarmup() calls installPlaywright() unconditionally as its first step. The component flags are only checked after that. So:
wigolo warmup --embeddings(or--reranker) installs Chromium first and then the requested component.--browser, whichwigolo --helplists (warmup [--all|--browser|--reranker|--embeddings]), is never read. It behaves the same as no flag.wigolo warmup --help/-hdoesn't print help.parseCommand()only recognises help aliases in the first position, sorunWarmup(["--help"])runs and starts the Chromium download. In my test,warmup --browsertook about 132 s on a normal connection.
Expected: each flag selects its component(s), unknown flags are rejected, and warmup --help prints usage.
2. No supported way to turn off lazy browser or embeddings installs
- The browser:
BrowserAcquirer.ensureBrowser()(src/fetch/browser-acquire.ts) starts a backgroundrunWarmup(["--browser"])the first time any request escalates to the browser tier.WIGOLO_BROWSER_INSTALL_WAIT_MS/_RETRY_MSonly change the timing. A plainsearchis enough to trigger it, because result-page enrichment escalates on a 403. From a fresh data dir, the first search logged:
The only way I found to stop it was to point"msg":"anti-bot challenge: escalating to browser (tls tier disabled)" … "httpStatus":403 "msg":"installing browser engine (first use, ~100-150MB)…" [wigolo warmup] Installing browser engine (chromium)... "msg":"loading embedding model (first use — downloads ~30MB if not cached)"PLAYWRIGHT_DOWNLOAD_HOSTat an unreachable address. It then retried with errors on later escalations. - Embeddings load (and download) on first use from search and cache paths. There's no switch to run without the semantic index.
Request: an explicit setting such as WIGOLO_AUTO_INSTALL=0 (or WIGOLO_BROWSER=off and WIGOLO_EMBEDDINGS=off). When it's set, wigolo would never download on demand and would return the existing browser_engine_unavailable error or a lexical-only result instead.
3. init --no-warmup and doctor run npx playwright --version
checkPlaywright() in src/cli/doctor.ts runs spawnSync("npx", ["playwright", "--version"]). runDoctorColdChecks() calls it, and init runs those checks as well, so this happens even with init --no-warmup ("Skip ALL component downloads"). With wigolo installed globally or as the single-file binary, there's no playwright bin on PATH, so npx downloads the latest playwright from the registry into the npm cache. After init --no-warmup + doctor on a clean home directory:
<home>/.npm/_npx/<hash>/node_modules/playwright version 1.64.1
wigolo 0.3.1 depends on playwright 1.60.0. doctor then reports Installation: installed (v1.64.1), which is the npx copy, not the version wigolo actually uses.
Expected: read the version from the bundled package (playwright/package.json via createRequire) without touching the network. #653 suggested the same thing. That fix raised the timeout, but the npx call is still there.
4. Size estimates in messages are well below actual disk use
| Message | Measured on disk after install (macOS arm64) |
|---|---|
| "installing browser engine (first use, ~100-150MB)" | ms-playwright/ = 534 MB (chromium-1223 341 MB + chromium_headless_shell-1223 190 MB + ffmpeg 2.5 MB) |
| "downloads ~30MB if not cached" (embeddings) | <data-dir>/fastembed/ = 64 MB |
The download size may be smaller than the unpacked size, but users budget for disk use, so the on-disk figure (or both) would be more useful.
Command / tool call
wigolo warmup --embeddings, wigolo warmup --help, wigolo init --no-warmup --non-interactive, wigolo doctor, first POST /v1/search
wigolo version
0.3.1
OS + Node version
macOS 26.5.2 (arm64) · single-file binary wigolo-macos-arm64 and the npm package on Node 24.15.0
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 445
- Avg merge
- 20h 41m
- Merged PRs (30d)
- 85
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from KnockOutEZ/wigolo
-
area:fetch bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
KnockOutEZ/wigolo#853 ·
Maintainers usually reply within 1 day
-
area:search bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
KnockOutEZ/wigolo#852 ·
Maintainers usually reply within 1 day
-
Spike: read and search through the installed Chrome on the Linux and Windows CI runnersPossibly taken @KnockOutEZ claimed this 1 day ago. Openarea:fetch maintainers roadmap spike
Difficulty 2/5 Half a day Newbie friendliness 67/100
KnockOutEZ/wigolo#815 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
`doctor` must exit non-zero when a check failsPossibly taken @fcasibu claimed this 3 days ago. Openarea:dx good first issue help wanted roadmap
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
KnockOutEZ/wigolo#751 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
area:fetch maintainers roadmap
Difficulty 4/5 3-5 days Newbie friendliness 48/100
KnockOutEZ/wigolo#860 · 1 comment ·
Maintainers usually reply within 1 day
All issues in KnockOutEZ/wigolo
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
ardia-browser/ardia#6391 ·
Maintainers usually reply within 1 day
-
Feature:Actions/ConnectorTypes Team:ResponseOps
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
elastic/kibana#309028 · 1 comment ·
Maintainers usually reply within 1 day
-
🔨 tool 🧰 library
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Orange-OpenSource/Orange-Boosted-Bootstrap#4035 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
DISIC/teleservice-conformite#230 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
rothgar/rabble.radio#410 ·
Maintainers usually reply within 1 day