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

Offen
#2,714 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 3 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
git, github-actions, typescript
Bereich
ci-cd

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.]

Vorherrschende Sprache
TypeScript
Sterne
2k
Forks
301
Ø Merge
3 T. 14 Std.
Gemergte PRs (30 T.)
103

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Zoo-Code-Org/Zoo-Code

Alle Issues in Zoo-Code-Org/Zoo-Code

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.