Flake: sbt 1.2.8 warm-cache `update` in Dockerfile.sbt hangs until the 45-min job timeout
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 55/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- docker, github-actions, scala
- Bereich
- build-system, ci-cd
Rechercherichtung
Start by reading tests/docker/Dockerfile.sbt and the workflow jobs coverage-docker (sbt) and e2e-docker (sbt); compare their warm-cache sbt update step with the successful nightly runs. On a workflow dispatch, enable the suggested sbt debug logging to identify whether resolver access stalls before choosing a timeout or retry. Done means the warm-cache build finishes reliably and a stalled resolver fails within a bounded time with useful diagnostics.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
docker build of tests/docker/Dockerfile.sbt hung in its warm-cache layer three times in about 90 minutes this morning (2026-10-22). Each time the job sat until its 45-min timeout-minutes killed it.
| Run / attempt | Job | Runner | Hung step | Duration |
|---|---|---|---|---|
| 39745825228 #1 | coverage-docker (sbt) |
depot-5chxnxdgmt | Build sbt image | 08:17 → 09:02 (cancelled by timeout) |
| 39745825228 #1 | e2e-docker (sbt) |
depot-0xcx81brcg | Build sbt image | 08:17 → 09:02 (cancelled by timeout) |
| 39745825228 #2 | e2e-docker (sbt) |
depot-bdcmbfmvlt | Build sbt image | 09:02 → 45-min timeout |
In the attempt-1 coverage-docker (sbt) log the sbt launcher fetches sbt 1.2.8 and Scala 2.12.7 in ~3 s. Then it prints nothing for 44 min:
#17 3.628 [info] Loading project definition from /tmp/warm-1.2.8/project
#17 3.709 [info] Updating ProjectRef(uri("file:/tmp/warm-1.2.8/project/"), "warm-1-2-8-build")...
2026-10-22T09:01:59Z ##[error]Step canceled by GitHub
The usual time for the whole job is ~6 min (nightly e2e-docker (sbt) on 10-19 and 10-21).
Impact: schedule and workflow_dispatch only (coverage-docker / e2e-docker); sbt-compatibility.yml has not run since 10-09. Not merge-blocking today. But each hang burns 45 runner-min per sbt leg and turns the nightly red with no diagnostic.
Likely cause (unconfirmed): sbt 1.2.8 resolves its build definition through Ivy, which has no socket read timeout. One stalled connection to a resolver (Maven Central, repo.scala-sbt.org, repo.typesafe.com) then hangs update forever instead of failing. The same layer's curl downloads all have --retry; this step has neither a retry nor a deadline.
Candidate fix for a future janitor run:
- Pass JVM socket timeouts (
-Dsun.net.client.defaultConnectTimeout/-Dsun.net.client.defaultReadTimeout) to the warmsbt updatecalls, so a stalled resolver fails fast and the layer can retry once. - First confirm which host stalls: run with
-Dsbt.log.noformat=true -debugon a dispatch.
Generated by Claude Code
- Vorherrschende Sprache
- Rust
- Sterne
- 8
- Forks
- 2
- Ø Merge
- 19 Std. 9 Min.
- Gemergte PRs (30 T.)
- 641
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus SocketDev/socket-patch
-
agent:triaged bug bughunt pm:npm priority:p3 ux
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
SocketDev/socket-patch#1072 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
agent:needs-human agent:triaged ci-perf priority:p3
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 45/100
SocketDev/socket-patch#1720 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Nightly Windows test shards fail on temp-path spelling (RUNNER~1 vs canonical \\?\ paths)Evtl. vergeben @mikolalysenko hat das vor 2 Tagen übernommen. Offenagent:claimed agent:triaged ci-janitor priority:p3
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
SocketDev/socket-patch#1689 · 6 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
CI perf (settings): 90-min merge-queue check timeout let one stuck check freeze main for 77 minOffenagent:needs-human agent:triaged ci-perf priority:p3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 48/100
SocketDev/socket-patch#1670 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
agent:needs-human agent:triaged ci-janitor priority:p3
Schwierigkeit 4/5 1-2 Tage Anfängerfreundlichkeit 18/100
SocketDev/socket-patch#1660 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in SocketDev/socket-patch
Ähnliche Issues
-
`mise doctor` Shows Not Installed Lazy Tools as ProblemsEvtl. vergeben @jdx hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 1 Tag
-
nn::linear: weight initialization depends on `bias` because the bias is created before the weightEvtl. vergeben @monfortema hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
LaurentMazare/tch-rs#1067 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
astral-sh/astral-codec#234 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100