Skip to content

feat: add Roku WebDriver provider#1159

Draft
thymikee wants to merge 1 commit into
mainfrom
agent/roku-webdriver
Draft

feat: add Roku WebDriver provider#1159
thymikee wants to merge 1 commit into
mainfrom
agent/roku-webdriver

Conversation

@thymikee

@thymikee thymikee commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

Add a Roku WebDriver provider for LAN Roku devices.

  • Adds connect roku profile support with --roku-webdriver-url and --roku-device-ip, plus web-instance lease backend plumbing.
  • Implements Roku WebDriver session allocation, launch, source snapshots, ECP TV remote input, close/release cleanup, and conservative web-TV capability gating.
  • Covers CLI/profile parsing, capability gating, and a provider-scenario daemon flow using a fake Roku WebDriver/ECP server.

Validation

  • pnpm format
  • pnpm exec vitest run src/cli/parser/__tests__ src/utils/__tests__/command-schema-guards.test.ts src/__tests__/cloud-connect-profile.test.ts src/__tests__/remote-connection.test.ts src/core/__tests__/capabilities.test.ts src/core/__tests__/capability-plugin-routing-parity.test.ts test/integration/provider-scenarios/roku-webdriver-runtime.test.ts
  • pnpm typecheck
  • pnpm build
  • pnpm test:smoke
  • pnpm check:unit unit projects passed once; a rerun hit an unrelated Apple runner slow-test timeout under host load, and the timed-out tests passed in isolation with pnpm exec vitest run src/platforms/apple/core/__tests__/runner-client.test.ts src/platforms/apple/core/__tests__/index.test.ts --testNamePattern "ensureXctestrun rebuilds after cached macOS runner repair failure|screenshotIos retries simulator capture timeouts and eventually succeeds"

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

Size Report

Metric Base Current Diff
JS raw 1.6 MB 1.6 MB +9.5 kB
JS gzip 508.2 kB 510.2 kB +2.0 kB
npm tarball 610.6 kB 612.7 kB +2.1 kB
npm unpacked 2.2 MB 2.2 MB +9.6 kB

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 28.5 ms 28.2 ms -0.3 ms
CLI --help 57.2 ms 55.1 ms -2.0 ms

Top changed chunks:

Chunk Raw diff Gzip diff
dist/src/logcat.js +16.3 kB +5.8 kB
dist/src/internal/daemon.js +8.4 kB +1.7 kB
dist/src/cli-help.js +667 B +197 B
dist/src/cli.js +730 B +183 B
dist/src/registry.js +487 B +173 B

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