You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor(webdriver): build the WebDriver runtime inside each provider plugin - #4977
AWS Device Farm, BrowserStack, and TestMu build their bundled WebDriver runtime in provider setup. Revyl continues to bundle the WebDriver Android snapshot parser it uses. Plugin contract v3 now returns a runtime directly and exposes a request-scoped diagnostics emitter. This removes the host adapter and agent-device/plugins/webdriver export.
Measured with npm pack --dry-run --json --ignore-scripts after preparing release assets. Base is merge-base bdf5096f77. The core module map retains XML and capture-kit. No other workspace owner or external dependency dropped out.
Validation
Built the root and four provider tsdown configs into temporary directories. A Rolldown generateBundle hook inspected each JavaScript chunk's rendered modules. The provider tarballs contain byte-identical WebDriver chunks, and all four isolated installation smokes passed.
The packed BrowserStack lease probe recorded one webdriver_route_unsupported event in core's request scope at base and head. The provider integration suite covers the request log.
Head b72e8a6909069077570c54c4d79f1e6ebcc21d9d. Foreground pnpm check:affected --run --base origin/0.22 --head HEAD passed with exactCommit: true, including 22,212 unit tests and 319 provider scenarios. Hosted checks and independent review are pending.
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
This PR is ready at b05c8c0. CI is green: 23 checks, none failing, including the provider-scenario, package-smoke and installed-package jobs that exercise the changed setup route. Not verified here: the module-map or bundle-owner build, the packed-tarball BrowserStack probe, and a live cloud-provider run; the "core renders 0 WebDriver modules" claim and the installed-plugin diagnostics route rest on import greps and code reading, which the fake-server scenarios and isolated install smokes in CI cover for this refactor. Not blocking, and fine to take or leave: the AWS, BrowserStack and TestMu setups repeat the same createCloudWebDriverRuntime wrapper and the same clientVersion/diagnostics wiring, so one shared setup helper exported from the provider-webdriver plugin entry could own it; diagnostics is optional on CloudWebDriverRuntimeOptions, so a provider that omits it would silently drop the route events; the plugins doc line about bundling the engine could say that a third-party plugin brings its own WebDriver client and that the 0.21 { webDriver } descriptor and agent-device/plugins/webdriver are removed in contract v3; and ProviderAgentDevicePlugin is now a pure alias that could be dropped, along with the redundant clientVersion destructure in BrowserStack and TestMu.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ready-for-humanValid work that needs human implementation, judgment, or maintainer merge
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AWS Device Farm, BrowserStack, and TestMu build their bundled WebDriver runtime in provider setup. Revyl continues to bundle the WebDriver Android snapshot parser it uses. Plugin contract v3 now returns a runtime directly and exposes a request-scoped diagnostics emitter. This removes the host adapter and
agent-device/plugins/webdriverexport.Closes #4974
Value
Measured with
npm pack --dry-run --json --ignore-scriptsafter preparing release assets. Base is merge-basebdf5096f77. The core module map retains XML and capture-kit. No other workspace owner or external dependency dropped out.Validation
Built the root and four provider tsdown configs into temporary directories. A Rolldown
generateBundlehook inspected each JavaScript chunk's rendered modules. The provider tarballs contain byte-identical WebDriver chunks, and all four isolated installation smokes passed.The packed BrowserStack lease probe recorded one
webdriver_route_unsupportedevent in core's request scope at base and head. The provider integration suite covers the request log.Head
b72e8a6909069077570c54c4d79f1e6ebcc21d9d. Foregroundpnpm check:affected --run --base origin/0.22 --head HEADpassed withexactCommit: true, including 22,212 unit tests and 319 provider scenarios. Hosted checks and independent review are pending.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.