Skip to content

Narrow computer-use e2e trigger - #5685

Merged
Jinwoo-H merged 1 commit into
mainfrom
Jinwoo-H/narrow-computer-e2e-trigger
Jun 18, 2026
Merged

Jinwoo-H merged 1 commit into
mainfrom
Jinwoo-H/narrow-computer-e2e-trigger

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Jun 18, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • move computer-use runtime contracts into src/shared/computer-use-runtime-types.ts
  • re-export them from runtime-types.ts so existing imports keep working
  • stop triggering Computer-use e2e for every src/shared/runtime-types.ts change
  • add a workflow self-test guard so the broad path does not creep back in

Why

PR #5679 changed an unrelated runtime summary type in src/shared/runtime-types.ts and woke the Computer-use e2e workflow. The actual computer-use contract is now in a src/shared/computer-use-*.ts file, which is already covered by the workflow's targeted path glob.

Verification

  • pnpm exec vitest run --config config/vitest.config.ts config/scripts/computer-e2e-workflow.test.mjs src/shared/computer-use-error-recovery.test.ts src/main/runtime/rpc/errors.test.ts src/cli/format.test.ts src/cli/handlers/computer.test.ts
  • pnpm run typecheck:node
  • pnpm run typecheck:cli
  • pnpm exec oxlint config/scripts/computer-e2e-workflow.test.mjs src/shared/runtime-types.ts src/shared/computer-use-runtime-types.ts
  • git diff --check

Made with Orca 🐋


Open in Stage

@ghost

ghost commented Jun 18, 2026

Copy link
Copy Markdown

Ready to review this PR? Stage has broken it down into 2 individual chapters for you:

Title
1 Extract computer-use types to dedicated file
2 Refine computer-use E2E workflow triggers
Open in Stage

Chapters generated by Stage for commit 99de77e on Jun 18, 2026 6:26am UTC.

@Jinwoo-H
Jinwoo-H merged commit 3bd7b36 into main Jun 18, 2026
6 of 7 checks passed
@Jinwoo-H
Jinwoo-H deleted the Jinwoo-H/narrow-computer-e2e-trigger branch June 18, 2026 06:27
@coderabbitai

coderabbitai Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: cfc53018-f115-485f-b8ca-bb92f222e88b

📥 Commits

Reviewing files that changed from the base of the PR and between 06d674b and 99de77e.

📒 Files selected for processing (4)
  • .github/workflows/computer-e2e.yml
  • config/scripts/computer-e2e-workflow.test.mjs
  • src/shared/computer-use-runtime-types.ts
  • src/shared/runtime-types.ts

📝 Walkthrough

Walkthrough

The computer-use runtime type definitions previously inlined in src/shared/runtime-types.ts are extracted into a new dedicated file, src/shared/computer-use-runtime-types.ts. This new file contains error codes, app/window/snapshot data models, screenshot status discriminated unions, action metadata and verification types, provider capability shapes, and list-response shapes. src/shared/runtime-types.ts replaces those 187 lines with a single export * from './computer-use-runtime-types'. Separately, the computer-e2e.yml CI workflow removes src/shared/runtime-types.ts from its pull_request.paths trigger list, and the corresponding workflow test adds an assertion that the path is no longer present.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

carlosbaraza added a commit to carlosbaraza/orca that referenced this pull request Jun 18, 2026
* upstream/main: (220 commits)
  Show and Filter Automation-Created Workspaces (stablyai#5697)
  Fix premature project header truncation
  Send review notes to any running agent of a worktree (stablyai#5654)
  Fix workspace sidebar appearance setting (stablyai#5725)
  Highlight the open file in the Source Control sidebar (stablyai#5667)
  release: v1.4.80-rc.1
  Fix premature Codex completion notifications (stablyai#5682)
  Improve Codex startup prompt reliability (stablyai#5686)
  Keep hibernated agent completions visible (stablyai#5689)
  Move Prompt Cache Timer setting to Agents pane, simplify expired state (stablyai#5691)
  release: v1.4.80-rc.0
  Skip GitHub CLI preflight checks if no GitHub projects exist
  fix: restore font family keyboard navigation in settings
  Update README downloads badge
  fix(landing): make GitHub CLI setup nudge dismissible and provider-aware (stablyai#5688)
  Fix nested workspace card indentation (stablyai#5684)
  Fix flaky e2e tests (stablyai#5680)
  Replace plus icon with play button on quick command entry (stablyai#5674)
  Use managed Pi and OMP extensions (stablyai#5681)
  Narrow computer-use e2e trigger (stablyai#5685)
  ...

# Conflicts:
#	mobile/src/terminal/TerminalWebView.tsx
#	mobile/src/terminal/terminal-webview-text-zoom.test.ts
carlosbaraza added a commit to carlosbaraza/orca that referenced this pull request Jun 18, 2026
* upstream/main: (78 commits)
  Show and Filter Automation-Created Workspaces (stablyai#5697)
  Fix premature project header truncation
  Send review notes to any running agent of a worktree (stablyai#5654)
  Fix workspace sidebar appearance setting (stablyai#5725)
  Highlight the open file in the Source Control sidebar (stablyai#5667)
  release: v1.4.80-rc.1
  Fix premature Codex completion notifications (stablyai#5682)
  Improve Codex startup prompt reliability (stablyai#5686)
  Keep hibernated agent completions visible (stablyai#5689)
  Move Prompt Cache Timer setting to Agents pane, simplify expired state (stablyai#5691)
  release: v1.4.80-rc.0
  Skip GitHub CLI preflight checks if no GitHub projects exist
  fix: restore font family keyboard navigation in settings
  Update README downloads badge
  fix(landing): make GitHub CLI setup nudge dismissible and provider-aware (stablyai#5688)
  Fix nested workspace card indentation (stablyai#5684)
  Fix flaky e2e tests (stablyai#5680)
  Replace plus icon with play button on quick command entry (stablyai#5674)
  Use managed Pi and OMP extensions (stablyai#5681)
  Narrow computer-use e2e trigger (stablyai#5685)
  ...

# Conflicts:
#	mobile/app/h/[hostId]/session/[worktreeId].tsx
#	mobile/src/terminal/TerminalWebView.tsx
#	mobile/src/terminal/terminal-webview-html.ts
carlosbaraza added a commit to carlosbaraza/orca that referenced this pull request Jun 18, 2026
* upstream/main: (220 commits)
  Show and Filter Automation-Created Workspaces (stablyai#5697)
  Fix premature project header truncation
  Send review notes to any running agent of a worktree (stablyai#5654)
  Fix workspace sidebar appearance setting (stablyai#5725)
  Highlight the open file in the Source Control sidebar (stablyai#5667)
  release: v1.4.80-rc.1
  Fix premature Codex completion notifications (stablyai#5682)
  Improve Codex startup prompt reliability (stablyai#5686)
  Keep hibernated agent completions visible (stablyai#5689)
  Move Prompt Cache Timer setting to Agents pane, simplify expired state (stablyai#5691)
  release: v1.4.80-rc.0
  Skip GitHub CLI preflight checks if no GitHub projects exist
  fix: restore font family keyboard navigation in settings
  Update README downloads badge
  fix(landing): make GitHub CLI setup nudge dismissible and provider-aware (stablyai#5688)
  Fix nested workspace card indentation (stablyai#5684)
  Fix flaky e2e tests (stablyai#5680)
  Replace plus icon with play button on quick command entry (stablyai#5674)
  Use managed Pi and OMP extensions (stablyai#5681)
  Narrow computer-use e2e trigger (stablyai#5685)
  ...

# Conflicts:
#	src/renderer/src/i18n/locales/en.json
#	src/renderer/src/i18n/locales/es.json
#	src/renderer/src/i18n/locales/ja.json
#	src/renderer/src/i18n/locales/ko.json
#	src/renderer/src/i18n/locales/zh.json
carlosbaraza added a commit to carlosbaraza/orca that referenced this pull request Jun 18, 2026
* upstream/main: (341 commits)
  Show and Filter Automation-Created Workspaces (stablyai#5697)
  Fix premature project header truncation
  Send review notes to any running agent of a worktree (stablyai#5654)
  Fix workspace sidebar appearance setting (stablyai#5725)
  Highlight the open file in the Source Control sidebar (stablyai#5667)
  release: v1.4.80-rc.1
  Fix premature Codex completion notifications (stablyai#5682)
  Improve Codex startup prompt reliability (stablyai#5686)
  Keep hibernated agent completions visible (stablyai#5689)
  Move Prompt Cache Timer setting to Agents pane, simplify expired state (stablyai#5691)
  release: v1.4.80-rc.0
  Skip GitHub CLI preflight checks if no GitHub projects exist
  fix: restore font family keyboard navigation in settings
  Update README downloads badge
  fix(landing): make GitHub CLI setup nudge dismissible and provider-aware (stablyai#5688)
  Fix nested workspace card indentation (stablyai#5684)
  Fix flaky e2e tests (stablyai#5680)
  Replace plus icon with play button on quick command entry (stablyai#5674)
  Use managed Pi and OMP extensions (stablyai#5681)
  Narrow computer-use e2e trigger (stablyai#5685)
  ...

# Conflicts:
#	src/main/text-generation/commit-message-text-generation.test.ts
#	src/main/text-generation/commit-message-text-generation.ts
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant