refactor(providers): unavailableFact for WebDriver and limrun, drop unused AWS options
Merged
TH
2mo ago+298+298+012345678901234567890123456789-437-437-012345678901234567890123456789
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 onefoldoverride instead of thirty hand-listed cells; AwsDeviceFarmWebDriverRuntimeOptionsloses eight fields no caller supplies (clientVersion,region,webdriverCapabilities,configuration,deviceId,requestPolicy,prepareSession, and the lease-resolvedsessionName), along with theLeaseValuehelper 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