Infrastructure: Add scoped runner grants and drain-confirmed desktop controller handoff
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- node.js, react-native, typescript
- Bereich
- devtools, mobile-dev, testing-qa
Rechercherichtung
Start with the cited "MCP/WDIO handoff" and "Standalone WDIO/Jasmine execution" sections in packages/agentic/desktop-test/references/current-status.md, then inspect the listed WDIO paths and storybook-desktop/src/testing/{runWdioTests,worker}.ts. The generic handoff is blocked by #4436 and #4442; Storybook work also depends on #4449. Done means implementing the scoped grant and drain flow, adding required status and guidance updates and changesets, and completing the package and native consumer validation described in the issue.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Current status - 2026-11-07
Blocked for generic handoff by F2 #4442 (in #4463); F1 is already merged. New input-lane selection in #4464 does not provide controller ownership transfer.
Remaining behavior: agent-served mode and ordinary WDIO still exclude each other; implement bounded busy/relinquish/operator-authorized preemption, stop new work, await cancellation/settlement and session DELETE, invalidate old references/cursors/proofs/artifact links, and only then grant the runner a session. Worker-crash drain and credential confinement remain acceptance requirements.
F9 #4449 gates only the Storybook phase. F10-M #4446 / F10-W #4447 gate only opt-in retained supervisor-owned applications; attach-only handoff does not need them. Cross-MCP-connection resume and automatic replay are not supported by this PR.
Goal
Agent-served mode (serve --agent) and WDIO runs currently exclude one another, so moving between MCP control and suite execution requires restarting services. Add scoped runner grants and a handoff that waits for the previous controller to drain before a runner opens its own session.
Part of #4435 (plan item F11).
Scope
- Owner: WDIO and CSF runner integration.
- Paths (under
packages/agentic/):desktop-test/src/wdio/*, the driver's grant transport and drain contracts, andstorybook-desktop/src/testing/{runWdioTests,worker}.ts. - Default to a bounded
busyresult. An explicit relinquish or operator-authorized preempt stops new work, cancels and awaits settlement, confirms session deletion, invalidates references, cursors, proofs, and artifact links, and only then authorizes a new runner session. Grant revocation callbacks are not a drain barrier. - Keep the documented CSF exception, where the runner owns the session and an isolated Node worker borrows it, unless it is deliberately migrated.
Dependencies
- Blocked by: F2 #4442 for the generic handoff; F1 #4436 is delivered by #4455.
- Phased prerequisites: Storybook integration requires F9 #4449. Retaining a supervisor-launched app across handoff requires F10-M #4446 or F10-W #4447 and an explicit ownership option. Attached-app handoff needs neither.
- Unblocks: F13 #4450.
- Parallel with: F3 #4444, F6 #4445, F10-M, and F10-W.
Acceptance
- MCP and WDIO cannot control the same reserved target concurrently.
- A worker crash drains its session.
- Stale references, cursors, and artifact links fail after handoff.
- Credentials never enter capabilities, generated config, logs, or model output.
Validation
- Iterate with focused
yarn test <name>in each changed package, then run itsyarn format,yarn lint,yarn build, andyarn test. Finish withyarn clean-lage-cachethenyarn lage buildci; runyarn lage test-links --verbose --groupedafter markdown changes. - Add a patch changeset for each changed published package. Update the owning
references/current-status.mdrows (done, work in progress, unsupported) and affected README/AGENTS guidance in the same change. - Native, provider, or process-topology changes need matching-OS native contracts and the affected consumer lane. JavaScript tests and bundles do not qualify native behavior; hosted capability skips are not passes. Report each check as passed, failed, skipped, not run, or unsupported.
Evidence
- Current state: "MCP/WDIO handoff" and "Standalone WDIO/Jasmine execution" in
packages/agentic/desktop-test/references/current-status.md. - Retired plan:
driver-next.mdat0569e1b86, sections 6 (cancellation, handoff, and recovery) and 8 (F11).
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.4k
- Forks
- 179
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 60
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus microsoft/fluentui-react-native
-
MenuList: FocusZone not wired for react-native-windows ('windows'), so menu items are Tab-only (no arrow-key roving focus)Evtl. vergeben @UditDewan hat das vor 24 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
microsoft/fluentui-react-native#4174 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Platform: MacOS Platform: Win32 Platform: Windows Status: Blocked
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 12/100
microsoft/fluentui-react-native#4451 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Status: Blocked
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 24/100
microsoft/fluentui-react-native#4450 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Status: Blocked
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
microsoft/fluentui-react-native#4449 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Platform: Win32 Platform: Windows Status: Blocked
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 30/100
microsoft/fluentui-react-native#4447 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in microsoft/fluentui-react-native
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
langchain-ai/langchainjs#12157 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
activescott/home-infra-k8s-flux#511 ·
Maintainer antworten meist innerhalb von 1 Tag
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
lingdojo/kana-dojo#33753 · 1 Kommentar · 5 Reaktionen ·
Maintainer antworten meist innerhalb von 1 Tag
-
android:player
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
follow-up needs-triage S3: minor
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 85/100
manaflow-ai/cmux#38032 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag