-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[unified-server] Unified server tests break global CI run #4249
Comments
This causes a test failure which demonstrates the issue referenced in #4249
This issue can be seen in PR #4250, which is a minimal demonstration of the issue: https://github.com/breadboard-ai/breadboard/actions/runs/13019338901/job/36316172993?pr=4250 |
@aomarks has submitted a change to wireit to improve the error messaging in cases like this: |
With the improved error messaging, the failed run now looks like this: https://github.com/breadboard-ai/breadboard/actions/runs/13018501422/job/36313463374
|
For now, this issue has been worked around by removing the unified server test from the global test run. We should add it back once we root cause this issue and figure out how to address it. |
Doesn't directly address #4249, but should fix the failure from https://github.com/breadboard-ai/breadboard/actions/runs/13021227644/job/36322130934 ``` src/example-board-server.ts:25:30 - error TS2307: Cannot find module '@breadboard-ai/example-boards/playground-boards.json' or its corresponding type declarations. 25 import playgroundBoards from "@breadboard-ai/example-boards/playground-boards.json" assert { type: "json" }; ``` cc @timswanson-google
Should fix #4249 The `build:tests` and `build:esbuild` scripts in the `board-server` package were both writing to the same place (`dist/`), with each deleting the output of the other (in the case of `build:tests`, deleting the whole `dist/` folder). google/wireit#65 is a long-standing feature request for wireit that would let us detect cases like this automatically
A PR that added the board server build into the dependency graph of broke CI runs because it caused the global test target to fail.
Original PR - #4145
Rollback PR - #4152
The problem seems to relate to the
index.js
file generated as part of the board server build being clobbered, since the build step is getting rerun concurrently.The text was updated successfully, but these errors were encountered: