leanprover / leanprover/lean4

Lake should not hide all release fetch errors by default

Open
#8,684 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Lake P-high
Dominant language
Lean
Stars
9.2k
Forks
990
Avg merge
1d 17h
Merged PRs (30d)
175

Description

Context: #general > Lean companion to "Analysis I" - discussion @ 💬. This error message should not have been hidden. The issue was exacerbated by being triggered by the Mathlib update hook, which meant that passing -v had no effect.

More specifically, this could mean showing any errors that are not 404s and/or showing any errors when preferReleaseBuild is set.

In addition, an explanatory message about AV systems could be shown when, like here (presumably), the curl exit code is "35 - SSL connect error".

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing Lake's release-fetch error handling and the Mathlib update hook described in the issue, focusing on how curl failures and verbose output are handled. Done means non-404 failures are visible by default or when preferReleaseBuild is set, with an explanatory AV-systems message for the reported SSL error.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.