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

Aberta
#2,714 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 3 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
Meio dia
Facilidade para iniciantes
25/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
git, github-actions, typescript
Domínio
ci-cd

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

Linguagem predominante
TypeScript
Estrelas
2k
Forks
301
Merge médio
3d 14h
PRs com merge (30d)
103

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Zoo-Code-Org/Zoo-Code

Todas as issues de Zoo-Code-Org/Zoo-Code

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.