Skip to content

scala3-upickle CI flake: Bloop compiler-server startup timeout + maven-nightlies download failures #3063

Description

@schani

What happens

The scala3-upickle / schema-scala3-upickle fixture jobs intermittently fail because the Bloop compiler server times out during startup. The Scala fixtures spin up Bloop, and its 30-second startup budget is regularly exceeded, often after failed downloads from the maven-nightlies repository.

Evidence

This is the single biggest flake source in the fixture matrix.

Impact

Because the fixture matrix runs with fail-fast: true, a single Scala timeout cancels every sibling language job in the same matrix and trips the test-complete gate, so one flake looks like a broad multi-language failure. See #3066 for details.

Suggested solutions

  • Cache/warm the Bloop server or pin its version so startup does not pay a cold-start cost each run.
  • Raise the Bloop startup timeout above 30 seconds.
  • Cache the maven artifacts with actions/cache so downloads do not hit the network every run.
  • Avoid nightly repositories (maven-nightlies) in CI; pin to stable artifact versions.

Interim policy

Per CLAUDE.md ("Known CI flakiness"), we accept this flake for now. When it happens we retry the failed jobs (gh run rerun <run-id> --failed); a failure here only counts as real if it reproduces across retries or the PR actually touches Scala.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions