Skip to content

[Merged by Bors] - ci: get cache for parent commit, try 2 (revert #36608)#36623

Closed
bryangingechen wants to merge 8 commits intoleanprover-community:masterfrom
bryangingechen:get-parent-cache-2026-03-13
Closed

[Merged by Bors] - ci: get cache for parent commit, try 2 (revert #36608)#36623
bryangingechen wants to merge 8 commits intoleanprover-community:masterfrom
bryangingechen:get-parent-cache-2026-03-13

Conversation

@bryangingechen
Copy link
Copy Markdown
Contributor

@bryangingechen bryangingechen commented Mar 13, 2026

With the update to leantar v0.1.17, the changes from #33044 should be OK again.

This reverts commit 911abcf.

Cf. #mathlib4 > Mathlib has moved to the new module system @ 💬


Open in Gitpod

@bryangingechen bryangingechen requested a review from adomani March 13, 2026 22:47
@github-actions github-actions bot added the CI Modifies the continuous integration setup or other automation label Mar 13, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 13, 2026

PR summary 709cd81678

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/reporting/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

Workflow documentation reminder

This PR modifies files under .github/workflows/.
Please update docs/workflows.md if the workflow inventory, triggers, or behavior changed.

Modified workflow files:

  • .github/workflows/build_template.yml

@adomani
Copy link
Copy Markdown
Contributor

adomani commented Mar 13, 2026

Ok, let's try again!

I can't monitor the result, though, so I'm delegating.

bors d+

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 13, 2026

✌️ bryangingechen can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@mathlib-triage mathlib-triage bot added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Mar 13, 2026
@bryangingechen
Copy link
Copy Markdown
Contributor Author

bors r+

@mathlib-triage mathlib-triage bot added the ready-to-merge This PR has been sent to bors. label Mar 13, 2026
mathlib-bors bot pushed a commit that referenced this pull request Mar 13, 2026
@bryangingechen
Copy link
Copy Markdown
Contributor Author

bors r-

@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 13, 2026

Canceled.

@mathlib-triage mathlib-triage bot removed ready-to-merge This PR has been sent to bors. delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). labels Mar 13, 2026
@bryangingechen bryangingechen added the awaiting-author A reviewer has asked the author a question or requested changes. label Mar 13, 2026
@bryangingechen
Copy link
Copy Markdown
Contributor Author

We had to revert the leantar update in #336614; I'll merge after we figure out what's going on.

@bryangingechen bryangingechen force-pushed the get-parent-cache-2026-03-13 branch from f0c895d to 96a72f8 Compare March 13, 2026 23:26
@bryangingechen
Copy link
Copy Markdown
Contributor Author

bors try

mathlib-bors bot pushed a commit that referenced this pull request Mar 13, 2026
With the update to leantar v0.1.17, the changes from #33044 should be OK again.

This reverts commit 911abcf.

Cf. [#mathlib4 > Mathlib has moved to the new module system @ 💬](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Mathlib.20has.20moved.20to.20the.20new.20module.20system/near/579345546)
@bryangingechen
Copy link
Copy Markdown
Contributor Author

bors try

mathlib-bors bot pushed a commit that referenced this pull request Mar 13, 2026
With the update to leantar v0.1.17, the changes from #33044 should be OK again.

This reverts commit 911abcf.

Cf. [#mathlib4 > Mathlib has moved to the new module system @ 💬](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Mathlib.20has.20moved.20to.20the.20new.20module.20system/near/579345546)
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 13, 2026

This reverts commit d56326c.
This reverts commit 6fd1282.
@bryangingechen
Copy link
Copy Markdown
Contributor Author

OK, I believe https://github.com/leanprover-community/mathlib4/actions/runs/23075369138/job/67034465629#step:33:33 is a test showing cache upload works with v0.1.17.

Let me try once again.
bors r+

mathlib-bors bot pushed a commit that referenced this pull request Mar 14, 2026
With the update to leantar v0.1.17, the changes from #33044 should be OK again.

This reverts commit 911abcf.

Cf. [#mathlib4 > Mathlib has moved to the new module system @ 💬](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Mathlib.20has.20moved.20to.20the.20new.20module.20system/near/579345546)
@mathlib-triage mathlib-triage bot added ready-to-merge This PR has been sent to bors. and removed awaiting-author A reviewer has asked the author a question or requested changes. labels Mar 14, 2026
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Mar 14, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title ci: get cache for parent commit, try 2 (revert #36608) [Merged by Bors] - ci: get cache for parent commit, try 2 (revert #36608) Mar 14, 2026
@mathlib-bors mathlib-bors bot closed this Mar 14, 2026
mathlib-bors bot pushed a commit that referenced this pull request Apr 5, 2026
…hain (#37653)

#37564 changed `cache` so that it looks for a bundled `leantar` rather than downloading a copy. This caused the "warmup cache" step introduced in #36623 to break since the "previous" commit being fetched could be using an older toolchain.

We fix this by simply skipping getting the cache for the previous commit if the toolchain differs. It's likely that the oleans are all invalidated anyways.

Prepared with claude code.
riccardobrasca pushed a commit to riccardobrasca/mathlib4 that referenced this pull request Apr 6, 2026
…hain (leanprover-community#37653)

leanprover-community#37564 changed `cache` so that it looks for a bundled `leantar` rather than downloading a copy. This caused the "warmup cache" step introduced in leanprover-community#36623 to break since the "previous" commit being fetched could be using an older toolchain.

We fix this by simply skipping getting the cache for the previous commit if the toolchain differs. It's likely that the oleans are all invalidated anyways.

Prepared with claude code.
YellPika pushed a commit to YellPika/mathlib4 that referenced this pull request Apr 6, 2026
…hain (leanprover-community#37653)

leanprover-community#37564 changed `cache` so that it looks for a bundled `leantar` rather than downloading a copy. This caused the "warmup cache" step introduced in leanprover-community#36623 to break since the "previous" commit being fetched could be using an older toolchain.

We fix this by simply skipping getting the cache for the previous commit if the toolchain differs. It's likely that the oleans are all invalidated anyways.

Prepared with claude code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Modifies the continuous integration setup or other automation ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants