• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaLang / julia / #37129 / 1
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 07 May 2022 11:57AM UTC
Files 362
Run time 21s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 May 2022 02:18AM UTC coverage: 89.128% (+0.03%) from 89.102%
#37129.1

push

local

web-flow
Fix different .cachepath initialization points for precompile load (#45149)

For quite some time I've been observing Revise randomly not pick
up changes to my packages. Usually I just write that off to Revise
getting into a bad state and restarting Julia fixes it. Today, I
got very annoyed by this again and decided to finally track it down.
What turns out to happen here is the packages in question are those
which:

A. Are being precompiled on load
B. Use Requires
C. Have an `@require`'d-dependency already loaded
D. The change to be revised is made in a file not loaded via
   Requires.jl.

In this case the `__init__` of the package triggers Requires,
which in turn calls back to Revise, which tries to start watching
the package. However, on the `compilecache` path (but not on the
path where we just find a pre-existing cache file), we used to
not set the .cachepath property of `pkgorigins` until after
the `__init__` callbacks run, causing Revise not to be able
to see those files. Infuriatingly, restarting julia fixes this
because it just loads the .ji file that was just compiled.

Fix this by unifying the point at which the .cachepath is set,
always setting it just prior to the module initialization callback.

69912 of 78440 relevant lines covered (89.13%)

14880933.19 hits per line

Source Files on job #37129.1
  • Tree
  • List 0
  • Changed 264
  • Source Changed 9
  • Coverage Changed 263
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 37129
  • 58ab4c73 on github
  • Prev Job for on master (##37128.1)
  • Next Job for on master (##37130.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc