Skip to content

Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.

A Lean download outage no longer fails every python and lean job

FABIOTESS12f6559ab46b
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8e637983..0754f306 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -333,7 +333,24 @@ jobs:
# The Lean checker. Same action and same inputs as the `lean` job; building
# `lean/` is itself the proof check, and it is what puts `oo-horn` at
# lean/.lake/build/bin/oo-horn, which is where `find_checker` looks.
- - uses: leanprover/lean-action@v1
+ # releases.lean-lang.org has dropped TLS connections for minutes at a
+ # time (19 Oct 2026: every python and lean job failed fetching the
+ # toolchain, with no code at fault). The first attempt may fail; the
+ # second is the one that decides the job, so a real proof failure still
+ # fails it, only later.
+ - id: lean1
+ uses: leanprover/lean-action@v1
+ continue-on-error: true
+ with:
+ lake-package-directory: lean
+ build: true
+ test: false
+ lint: false
+ use-github-cache: true
+ - if: steps.lean1.outcome == 'failure'
+ run: sleep 90
+ - if: steps.lean1.outcome == 'failure'
+ uses: leanprover/lean-action@v1
with:
lake-package-directory: lean
build: true
@@ -456,7 +473,24 @@ jobs:
CARGO_PROFILE_DEV_DEBUG: 0
steps:
- uses: actions/checkout@v4
- - uses: leanprover/lean-action@v1
+ # releases.lean-lang.org has dropped TLS connections for minutes at a
+ # time (19 Oct 2026: every python and lean job failed fetching the
+ # toolchain, with no code at fault). The first attempt may fail; the
+ # second is the one that decides the job, so a real proof failure still
+ # fails it, only later.
+ - id: lean2
+ uses: leanprover/lean-action@v1
+ continue-on-error: true
+ with:
+ lake-package-directory: lean
+ build: true
+ test: false
+ lint: false
+ use-github-cache: true
+ - if: steps.lean2.outcome == 'failure'
+ run: sleep 90
+ - if: steps.lean2.outcome == 'failure'
+ uses: leanprover/lean-action@v1
with:
lake-package-directory: lean
build: true
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 5b4e1bdc..23615322 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -90,7 +90,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - uses: leanprover/lean-action@v1
+ # releases.lean-lang.org has dropped TLS connections for minutes at a
+ # time (19 Oct 2026: every python and lean job failed fetching the
+ # toolchain, with no code at fault). The first attempt may fail; the
+ # second is the one that decides the job, so a real proof failure still
+ # fails it, only later.
+ - id: lean1
+ uses: leanprover/lean-action@v1
+ continue-on-error: true
+ with:
+ lake-package-directory: lean
+ build: true
+ test: false
+ lint: false
+ use-github-cache: true
+ - if: steps.lean1.outcome == 'failure'
+ run: sleep 90
+ - if: steps.lean1.outcome == 'failure'
+ uses: leanprover/lean-action@v1
with:
lake-package-directory: lean
build: true