refactor(providers): unavailableFact for WebDriver and limrun, drop unused AWS options

Merged
TH
2mo ago
+298-437

Summary

Stacked on #3302. The WebDriver and limrun provider runtimes adopt unavailableFact for their refused operations, and two restated surfaces in provider-webdriver go away:

  • the inactive-session facts are built from createFullyUnavailablePlatformRuntimeFacts(inactiveSession) plus the one fold override instead of thirty hand-listed cells;
  • AwsDeviceFarmWebDriverRuntimeOptions loses eight fields no caller supplies (clientVersion, region, webdriverCapabilities, configuration, deviceId, requestPolicy, prepareSession, and the lease-resolved sessionName), along with the LeaseValue helper that only served them. The type is not exported from the package.

4 files, net āˆ’126 lines. No fact value or session capability changes.

Validation

Tested at 87e7be817: pnpm check:affected --run passed (format, lint, typecheck, related tests including platform-runtime.test.ts, aws-device-farm.test.ts, interaction-operations.test.ts). No device run applies.

šŸ¤– Generated with Claude Code