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

Aperta
#2,714 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
git, github-actions, typescript
Ambito
ci-cd

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
2k
Fork
301
Merge medio
3g 14h
PR unite (30g)
103

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Zoo-Code-Org/Zoo-Code

Tutte le issue di Zoo-Code-Org/Zoo-Code

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.