test: pass the bounded attempt deadline to child requests

Aperta
#4,024 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
node.js, typescript

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
TypeScript
Stelle
5.2k
Fork
359
Merge medio
13h 31m
PR unite (30g)
664

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di callstack/agent-device

Tutte le issue di callstack/agent-device

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.