JuliaLang / JuliaLang/PrecompileTools.jl

Exceptions in workload shouldn't prevent compilation

Open
#42 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
249
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Currently, whenever the compile_workload throws an exception, the package becomes effectively uninstallable.
That's especially bad for packages with comprehensive precompilation workloads: they become impossible to install and use in any capacity even when a tiny part of their functionality is broken by Julia / dependencies update.

Compile workload errors should just be turned into a small warning, like "precompilation workload failed, not all functionality may be available".

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the compile_workload handling in PrecompileTools.jl and inspect how exceptions currently affect package installation or precompilation. Confirm the existing behavior, then verify that a workload exception produces the requested warning while the package remains usable and other precompilation can continue.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.