JuliaLang / Pkg.jl

Pkg - Package manager for the Julia programming language
https://pkgdocs.julialang.org
Other
625 stars 268 forks source link

Package precompilation spinners not erased before running tests #3919

Open jishnub opened 5 months ago

jishnub commented 5 months ago

I have been noticing the following on julia v1.10.4, but I don't recall having seen this before:

Precompiling project...
  ◑ StaticArrays
  ◓ FFTW
  ◐ ArrayLayouts

     Testing Running tests...

The tests start running after the precompilation is over, but the lines with the spinners remain in the terminal as static remnants. These should ideally be erased after the precompilation completes.

I have only noticed this while running tests for packages.

IanButterworth commented 4 months ago

I moved this to Pkg because this code is in Pkg in 1.10

IanButterworth commented 4 months ago

I don't have a reproducer but I just saw a similar thing with the precompile process exiting early, leaving the animation like above and reporting no warnings, no errors

KristofferC commented 4 months ago

I've heard the same complaints from various people on 1.10 that the precompile process just aborts without any output whatsoever and then the serial precompile starts.

Some error path that is getting swallowed in a try catch?