App image build for ARM can hang under emulation until the 60-minute limit

Aperta
#276 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à
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
docker, javascript, python

Direzione di ricerca

Start by reading the app image build workflow and the app's JavaScript bundling step; the issue does not name their files. Compare the regular and ARM build paths to see where bundling runs under emulation, then check the build's timeout and retry settings. Done when bundling is reused for ARM or hangs fail fast and retry, and the job limit reflects the normal 4-minute run.

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

Descrizione

ci

On the merges of #264 and #266 the Image · app job on main sat for 46 minutes with no output and had to be cancelled (runs 47280662017 and 47280705032). The regular (amd64) build finished in seconds; the ARM (arm64, emulated) build stopped during the app's JavaScript bundling step, right after "Building server entrypoints...". A re-run of the same commit with no change passed in 4 minutes, as did every earlier merge that day. Pull-request builds are not affected because they build for one processor type only.

Cost when it happens: an hour of runner time per run, and no app image published for that commit until someone re-runs it.

Fix directions:

  • Bundle the JavaScript once in the regular build and reuse it for the ARM image (the bundled output does not depend on the processor), so the bundler never runs under emulation.
  • Or give the build step a much shorter timeout and an automatic retry.

Done when: the app's bundling step no longer runs under emulation (or a hang fails fast and retries), and the job's time limit reflects its normal 4-minute duration.

🤖 Generated with Claude Code

Lingua principale
Python
Stelle
0
Fork
2
Merge medio
8h 26m
PR unite (30g)
47

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 TechTraverse/stac-higher

Tutte le issue di TechTraverse/stac-higher

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.