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

CI: caching: keep-going #2535

Conversation

Anton-Latukha
Copy link
Collaborator

@Anton-Latukha Anton-Latukha commented Dec 23, 2021

This solves the build all problem when all projects can't infer the consitent
package version.

Also would allow caching workflow on manual start - to work & cache in a broken
or complex PRs.

This solves the `build all` problem when all projects can't infer the consitent
package version.

Also would allow caching workflow on manual start - to work & cache in a broken
or complex PRs.
Copy link
Member

@jneira jneira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah we have to build as many deps as possible, thanks!

@jneira jneira added merge me Label to trigger pull request merge and removed merge me Label to trigger pull request merge labels Dec 23, 2021
@jneira
Copy link
Member

jneira commented Dec 23, 2021

Still a draft, merge it when you consider

@Anton-Latukha
Copy link
Collaborator Author

Anton-Latukha commented Dec 23, 2021

Yes. @jneira, the main idea & strength is that PR checks (test & bench) are the checkgate of configuration consistency. & caching runs in already consistent master after that. That is why we can weaken the check rules in caching to increase caching, for master consistency was already insured before that.

But inside the PRs this same property allows building through failing parts of the project configuration like through butter & cache what is possible.

@Anton-Latukha Anton-Latukha marked this pull request as ready for review December 23, 2021 19:56
@Anton-Latukha Anton-Latukha marked this pull request as draft December 23, 2021 19:57
@Anton-Latukha
Copy link
Collaborator Author

Well. Wanted to investigate how to manually run caching workflow. Long story short - it is only possible from the internal branch (wanted to do a PR to myself in the fork, but found that an additional requirement is that the main branch already has that workflow).

@Anton-Latukha Anton-Latukha marked this pull request as ready for review December 23, 2021 21:10
@Anton-Latukha Anton-Latukha added the merge me Label to trigger pull request merge label Dec 23, 2021
@mergify mergify bot merged commit ab8c52b into haskell:master Dec 23, 2021
@Anton-Latukha Anton-Latukha deleted the 2021-12-23-all-dep-solve-fault-rolerant-cache branch December 23, 2021 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Label to trigger pull request merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants