Spec 9: world-vercel step listing stays stale for over 30s after a run completes

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

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

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

評価

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

調査の方向性

Start with stepsOf in packages/core/e2e/e2e.test.ts and the spec 9 README section “Steps on world-vercel”; compare world.steps.list() and workflow inspect steps with the event log after run_completed. Reproduce the affected cases named in the issue, including instanceMethodStepWorkflow and the experimental_retention: 0 run. Done when the listing converges reliably on spec 9 and the e2e assertions can use it on every lane.

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

説明

On spec 9 runs against world-vercel, world.steps.list() (and workflow inspect steps) sometimes still shows a step as running or pending, or leaves it out, more than 30-60s after run_completed, even though the run's event log already holds that step's step_started and terminal event. The spec 9 README ("Steps on world-vercel") says the listing can lag the log, but this lasts much longer than a step written "moments ago", and it is what users see in the steps view.

Seen in CI on the spec 9 lanes in instanceMethodStepWorkflow (~18 times in two days), StepNotRegisteredError fails the step but workflow can catch it and step-argument serialization failure is catchable in workflow code. It also showed up as an empty inspect steps --withData listing for an experimental_retention: 0 run. Steps whose events land within ~100ms of each other seem most affected.

#5601 moved those e2e assertions onto the event log on the spec 9 lane only, so nothing in CI checks that the listing converges on spec 9. The other lanes still assert on the listing. Once the listing converges reliably, stepsOf in packages/core/e2e/e2e.test.ts can go back to the listing on every lane.

🤖 Generated with Claude Code

主要言語
TypeScript
スター
2.5k
フォーク
401
平均マージ
1日 21時間
マージ済み PR(30日)
201

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

vercel/workflow のほかの issue

vercel/workflow の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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