Skip to content

ci: install landrun from master, drop comparator patch - #16

Merged
kim-em merged 3 commits into
mainfrom
test-landrun-master
Apr 21, 2026
Merged

ci: install landrun from master, drop comparator patch#16
kim-em merged 3 commits into
mainfrom
test-landrun-master

Conversation

@kim-em

@kim-em kim-em commented Apr 17, 2026

Copy link
Copy Markdown
Collaborator

Per Henrik's response in leanprover/comparator#30, landrun master already whitelists the ELF loader and handles elan's lake shim correctly. The @latest tag resolves to v0.1.15, which predates those fixes — that's why our workaround was ever needed.

This PR:

  • Switches both CI workflows to go install github.com/zouuup/landrun/cmd/landrun@master
  • Drops the comparator commit pin 0ff36dde148dfea82dbdcf3baf91d6e1a8195554 (now tracks comparator master)
  • Removes patches/comparator-landrun.patch and its git apply step
  • Updates the README accordingly

If CI goes green here, we can close leanprover/comparator#30 with confirmation that landrun master fixes it.

Test plan

  • CI passes on this branch with vanilla upstream comparator + landrun master

🤖 Prepared with Claude Code

@kim-em
kim-em force-pushed the test-landrun-master branch from a1588b2 to 6ac5da3 Compare April 17, 2026 09:01
kim-em and others added 2 commits April 18, 2026 09:33
Henrik reports that landrun master already whitelists the ELF loader and
handles elan's lake shim, so the patches/comparator-landrun.patch
workaround should no longer be needed. Switch both CI workflows to
install landrun from master, drop the comparator commit pin, and remove
the patch entirely.

Ref: leanprover/comparator#30

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
zouuup/landrun's default branch is main. Go rejected @master with
"invalid version: unknown revision master".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@kim-em
kim-em force-pushed the test-landrun-master branch from f9b2c54 to 082c69f Compare April 17, 2026 23:33
Upstream lean4export master and comparator master have bumped to
v4.30.0-rc2, but this repo's workspaces (and Mathlib) are still on
v4.30.0-rc1. That toolchain skew produced "incompatible header" errors
when lean4export tried to read Challenge.olean inside the sandbox.

Pin lean4export to tag v4.30.0-rc1 and comparator to the commit that
targets v4.30.0-rc1 (the same commit we used to pin for the patch).
Keep the landrun @main fix — that is still the right change.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@kim-em
kim-em merged commit 71da5c1 into main Apr 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

landrun sandbox fails on Linux when comparator uses elan's lake shim and misses the ELF loader

1 participant