You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b324131
Browse filesBrowse the repository at this point in the historyBrowse files
test(workspace): stop create-then-rebind flaking on stray lookups, and opening a browser
`bun test` runs every file in one process, so a background skill or memory
sync still in flight from an earlier file can land its binding lookup
(`GET /datamate-project-bindings/by-path`) in this file's fetch stub. The
endpoint-sequence filter kept it, and "unlinked project uses the atomic
create-and-bind" failed at random on CI — on `main` as well. Every request
these tests assert is a write, so lookups are now ignored. A new test replays
the stray lookup; removing the filter reproduces CI's exact failure.
A create also opens the new workspace's manage URL with `open`, which the
test never stubbed, so a local run opened `https://x.test/w/7` in the real
browser. It is now stubbed before the modules load (the same pattern as
`oauth-browser.test.ts`) and recorded, so the test still asserts the open.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments