Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

watch: a failed deploy blocks every later deploy on the deployment hold

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

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

評価

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

調査の方向性

Start with packages/reconciler/src/durable/deployment-hold.ts and trace how watch creates execution IDs for deploys. Compare the hold behavior on failure with the watch rebuild flow; the issue lists resuming the failed execution or clearing its hold as possible directions. Done means a failed deploy no longer leaves later deploys in the same watch session hanging.

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

説明

Problem

After one deploy fails during notation watch, every later deploy in that session hangs forever on reconciler.hold.waiting.

withDeploymentHold (packages/reconciler/src/durable/deployment-hold.ts) deliberately keeps the hold when an execution fails, so the same execution can be resumed with --execution-id. But watch starts each deploy with a new randomUUID() execution ID and never resumes the failed one. So the next deploy waits for a holder that will never finish, and the only way out is to clear the hold manually.

Repro

  1. Run notation watch infra/api.ts with invalid AWS credentials, so the first deploy fails with InvalidClientTokenId.
  2. Edit a runtime file to trigger a rebuild.
  3. The second deploy logs reconciler.hold.waiting with holderExecutionId set to the first execution, then hangs.

This predates the move to child-process deploys (7735a67), since watch has always used a new execution ID per deploy.

Possible directions

  • Have watch resume the failed execution ID on the next rebuild, rather than starting a new one.
  • Or have watch clear its own failed execution's hold (it knows the holder is dead) before starting the next deploy.
主要言語
TypeScript
スター
54
フォーク
1
平均マージ
1時間 45分
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

notationlabs/notation のほかの issue

notationlabs/notation の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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