Files
oh-my-pi/packages/coding-agent/test/tools
roboomp 9978404c63 test(coding-agent): guarded compiled header fallback regression
Restored the regression test for browser-headers.ts lazy header-generator
init. The guard (lazy getHeaderGenerator + static Chrome fallback when
data_files are absent) landed in #5178 but its test was deleted as
redundant, leaving the fix undefended.

Without the guard a compiled single-file binary resolves header-generator
data_files to the build-machine node_modules path, which is absent at
runtime, so the module throws ENOENT at import time. This poisons the Bing
web_search provider import (undefined is not a constructor) and the plugin
extension loader (extension validation / omp plugin install).

The restored subprocess probe hides header-generator/data_files and asserts
the module imports cleanly and returns the fallback profile; verified it
fails against the pre-guard source.

Fixes #5256
2026-07-14 17:34:16 +00:00
..
2026-07-07 15:09:58 -04:00
2026-06-21 08:02:10 +00:00