refactor(provider-webdriver): ship AWS Device Farm as the `@agent-device/aws-device-farm` plugin
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 54/100
- Tipo di issue
- Refactoring
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- aws, node.js, typescript
Direzione di ricerca
Start with the existing AWS Device Farm provider and connection files in packages/provider-webdriver, plus the TestMu plugin package as the packaging template; this work is blocked on #3312 and the BrowserStack extraction. Move the named AWS files and tests into packages/provider-aws-device-farm, expose the host command runner through the plugin SDK, and update core, help, docs, and README as specified. Run the named provider-scenario tests and pnpm check:affected --run; completion also requires the plugin checker and live-session verification or a documented blocker.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Purpose and evidence
0.22 stops bundling hosted device providers with the default installation. AWS Device Farm already presents the plugin factory shape inside core (packages/provider-webdriver/src/aws-device-farm-provider.ts plus aws-device-farm-connection.ts, PR #3312). The one capability it needs that ProviderPluginHost does not expose is a host-command runner: the provider drives aws devicefarm ... through runHostCommand, which core currently supplies in src/provider-webdriver.ts.
Required behavior and boundary
- Extend the experimental plugin SDK:
ProviderPluginHostgainsrunHostCommand(command, args): Promise<{ stdout }>backed byrunCmdwith the bounds core uses today (10 MiB buffer, 30 s). Keep the SDK declaration small; the packed declaration-size guard from #3121 stays green. - New workspace package
packages/provider-aws-device-farmpublishing@agent-device/aws-device-farm, built and released like TestMu. The default export returns{ webDriver, connection }; the manifest declaresprovider: "aws-device-farm"and theconnectioncapabilities fromCLOUD_WEBDRIVER_PROVIDER_DECLARATIONS(nocredentialVariables: the AWS CLI credential chain has no environment fingerprint, and the fingerprint tests pin that). - Move
aws-device-farm.ts,aws-device-farm-artifacts.ts,aws-device-farm-provider.ts,aws-device-farm-connection.ts,aws-device-farm-connection-verification.tsand their tests out ofprovider-webdriver. Therequires --aws-project-arn <arn> or AWS_DEVICE_FARM_PROJECT_ARNmessages and the flag-then-AGENT_DEVICE_*-then-AWS_*selector order stay as they are. - Core drops
aws-device-farmfromBUNDLED_CLOUD_WEBDRIVER_PROVIDERSandRESERVED_PLUGIN_PROVIDERS;connectionProviderCapabilitiesand therequiresAppAttachmentreconnect hint inconnection-presentation.tskeep working from the manifest. - Help,
website/docs/docs/aws-device-farm.md,device-clouds.md,plugins.md, and the README move the provider to the plugin install flow.
agent-device plugins add @agent-device/aws-device-farm
agent-device connect aws-device-farm --platform android --aws-project-arn <arn> --aws-device-arn <arn> --aws-app-arn <arn>
Completion and validation
node scripts/check-provider-plugin.mjs packages/provider-aws-device-farmpasses with a fixtureawsonPATH.- The AWS provider-scenario tests (
cloud-webdriver-provider-adapters,cloud-webdriver-provider-regressions,stale-provider-runtime-admission) build the runtime from the plugin factory with the fake host command. pnpm check:affected --runpasses; Size report shows the default install shrinking.- One live Device Farm remote-access session with the packed plugin, recorded in the PR, or the exact blocker named.
Dependencies and readiness
Blocked by: #3312 landing on main; do the BrowserStack extraction first so the packaging template is proven twice before the SDK change here.
Effort: M. Risk: medium (SDK surface grows by one method; AWS live verification needs an account).
- Lingua principale
- TypeScript
- Stelle
- 4.9k
- Fork
- 328
- Merge medio
- 11h 51m
- PR unite (30g)
- 535
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di callstack/agent-device
-
settings clear-app-state fails with ENOENT … scandir '(null)' for iOS system apps such as SettingsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
callstack/agent-device#3305 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
callstack/agent-device#3296 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
callstack/agent-device#1869 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage refactor
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
callstack/agent-device#3311 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-triage refactor
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
callstack/agent-device#3309 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di callstack/agent-device
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
siyuan-note/siyuan#20313 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
alunduil/projects-v2-sync#14 ·
-
Service process inherits the caller's cwd at first use, holding that folder open on Windows (EBUSY)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
DevTools page styles leak into the host app in developmentForse già presa @onmax l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
nuxt-modules/better-auth#567 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno