test: pass the bounded attempt deadline to child requests

Offen
#4,024 0 Kommentare 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
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
node.js, typescript
Bereich
mobile-dev, testing

Rechercherichtung

Read the changes and context in #4017 and #3861, then trace how the scheduler sets an attempt timeout and how child requests receive deadlines. Reproduce an open --launch-url inside a bounded test attempt and check that it can answer the “Open in” prompt; confirm truly unbounded attempts still have no deadline.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

backlog enhancement

Follow-up from #4017 (#3861).

Problem. An open inside a test attempt gets no request deadline when the test itself is unbounded. That holds even when the scheduler enforces a timeout on that attempt. As a result, the launch-confirmation re-press added in #4017 never runs inside test. This is not a regression from main.

Required behavior.

  • Expose each attempt's actual deadline to its child requests: the scheduler's attempt timeout, capped by any parent deadline.
  • With that in place, open --launch-url inside a bounded test attempt can re-answer the "Open in" prompt.
  • Attempts that are truly unbounded stay without a deadline.
Vorherrschende Sprache
TypeScript
Sterne
5.2k
Forks
359
Ø Merge
13 Std. 31 Min.
Gemergte PRs (30 T.)
664

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.