Skip to content

Commit 6c01819

Browse files
committed
fix(ci): unbreak Agda type-check install + Justfile heal duplicate
Two pre-existing failures left red on main after #220 merged: - agda-meta-checker.yml: `cabal install Agda-2.7.0.1` aborts on a warm ~/.cabal cache with "Path '.../bin/agda' already exists"; add --overwrite-policy=always so the install is idempotent. Until this lands the Agda meta-checker never actually runs in CI. - contractile.just defined a `heal` recipe that collides with the root Justfile's `heal` across `import?`, so `just` aborts with a duplicate-recipe error — breaking every `just` call incl. MVP Smoke's `just mvp-env`. Drop the contractile copy; keep the richer root recipe (and contractile's heal-provers). https://claude.ai/code/session_01UAqDQaMwpUqWHUSZekGZWv
1 parent 48504df commit 6c01819

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/agda-meta-checker.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ jobs:
4949
- name: Install Agda
5050
run: |
5151
cabal update
52-
cabal install Agda-2.7.0.1
52+
# --overwrite-policy=always: the cached ~/.cabal restore already
53+
# carries the agda symlink, so a plain install aborts with
54+
# "Path '.../bin/agda' already exists" on a warm cache.
55+
cabal install Agda-2.7.0.1 --overwrite-policy=always
5356
5457
- name: Install Agda standard library
5558
run: |

contractile.just

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -190,13 +190,10 @@ intend-list:
190190
@echo ''
191191
@echo 'Run `cat .machine_readable/contractiles/intend/Intentfile.a2ml` for the source of truth.'
192192

193-
# ── HEAL (recovery shortcuts referenced by bust/dust recipes) ─────────
194-
195-
heal:
196-
@echo 'just heal: workspace healing entry point'
197-
@cargo --version >/dev/null 2>&1 && echo ' rust toolchain OK' || echo ' rust toolchain MISSING'
198-
@julia --version >/dev/null 2>&1 && echo ' julia OK' || echo ' julia MISSING — see juliaup'
199-
@echo 'For prover binaries: just heal-provers'
193+
# ── HEAL-PROVERS (recovery shortcut referenced by bust/dust recipes) ──
194+
# NB: `heal` itself is defined in the root Justfile. Defining it here too
195+
# made `just` abort with a duplicate-recipe error across the `import?`,
196+
# which broke every `just` invocation (and thus MVP Smoke's `just mvp-env`).
200197

201198
heal-provers:
202199
@echo 'heal-provers: install missing Tier-1 prover binaries'

0 commit comments

Comments
 (0)