Repository navigation
fix(testing): stop the threads preview importing the removed Boat notice - #81
Merged
Merged
Conversation
scripts/testing/threads-preview.tsx imported BOAT_OFFER_NOTICE, which src/lib/notices.ts no longer exports since the fork removed Boat's offer (#3, 49a6b94). The import came in with upstream 9432243 and merged without a conflict in #26 (915596c). The browser refuses the module, the preview's #root stays empty, and every renderer smoke test that opens /__threads.html fails to find its first element. Drop the import and the line that marked the notice as seen, as upstream did in 32a7890. scripts/ is outside every tsconfig, so typecheck could not catch the missing export.
This was referenced Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
scripts/testing/threads-preview.tsxno longer importsBOAT_OFFER_NOTICE, and no longer has the line that marked that notice as seen (?boatOffer). Two lines, test preview only; no product code changes.Why
The
renderer smoke (control-omb ui, Ubuntu 24.04)job has never passed onmain. Of the 64 completedmainCI runs (47 pushes and 17 nightly runs, 2026-11-14 to 2026-12-01), it failed in 35, was skipped in 27 (2026-11-22 14:04Z to 2026-11-28 03:20Z) and was not part of 2. The latest run, 46698074578, fails 10 of its 12 files with errors such asno element is named "Message Pepper"andthe room's sidebar row did not happen within 30000ms. The first run, 43559151244 (915596c, 2026-11-14), failed 12 of 13; one of those,browser-evidence, failed on a different assertion (expected +0 to be 1).All 10 have one cause.
src/lib/notices.tsno longer exportsBOAT_OFFER_NOTICE, so the browser refuses the preview module and/__threads.htmlrenders nothing:scripts/is outside every tsconfig, sotypecheck + buildpassed. Only the smoke that loads the page saw it.MODELGO_OFFER_NOTICE, which upstream's does not have.In run 46698074578, the two passing files (
browser-evidence,browser-fill) do not open the renderer.How it was verified
Branch from
main5ac2194, macOS, Node v26 withNODE_OPTIONS=--no-experimental-webstorage(CI uses Node 24). The isolated fixture isnode --experimental-strip-types scripts/control-omb.ts ui launch; the probes arescripts/control-omb.ts ui eval|snapshot|screenshotagainst it.Before shows an empty page and a module SyntaxError; after shows Pepper's chat with its message box, and the renderer smoke files pass.
main5ac2194)#rootchild elements on/__threads.htmlimport('/scripts/testing/threads-preview.tsx')in the pageSyntaxError: … does not provide an export named 'BOAT_OFFER_NOTICE'loadedtextbox "Message Pepper"in the snapshotOMB_UI_E2E=1 pnpm exec vitest run scripts/testing/control-omb-ui.e2e.test.tsno element is named "Message Pepper","You","Claude Sonnet 5", the same as CIui-smokestep, same command line as.github/workflows/ci.ymlTest Files 12 passed (12),Tests 20 passed (20), 214 soxlint scripts/testing/threads-preview.tsxexits 0.pnpm typecheckdoes not coverscripts/, so it says nothing about this file.This PR's CI
Run 46788880591, read at 2026-12-02 10:50 KST:
renderer smoke (control-omb ui, Ubuntu 24.04)passes on Ubuntu:Test Files 12 passed (12),Tests 20 passed (20).package + smoke:DEB desktop entry is missing "Name=OpenMyBot". The nightlymainrun 46621767146 and feat(guardrails): add a log mode that records matching calls without blocking them #80's run 46711138086 fail with the same error.relay typecheck + tests + fuzz + audit:pnpm auditreports GHSA-37g9-w4hg-h9qr (ws>=8.0.0 <8.23.0) againstws8.22.0 inrelay/pnpm-lock.yaml, which has not changed since 2026-11-11. This PR does not touchrelay/.mainpushes skip this job; the nightly run 46621767146 passed the audit and failed later inpnpm test.behavior evals: the judge prompt checksum (open-ended-v1.md), failing onmaintoo.CloudAccountSettings,BotThreads,App.cloud-add-web,BotApiCard.dom,touch-actions,color-utilities,evals/live/live-suite), all already failing onmain. Shards 1 and 4–8 were still running.Screenshots
Before (
main):/__threads.htmlis blank.After: Pepper's chat with
Message Pepper.Not covered
control-omb ui launchwith no--entry, which defaults to it (scripts/testing/control-omb-ui.ts:437), and 5 mount it by path (automations-journey,cline-ui,team-conversation-share,team-private-default,team-side-switch).verify-threads.ts,verify-routines.tsandverify-automation-reports.tsload it too. None of them could have passed while the module failed to load (inferred, not run onmain). The 5 that mount it by path were run locally with this fix: 15 of their 21 tests pass and 6 fail:cline-ui: the agent-browser session socket path is 118 bytes against a 103-byte limit, because this checkout's path is long. This is a local environment limit.automations-journey(3),team-conversation-share(1),team-private-default(1):Matcher did not succeed in time. Not investigated here.ui launchfiles and the verify scripts were not run.mainCI failures (vitest shards, behavior evals) have separate causes and are not touched.Checklist
pnpm typecheckandpnpm testpass locally: not run in full. The 12 renderer smoke files pass, and typecheck does not coverscripts/.dist-server/edits