Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - fix: comment more cache #17491

Closed
wants to merge 1 commit into from

Conversation

adomani
Copy link
Collaborator

@adomani adomani commented Oct 7, 2024

The previous fix was an improvement, but was not aggressive enough in commenting the failing step.

This step used to use cache to download the cache for Mathlib.Init. If this was successful, then it would continue trying to download all of the available cache. Otherwise, it would start with building. The underlying reason is that if even the cache for Mathlib.Init is not there, there is not much of an available cache and there is no need to spend a couple of minutes realizing as much.

However, changes to lake build --no-buld (possibly) have made this step always fail to download any cache, so we revert to the old behaviour of trying to get the cache no matter what.


Open in Gitpod

Copy link

github-actions bot commented Oct 7, 2024

PR summary e7ecd9d586

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/declarations_diff.sh <optional_commit>

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

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

@github-actions github-actions bot added the CI Modifies the continuous integration / deployment setup label Oct 7, 2024
@bryangingechen
Copy link
Contributor

Thanks!
bors r+

@github-actions github-actions bot added the ready-to-merge This PR has been sent to bors. label Oct 7, 2024
mathlib-bors bot pushed a commit that referenced this pull request Oct 7, 2024
The previous fix was an improvement, but was not aggressive enough in commenting the failing step.

This step used to use `cache` to download the cache for `Mathlib.Init`.  If this was successful, then it would continue trying to download all of the available cache.  Otherwise, it would start with building.  The underlying reason is that if even the cache for `Mathlib.Init` is not there, there is not much of an available cache and there is no need to spend a couple of minutes realizing as much.

However, changes to `lake build --no-buld` (possibly) have made this step always fail to download any cache, so we revert to the old behaviour of trying to get the cache no matter what.
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 7, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title fix: comment more cache [Merged by Bors] - fix: comment more cache Oct 7, 2024
@mathlib-bors mathlib-bors bot closed this Oct 7, 2024
@mathlib-bors mathlib-bors bot deleted the adomani/comment_more_cache branch October 7, 2024 14:27
@digama0
Copy link
Member

digama0 commented Oct 11, 2024

cc: @tydeu so he is aware of this issue

@tydeu
Copy link
Collaborator

tydeu commented Oct 15, 2024

@digama0 This was discussed on Zulip and a fix was implemented in leanprover/lean4#5641.

mathlib-bors bot pushed a commit that referenced this pull request Nov 7, 2024
This check had been removed (cf #17490 and #17491) since it stopped working temporarily.  It seems that it works again!  🐙 

(According to a comment on #17491, the fix was apparently in leanprover/lean4#5641)
TobiasLeichtfried pushed a commit that referenced this pull request Nov 21, 2024
This check had been removed (cf #17490 and #17491) since it stopped working temporarily.  It seems that it works again!  🐙 

(According to a comment on #17491, the fix was apparently in leanprover/lean4#5641)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Modifies the continuous integration / deployment setup ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants