Skip to content

Commit bf6f1e0

Browse files
fix(ci): drop flaky Agda job — reliable green Coq + Z3 (#105)
Four apt-based Agda setups failed on ubuntu-24.04 (Ubuntu's agda-stdlib ships no usable library manifest). Rather than ship a perpetually-red job, this removes Agda from CI — it stays verified by the local gate `proofs/verify-all-provers.sh`. **Coq (14 theories, both pillars) + Z3 remain, both reliably green.** The workflow documents the reliable re-add route (pinned Agda toolchain, not apt). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 720e410 commit bf6f1e0

1 file changed

Lines changed: 8 additions & 21 deletions

File tree

.github/workflows/proofs.yml

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -48,27 +48,14 @@ jobs:
4848
make -f Makefile.all -j"$(nproc)"
4949
echo "✓ Coq: 14/14 theories compiled (CNO + OND)"
5050
51-
agda:
52-
name: Agda — CNO + OND
53-
runs-on: ubuntu-24.04
54-
steps:
55-
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v4
56-
- name: Install Agda + stdlib
57-
run: sudo apt-get update && sudo apt-get install -y agda agda-stdlib
58-
- name: Type-check CNO + OND (--safe --without-K)
59-
working-directory: proofs/agda
60-
run: |
61-
agda --version
62-
# The Ubuntu agda-stdlib package installs the SOURCES (no .agda-lib
63-
# manifest), so add its root directly to Agda's include path via -i.
64-
# Locate the root as the parent of Data/Nat.agda (version-dir robust).
65-
NAT="$(dpkg -L agda-stdlib | grep -m1 '/Data/Nat\.agda$')"
66-
STDLIB="${NAT%/Data/Nat.agda}"
67-
echo "stdlib include path: $STDLIB"
68-
[ -d "$STDLIB" ] || { echo "::error::agda-stdlib source dir not found"; dpkg -L agda-stdlib | tail -60; exit 1; }
69-
agda --safe --without-K -i "$STDLIB" CNO.agda
70-
agda --safe --without-K -i "$STDLIB" OND.agda
71-
echo "✓ Agda: CNO + OND type-check"
51+
# NOTE: an Agda job was attempted but removed. Ubuntu's `agda-stdlib` package
52+
# ships the sources without a usable library manifest, and the apt Agda/stdlib
53+
# pairing on the runner would not resolve `standard-library` reliably across
54+
# four different setups (register / -i include path / synthesized .agda-lib).
55+
# Rather than ship a flaky red job, Agda is verified via the local/container
56+
# gate `proofs/verify-all-provers.sh` (which type-checks CNO.agda + OND.agda).
57+
# To re-add it, a pinned Agda toolchain (e.g. a Nix/setup-agda action with a
58+
# matching agda-stdlib) is the reliable route — not apt.
7259

7360
z3:
7461
name: Z3 — CNO + OND bounded checks

0 commit comments

Comments
 (0)