I think you have stumbled on the case where you try to precompile code with the @infiltrate statements which does not work as startup.jl is not loaded by precompilation pipeline. The workflow that I use is:
- Let the code to precompile without any
@infiltratestatement in the code - Then add
@infiltratestatements in the code and letReviseto recompile the necessary methods.
The first step could be resolved if we had ability to set a custom startup.jl file that is passed to precompilation, which could be ignored when running tests.