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

Cache unchanged files on dry run v2 #4281

Merged

Conversation

dorrogeray
Copy link
Contributor

@dorrogeray dorrogeray commented Jun 18, 2023

Rework of #3834

PR for issue rectorphp/rector#7932

The idea is to cache unchanged files on --dry-run, so subsequent --dry-runs can be faster, while always producing same results.

@dorrogeray dorrogeray force-pushed the cache-unchanged-files-on-dry-run-v2 branch 4 times, most recently from f037236 to 34062bc Compare June 18, 2023 20:17
@dorrogeray dorrogeray marked this pull request as ready for review June 18, 2023 20:19
@dorrogeray dorrogeray force-pushed the cache-unchanged-files-on-dry-run-v2 branch 3 times, most recently from b6e744a to e4f9015 Compare June 19, 2023 16:27
@dorrogeray
Copy link
Contributor Author

@samsonasik I have created a matrix to run the consecutive test with cache with dry run both with and without parallelization:

https://github.com/rectorphp/rector-src/actions/runs/5314204113/jobs/9621140293?pr=4281

@samsonasik
Copy link
Member

@TomasVotruba e2e workflow update may need to be enabled:

 End to end test - e2e/consecutive-changes-with-cache Expected — Waiting for status to be repo

@dorrogeray dorrogeray force-pushed the cache-unchanged-files-on-dry-run-v2 branch from 23da35d to f7bba1a Compare June 29, 2023 08:58
@TomasVotruba
Copy link
Member

I'll review this now...

@TomasVotruba
Copy link
Member

Thank you @dorrogeray 👍

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.

3 participants