opencode/packages
Filip Hejmowski c543d18eb7 fix(storybook): pre-bundle component test dependencies at startup
main.ts removes storybook:optimize-deps-plugin and there are no HTML
files under the Vite root, so Vite's startup scan finds nothing and
discovers every dependency on first import. Each discovery re-runs the
optimizer and broadcasts a full reload to every page in both workers,
which aborts tests mid-import ("Execution context was destroyed",
"Failed to fetch dynamically imported module") and is why the app
component suite is flaky on every CI run.

optimizeDeps.entries now covers the stories, the *.worker.ts files (the
scan does not follow new Worker(new URL(...))) and the modules component
tests load by URL, read from the ./ and ../ literals in the specs so a
new spec needs no config change. Based on the approach in #55632.

On top of that, preview.tsx is an entry and the Storybook preview
runtime is included. Without them the preview's addons and the runtime
are still found late, and one reload remains whenever the first browser
request arrives after the startup optimize has finished, which is the
usual case because the webServer is ready once the manager page loads.

The webServer's stdout is now piped, so any "optimized dependencies
changed. reloading" line shows up in CI logs instead of being dropped.
2026-10-15 22:11:30 +02:00
..
ai fix(ai): accept null Responses function call namespace (#55631) 2026-10-15 02:13:14 -05:00
app test(app): run mobile-timeline-scroll in its own parallel project 2026-10-15 22:11:30 +02:00
cli fix(cli): default the Windows service to port 45278 (#55547) 2026-10-15 08:41:49 +10:00
client test: fix the suites CI never ran 2026-10-15 22:11:29 +02:00
codemode sync release versions for v2.0.29 [skip ci] 2026-10-14 09:03:25 +00:00
console fix(schema): publish config schema that accepts V1 and V2 shapes (#55524) 2026-10-14 18:09:31 -05:00
containers chore: enable noUnusedLocals in already-clean packages (#52849) 2026-10-02 15:23:50 -07:00
core fix(core): fit compaction output limit to the request actually sent (#55613) 2026-10-15 01:57:46 -05:00
desktop sync release versions for v2.0.29 [skip ci] 2026-10-14 09:03:25 +00:00
effect-drizzle-sqlite refactor(core): internalize effect sqlite adapter 2026-08-11 21:33:23 -04:00
enterprise sync release versions for v2.0.29 [skip ci] 2026-10-14 09:03:25 +00:00
function sync release versions for v2.0.29 [skip ci] 2026-10-14 09:03:25 +00:00
gui-extensions fix(app): stop video double clicks from also entering native fullscreen 2026-10-15 22:11:29 +02:00
http-recorder test: fix the suites CI never ran 2026-10-15 22:11:29 +02:00
httpapi-codegen sync release versions for v2.0.29 [skip ci] 2026-10-14 09:03:25 +00:00
identity
latex sync release versions for v2.0.29 [skip ci] 2026-10-14 09:03:25 +00:00
merman test: fix the suites CI never ran 2026-10-15 22:11:29 +02:00
plugin sync release versions for v2.0.29 [skip ci] 2026-10-14 09:03:25 +00:00
plugin-browser sync release versions for v2.0.29 [skip ci] 2026-10-14 09:03:25 +00:00
plugins sync release versions for v2.0.29 [skip ci] 2026-10-14 09:03:25 +00:00
posts chore: enable noUnusedLocals in already-clean packages (#52849) 2026-10-02 15:23:50 -07:00
protocol sync release versions for v2.0.29 [skip ci] 2026-10-14 09:03:25 +00:00
schema fix(schema): publish config schema that accepts V1 and V2 shapes (#55524) 2026-10-14 18:09:31 -05:00
script feat(tui): show release highlights after updating (#54969) 2026-10-12 23:20:11 +00:00
sdk test: fix the suites CI never ran 2026-10-15 22:11:29 +02:00
server fix(server): wait for plugins before answering a web search 2026-10-15 21:37:00 +02:00
session-ui feat(app): show voice delegations from the iOS app as Voice messages (#54426) 2026-10-15 13:23:12 +08:00
simulation sync release versions for v2.0.29 [skip ci] 2026-10-14 09:03:25 +00:00
stats docs(console): add DeepSeek V4.1 Flash Free (#55636) 2026-10-15 15:23:29 +08:00
storybook fix(storybook): pre-bundle component test dependencies at startup 2026-10-15 22:11:30 +02:00
theme sync release versions for v2.0.29 [skip ci] 2026-10-14 09:03:25 +00:00
tui test(tui): wait for filter focus and highlighting before matching frames 2026-10-15 20:25:32 +02:00
ui fix(ui): stop closed dialogs from blocking shortcuts 2026-10-15 20:25:31 +02:00
util test: fix the suites CI never ran 2026-10-15 22:11:29 +02:00
web fix(schema): publish config schema that accepts V1 and V2 shapes (#55524) 2026-10-14 18:09:31 -05:00