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

Evidence tutorials CI: issuer-backed dev start intermittently fails before readiness and its startup logs are lost

オープン 初心者向け
#2,200 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
74/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
docker, rust
領域
ci-cd, testing

調査の方向性

crates/registry-evidencectl/tests/dev_lifecycle.rs と “Evidence tutorials from source” ジョブから始めてください。テストが dev start の失敗をどのように処理するか、failed-start ログがどこに保持されるかを調べ、ジョブで使われる出力の上限と秘匿化を確認してください。失敗時に、上限付きで秘匿化された起動ログが表示されるか、アーティファクトとしてアップロードされ、次の断続的な失敗を診断できる状態になれば完了です。

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

説明

real_issuer_lifecycle_issues_typed_service_claims_and_stops_cleanly (crates/registry-evidencectl/tests/dev_lifecycle.rs, run by the "Evidence tutorials from source" job) failed once in a merge-group run after about 6 seconds:

issuer-backed dev start failed
error[evidence.dev.start-failed] local development session logs: The local Evidence services failed before reaching readiness.
  next: Inspect the preserved startup logs at .../target/debug/evidence-native-lifecycle-*/tutorial/.evidence/failed-start, ...

Failing run: https://github.com/registrystack/registry-stack/actions/runs/39132836323

The same tree passed this job in the pull request's own CI run and passed three of three local runs under Docker, so the failure is nondeterministic and not caused by that change.

The cause cannot be recovered: dev start preserves its startup logs under target/, which dies with the runner, and the test's panic message prints only dev start's stdout and stderr.

Two asks:

  1. When dev start fails, have the test print the preserved failed-start logs, bounded and redacted like the rest of the job output. Alternatively, have the job upload that directory as an artifact if: failure(). The next occurrence then names its own cause.
  2. A candidate cause to check once logs exist: unused_port_pair() binds two ephemeral ports and drops them before dev start hands them to Evidence and to the issuer container, so another process on the runner can take one in between. #1870 is the same class of port collision on the BReg tutorial gate.
主要言語
Rust
スター
2
フォーク
0
平均マージ
10時間 45分
マージ済み PR(30日)
259

環境構築

はじめの一歩

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

registrystack/registry-stack のほかの issue

registrystack/registry-stack の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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