Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở Phù hợp với người mới
#2,200 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
74/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, rust
Lĩnh vực
ci-cd, testing

Hướng nghiên cứu

Bắt đầu với crates/registry-evidencectl/tests/dev_lifecycle.rs và job “Evidence tutorials from source”. Kiểm tra cách bài kiểm thử xử lý lỗi dev start và nơi lưu giữ log failed-start; kiểm tra giới hạn đầu ra và cách job che thông tin nhạy cảm. Công việc hoàn tất khi lỗi làm lộ ra log khởi động có giới hạn và đã che thông tin nhạy cảm, hoặc tải chúng lên dưới dạng artifact, để có thể chẩn đoán lỗi không thường xuyên tiếp theo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Rust
Star
2
Fork
0
Merge trung bình
10 giờ 45 phút
Pull request đã merge (30 ngày)
259

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của registrystack/registry-stack

Tất cả issue của registrystack/registry-stack

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.