Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Add remote proxy lease backend for HarmonyOS (harmonyos-instance)

Geschlossen
#2,265 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
52/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript

Rechercherichtung

Beginne beim LeaseBackend-Vertrag und verfolge die bestehenden Pfade von ios-instance und android-instance durch Plattformzuordnung, Proxy-Zuweisung, Heartbeat, Schließen und Hinweise zur Sitzungs-Laufzeit. Ergänze Tests für die Auswahl von HarmonyOS-Emulatoren und den vollständigen remote inventory-to-open-to-snapshot/input/logs-to-close-Ablauf, einschließlich Lease-Identität und Artefaktprovenienz.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement

Problem

The 0.20.10 proxy inventory lists booted HarmonyOS devices, and the local host provider supports open --platform harmonyos, but remote proxy lease admission rejects HarmonyOS because LeaseBackend only contains ios-simulator, ios-instance, and android-instance.

Observed from a Linux client connected to a Mac proxy:

  • devices --platform harmonyos lists a booted emulator.
  • open ... --platform harmonyos --device emulator fails before allocation with open requires --platform ios|android or --lease-backend.
  • The local Mac (non-proxy) can open the same Harmony emulator and exposes snapshot/click/type/logs/screenshot.

Proposal

Add a first-class harmonyos-instance lease backend end-to-end: contracts/type, platform-to-backend mapping, proxy lease allocate/heartbeat/close, session runtime hints, and tests proving device selection and lease lifecycle. Preserve fail-closed behavior for unsupported providers; do not merely widen a client enum.

Acceptance should include remote proxy inventory -> open -> snapshot/input/logs -> close, with lease identity and artifact provenance. Physical OHOS remains out of scope; emulator/proxy only.

Vorherrschende Sprache
TypeScript
Sterne
5k
Forks
334
Ø Merge
11 Std. 48 Min.
Gemergte PRs (30 T.)
605

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus callstack/agent-device

Alle Issues in callstack/agent-device

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.