CI infra flake: git-lfs download failure in verify:coverage-cache-inputs reddens platform-unit-test (ubuntu) after the suite is green

Đang mở
#2,714 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 3 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
git, github-actions, typescript
Lĩnh vực
ci-cd

Hướng nghiên cứu

The failing step is pnpm --dir src run verify:coverage-cache-inputs, the probe whose single test 'coverage cache input contract' dies while checking out src/assets/docs/demo.gif in a detached worktree during the ubuntu platform-unit-test job. Start by reading the job log lines 531-581 and the probe script it runs, then check whether the workflow's checkout step with 'lfs: false' is the cause. Done means the probe no longer fails on LFS fetch errors in CI, either by fetching LFS objects, skipping LFS for files it never reads, or treating the fetch failure as a retried warning, with the suite still passing.

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

Mô tả

The ubuntu platform-unit-test job turned red on PR #2707 (job 139560936721, run 45715662470) while the test suite itself passed: 'Test Files 4 passed (4) / Tests 317 passed (317)'. The red came from the step after it - pnpm --dir src run verify:coverage-cache-inputs - whose single test 'coverage cache input contract' died inside git-lfs: the probe creates a worktree (detached HEAD at the merge preview) and the checkout of src/assets/docs/demo.gif fails with 'external filter git-lfs filter-process failed' / 'smudge filter lfs failed'. The job's own checkout step runs with 'lfs: false', so the probe's later LFS need is not served.

Impact: any PR whose ubuntu unit job runs this probe can go red on infrastructure, not code - we hit it on bbfb09e08ac4 while the identical suite was fully green; a re-run (admin rights required) is currently the only author-side option.

Failure address: log lines 531-581 of the job log (55,528 B after ANSI strip, sha256-16 fe8f4cf03fcd9945); the failure point is the probe, the death cause is the LFS external filter, the trigger is the worktree checkout of preview HEAD.

Possible fixes to consider: serve LFS objects for the probe (or pre-fetch demo.gif), treat probe-level LFS fetch failures as warnings with a retry, or pin the probe's worktree checkout to skip LFS for files it never reads. Not a code defect in our branches - registering so the red is not misattributed to PRs.
[Filed by the issue-1410 split lane; a second specimen exists on our earlier head a87406978cc4, same job name.]

Ngôn ngữ chính
TypeScript
Star
2k
Fork
301
Merge trung bình
3 ngày 14 giờ
Pull request đã merge (30 ngày)
103

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 Zoo-Code-Org/Zoo-Code

Tất cả issue của Zoo-Code-Org/Zoo-Code

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.