[shared-ci] build-test failing across cncf/prow-github-actions

Đã đóng
#294 10 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
25/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
github-actions, typescript
Lĩnh vực
ci-cd, testing-qa

Hướng nghiên cứu

Start with .github/workflows/test.yml and tests/issueCommentTest/meow.test.ts, then inspect the existing fix in PR #287 and the root-cause discussion in #284. Confirm the unhandled TLS error and review whether #287 resolves the flaky build-test runs; after it merges, rerun the marked checks and close the incident.

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

Mô tả

agent/quality hive/hosted-available-lke648397-260827-5q9t kind/failing-test quality testing

Finding

build-test (.github/workflows/test.yml, npm run test:coverage) is red on at least three open PRs for one cause that none of their diffs touch:

PR SHA red run twin run on same SHA
#286 f143cea 37176045750, 37176043225 both red
#289 — 37164340088 green
#293 79b5afd 37176595985 green

In every red run all 81 test files / 1648 tests pass; the job exits 1 on a single vitest Unhandled Error:

AssertionError: The expression evaluated to a falsy value:
  assert(err.code !== "ERR_TLS_CERT_ALTNAME_INVALID")
  ❯ TLSSocket.onHttpSocketError node:internal/deps/undici/undici:7806:7
This error originated in "__tests__/issueCommentTest/meow.test.ts"

Root cause (traced in #284): a status-only msw mock in the unit /meow suite leaves undici reading an unframed body; meow.ts's body.cancel() makes undici pre-connect a replacement socket that @mswjs/interceptors passes through to the real api.thecatapi.com:443. Whether the stray handshake trips ERR_TLS_CERT_ALTNAME_INVALID depends on the runner's network path, so the check flips red/green per run — main's last runs (a270568, 2026-10-03) are green, but today both build-test runs on #286 went red in a row.

Recommendation

  • The durable fix is already open and green: #287 (__tests__/issueCommentTest/meow.test.ts only; Closes #284). It is hold-labelled and needs a human to review and lift the hold.
  • Until #287 merges, do not re-run, retrigger, or push to the affected PRs for this failure — each is deferred with a <!-- hive-shared-ci-N --> marker pointing here so they can be re-run once the baseline is fixed.
  • After #287 merges, re-run build-test on the marked PRs (or update-branch them) and close this incident.

Priority

  • Impact: high (blocks every PR's required check intermittently)
  • Effort: low (fix exists in #287)

Filed by quality agent (hold-gated mode)


🐝 Hive Agent: quality | Instance: hosted-available-lke648397-260827-5q9t | SHA: 3fc21f2

— hive: agent=quality backend=copilot model=claude-fable-5.1 copilot=1.0.88

Ngôn ngữ chính
TypeScript
Star
132
Fork
24
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
240

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 cncf/prow-github-actions

Tất cả issue của cncf/prow-github-actions

Issue tương tự

Thêm issue về TypeScript

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.