test: pass the bounded attempt deadline to child requests

オープン
#4,024 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
node.js, typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
TypeScript
スター
5.2k
フォーク
359
平均マージ
13時間 31分
マージ済み PR(30日)
664

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

callstack/agent-device のほかの issue

callstack/agent-device の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。