mirror of
https://github.com/stablyai/orca.git
synced 2026-10-06 00:02:43 +00:00
# Conflicts: # config/reliability-gates.jsonc # mobile/app/h/[hostId]/index.tsx # mobile/app/h/[hostId]/session/[worktreeId].tsx # mobile/app/h/[hostId]/tasks.tsx # mobile/app/index.tsx # mobile/package.json # mobile/pnpm-lock.yaml # mobile/src/browser/MobileBrowserPane.tsx # mobile/src/components/NewWorktreeModal.test.tsx # mobile/src/components/NewWorktreeModal.tsx # mobile/src/components/pr-sidebar/PRChecksSection.tsx # mobile/src/components/pr-sidebar/PRConflictingFilesSection.tsx # mobile/src/components/pr-sidebar/PRSidebarHeader.tsx # mobile/src/files/mobile-file-preview-source.test.ts # mobile/src/session/QuickCommandsSheet.test.ts # mobile/src/session/QuickCommandsSheet.tsx # mobile/src/session/mobile-file-tap-open.ts # mobile/src/session/mobile-session-route-types.ts # mobile/src/session/mobile-terminal-tab-agent.ts # mobile/src/session/use-mobile-diff-review-comment-actions.ts # mobile/src/session/use-mobile-diff-review-controller.ts # mobile/src/session/use-mobile-diff-review-send-actions.ts # mobile/src/session/use-mobile-native-chat-controller.ts # mobile/src/session/use-mobile-native-chat-drafts.test.ts # mobile/src/session/use-mobile-native-chat-drafts.ts # mobile/src/session/use-mobile-native-chat-message-send.ts # mobile/src/session/use-mobile-session-tabs-reconciliation.ts # mobile/src/session/use-quick-commands.ts # mobile/src/tasks/smart-source-paste-intent.ts # mobile/src/terminal/terminal-path-tap.ts # mobile/src/transport/host-removal-lifecycle.ts # mobile/src/transport/rpc-client.ts # package.json # src/main/browser/agent-browser-bridge.test.ts # src/main/browser/browser-screencast-stream.ts # src/main/daemon/headless-emulator.ts # src/main/native-chat/transcript-file-version.ts # src/main/native-chat/transcript-incremental-reader.ts # src/main/native-chat/transcript-tail-reader.ts # src/main/native-chat/transcript-watch-engine.ts # src/main/providers/filesystem-provider-contract.ts # src/main/providers/ssh-filesystem-provider.ts # src/main/providers/types.ts # src/main/runtime/orca-runtime-files.test.ts # src/main/runtime/orca-runtime-files.ts # src/main/runtime/orca-runtime.ts # src/main/runtime/rpc/methods/files.ts # src/main/runtime/rpc/terminal-multiplex.test.ts # src/relay/fs-handler.ts # src/renderer/src/components/ui/dialog.tsx # src/shared/terminal-quick-commands.ts
22 lines
760 B
JavaScript
22 lines
760 B
JavaScript
import { readFileSync } from 'node:fs'
|
|
|
|
import { parse } from 'yaml'
|
|
import { describe, expect, it } from 'vitest'
|
|
|
|
const prWorkflow = parse(readFileSync('.github/workflows/pr.yml', 'utf8'))
|
|
const mobileWorkflow = parse(readFileSync('.github/workflows/mobile.yml', 'utf8'))
|
|
|
|
describe('mobile web CI workflow contract', () => {
|
|
it('typechecks the standalone client in PR CI', () => {
|
|
const commands = prWorkflow.jobs.typecheck.steps.flatMap((step) => step.run ?? [])
|
|
|
|
expect(commands).toContain('pnpm run typecheck:mobile-web')
|
|
})
|
|
|
|
it('runs mobile checks for client and bridge changes', () => {
|
|
expect(mobileWorkflow.on.pull_request.paths).toEqual(
|
|
expect.arrayContaining(['src/mobile-web/**', 'src/shared/mobile-web/**'])
|
|
)
|
|
})
|
|
})
|