Skip to content

ci: fix fork GitDepWithLampe handling and stdlib cache production#293

Merged
Eduardogbg merged 2 commits into
mainfrom
edu/ci-fork-cache-fixes-pr
May 8, 2026
Merged

ci: fix fork GitDepWithLampe handling and stdlib cache production#293
Eduardogbg merged 2 commits into
mainfrom
edu/ci-fork-cache-fixes-pr

Conversation

@Eduardogbg
Copy link
Copy Markdown
Collaborator

@Eduardogbg Eduardogbg commented May 7, 2026

summary

  • stop rewriting GitDepWithLampe-* revisions in extracted lakefiles during CI
  • build stdlib in place before saving its build cache

why

the existing CI test harness rewrites GitDepWithLampe-* requirements to the current branch/ref. That breaks fork PRs because the generated lakefile still points at https://github.com/reilabs/lampe while the branch name only exists in the fork.

the stdlib cache was also being produced by copying .lake/build out of a temp extraction run. This changes CI to validate extraction first, then produce the reusable stdlib cache from an in-place stdlib/lampe build using the shared Lake package cache.

validation

  • fork behavior validated on a private fork before opening this PR
  • stdlib cache behavior validated on a private probe repo before opening this PR

@Eduardogbg Eduardogbg force-pushed the edu/ci-fork-cache-fixes-pr branch from c9413a0 to 3eb221c Compare May 7, 2026 19:59
@Eduardogbg Eduardogbg merged commit ca98707 into main May 8, 2026
9 checks passed
@Eduardogbg Eduardogbg deleted the edu/ci-fork-cache-fixes-pr branch May 8, 2026 19:26
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.

1 participant