ci(test): Native-ESM import guard times out on lts/* pushes after a passing full sweep

Aperta
#6,631 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

The job is the Native-ESM import guard in .github/workflows/test.yml, with its timeout-minutes set to 30 near lines 913 and 990 on the lts and next branches. Read how the guard step chooses between the full push sweep and the PR-scoped sweep, since that split causes the timeout. Done means a push to lts/6.2 finishes the guard inside the limit, or the limit is raised, with the change backported to the lts lines.

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

Descrizione

On pushes to lts/6.2, the Native-ESM import guard job in test.yml is cancelled by its 30-minute timeout-minutes right after the guard finishes and reports a pass, so the whole Unit Tests run goes red with nothing actually broken.

Evidence (lts/6.2 at e22fb60ac8, run 43356618754, both attempts): the guard step ran 04:30:42 → 04:56:58 (26 minutes), printed esm-guard: checked 260 packages — OK: 250 … and esm-guard: OK — no extensionless-specifier breaks found, then the job was cancelled at the 30-minute mark. All six unit-test shards passed. The same thing happened on a37eb3ea52; the run just before (6044d85a1d) passed with the guard taking 24 minutes, so it is right on the edge.

Why: a push runs the unscoped sweep of every package (about 6 seconds each on these runners), while a PR scans only what it changed (about 3 minutes). With setup (~4 minutes) the full sweep no longer fits in 30 minutes.

Fix options: raise timeout-minutes for this job (45 would give room), or parallelise the sweep. The same 30-minute limit is on next (test.yml line ~990) and lts/6.2 (line ~913), so whichever fix lands should be backported to the lts lines.

Impact for 6.2 certification: none on the release. 6.2.2 was published from e22fb60ac8 on the strength of the passing shards and the guard's own OK verdict.

🤖 Generated with Claude Code

Lingua principale
TSQL
Stelle
32
Fork
7
Merge medio
1g 16h
PR unite (30g)
504

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 MemberJunction/MJ

Tutte le issue di MemberJunction/MJ

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.