fix(test): support Bun canary on macOS 2 months ago
Authored
mweinbach 7/14/2026, 3:12:07 PM Route project and CI tests through a platform-aware wrapper that keeps Windows and Linux on direct Bun test while isolating each macOS test file. Pin the rolling canary channel, canonicalize macOS paths, harden native helper and home-directory test boundaries, and preserve retry coverage against the supported composer API. Parent5eaa792
33 files changed
.bun-version +1 −1 .github/workflows/ci.yml +7 −7 .github/workflows/cowork-server-release.yml +1 −1 .github/workflows/desktop-release.yml +2 −2 AGENTS.md +11 −5 CONTRIBUTING.md +4 −4 README.md +1 −1 apps/desktop/electron/services/ipcSecurity.ts +4 −7 apps/desktop/electron/services/persistence.ts +4 −3
apps/desktop/electron/services/serverManager.ts +1 −0
apps/desktop/test/composer-draft-thread-switch.test.ts +27 −76
apps/desktop/test/ipc-files.test.ts +8 −2
apps/desktop/test/persistence-state-sanitization.test.ts +7 −2
package.json +1 −1
scripts/run_tests.ts +92 −0
test/bun-test-bootstrap.ts +6 −0
test/canvasDocumentPersistence.test.ts +2 −1
test/ci.workflow.test.ts +11 −8
test/cowork-server-release.workflow.test.ts +1 −1
test/desktop-release.workflow.test.ts +1 −1
test/fileLock.test.ts +2 −1
test/fixtures/mobile-composer-components.tsx +14 −5
test/fixtures/mobile-header-glass-button.tsx +16 −6
test/fixtures/mobile-platform-contract.tsx +22 −12
test/jsonrpc.workspace-route.test.ts +3 −2
test/mobile.composer-components.test.ts +3 −2
test/mobile.header-glass-button.test.ts +3 −2
test/mobile.native-tabs-navigation.test.ts +3 −2
test/run-tests.test.ts +72 −0
test/server.jsonrpc.test.ts +8 −5
test/tools/tools.write.test.ts +4 −2
test/webDesktopRoutes.test.ts +13 −7
test/workspaceFileChangeMonitor.test.ts +3 −1