Skip to content

fix: Multi-Device Test Orchestration (v1)#90

Closed
droid-ash wants to merge 2 commits intomainfrom
260415-1mzp-multi-device-orchestration
Closed

fix: Multi-Device Test Orchestration (v1)#90
droid-ash wants to merge 2 commits intomainfrom
260415-1mzp-multi-device-orchestration

Conversation

@droid-ash
Copy link
Copy Markdown
Contributor

Summary

FinalRun currently supports only single-device AI-driven mobile tests, so modern multi-actor flows (chat send/receive, parallel login, shared docs) can't be validated end-to-end — cross-device causality is lost when split into two single-device runs. This change adds feature-gated multi-device orchestration (v1: exactly 2 Android devices, auto-assigned, fail-fast) with active-device-scoped capture so the planner reasons about ${devices.alice} and ${devices.bob} actions in a unified timeline. Single-device paths (Android and iOS) remain byte-identical — all changes are additive and gated on manifest.multiDevice / multi-device/ path prefix.

Changes

  • Scope (hard-validated at loader time)
  • New workspace shape
  • New CLI routing
  • Active-device-scoped orchestrator loop
  • Sibling planner types and prompt
  • Non-breaking RecordingManager fix
  • Per-device artifacts
  • Sandwich UI (report-web)
  • Per-device video sync math
  • Fail-fast semantics
  • Phased delivery

Change

ID Name Issue
1mzp 260415-1mzp-multi-device-orchestration

Stats

Type Confidence Checklist Tasks Review
fix 4.1 / 5.0 45/45 ✓ 29/30 Pass (1 iterations)

intakespec → tasks → apply → review → hydrate

- Loader, compiler, session runner for .finalrun/multi-device/ workspace
- AIAgent.planMulti() sibling + MultiDeviceOrchestrator with active-device scoping
- Non-breaking RecordingManager.getMapKey 3rd-arg optional
- Sandwich UI in report-web (alice/bob chat bubble columns + shared scrubber)
- v3 RunManifest with optional multiDevice field
- Single-device paths byte-identical
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 15, 2026

Warning

Rate limit exceeded

@droid-ash has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 57 minutes and 47 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 57 minutes and 47 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 947542b8-0650-4a77-ad48-1fd43be3df89

📥 Commits

Reviewing files that changed from the base of the PR and between 0e0b55a and e2606c7.

📒 Files selected for processing (46)
  • docs/memory/cli/index.md
  • docs/memory/cli/multi-device-orchestration.md
  • docs/memory/cli/multi-device-workspace.md
  • docs/memory/common/index.md
  • docs/memory/common/multi-device-models.md
  • docs/memory/device-node/index.md
  • docs/memory/device-node/recording-manager.md
  • docs/memory/goal-executor/index.md
  • docs/memory/goal-executor/multi-device-planner.md
  • docs/memory/index.md
  • docs/memory/report-web/renderers.md
  • fab/changes/260415-1mzp-multi-device-orchestration/.history.jsonl
  • fab/changes/260415-1mzp-multi-device-orchestration/.status.yaml
  • fab/changes/260415-1mzp-multi-device-orchestration/checklist.md
  • fab/changes/260415-1mzp-multi-device-orchestration/intake.md
  • fab/changes/260415-1mzp-multi-device-orchestration/spec.md
  • fab/changes/260415-1mzp-multi-device-orchestration/tasks.md
  • packages/cli/src/checkRunner.ts
  • packages/cli/src/multiDeviceSessionRunner.ts
  • packages/cli/src/multiDeviceTestCompiler.test.ts
  • packages/cli/src/multiDeviceTestCompiler.ts
  • packages/cli/src/multiDeviceTestLoader.test.ts
  • packages/cli/src/multiDeviceTestLoader.ts
  • packages/cli/src/multiDeviceTestRunner.ts
  • packages/cli/src/reportServerManager.test.ts
  • packages/cli/src/testRunner.ts
  • packages/cli/src/testSelection.ts
  • packages/cli/src/workspace.ts
  • packages/common/src/constants.ts
  • packages/common/src/index.ts
  • packages/common/src/models/MultiDeviceConfig.ts
  • packages/common/src/models/RunManifest.ts
  • packages/common/src/models/TestResult.ts
  • packages/device-node/src/device/Device.ts
  • packages/device-node/src/device/RecordingManager.test.ts
  • packages/device-node/src/device/RecordingManager.ts
  • packages/goal-executor/src/ActionExecutor.test.ts
  • packages/goal-executor/src/MultiDeviceOrchestrator.ts
  • packages/goal-executor/src/ai/AIAgent.ts
  • packages/goal-executor/src/ai/VisualGrounder.ts
  • packages/goal-executor/src/ai/multiDevicePlanner.test.ts
  • packages/goal-executor/src/index.ts
  • packages/goal-executor/src/prompts/multi-device-planner.md
  • packages/goal-executor/src/prompts/visual-grounder.md
  • packages/report-web/src/artifacts.ts
  • packages/report-web/src/renderers.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 260415-1mzp-multi-device-orchestration

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.

@droid-ash
Copy link
Copy Markdown
Contributor Author

Closing — feature scrapped per request.

@droid-ash droid-ash closed this Apr 15, 2026
@droid-ash droid-ash deleted the 260415-1mzp-multi-device-orchestration branch April 15, 2026 20:42
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