Skip to content

[Configuration] Make --only to force clear cache to ensure next normal run start from fresh state#7641

Closed
samsonasik wants to merge 1 commit intomainfrom
clear-cache-on-only
Closed

[Configuration] Make --only to force clear cache to ensure next normal run start from fresh state#7641
samsonasik wants to merge 1 commit intomainfrom
clear-cache-on-only

Conversation

@samsonasik
Copy link
Copy Markdown
Member

@samsonasik
Copy link
Copy Markdown
Member Author

implemented 👍 /cc @ghbob

@samsonasik samsonasik changed the title [Configuration] Make --only to force clear cache to ensure next normal run strat from fresh state [Configuration] Make --only to force clear cache to ensure next normal run start from fresh state Nov 19, 2025
@samsonasik
Copy link
Copy Markdown
Member Author

All checks have passed 🎉 @TomasVotruba it is ready for review.

@samsonasik samsonasik marked this pull request as draft November 19, 2025 18:54
@samsonasik
Copy link
Copy Markdown
Member Author

It seems not really clear cache, next normal run still on cache:

➜  rector-src git:(clear-cache-on-only) bin/rector process src/Application/ApplicationFileProcessor.php --only="CombinedAssignRector"
 1/1 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
 [OK] Rector is done!                                                                                                   
                                                                                                                       
➜  rector-src git:(clear-cache-on-only) bin/rector process src/Application/ApplicationFileProcessor.php                              
                                                                                                                  
 [OK] Rector is done!                                                                                                                                                                                                                     

I will look more ..

@samsonasik
Copy link
Copy Markdown
Member Author

Okay, clearing cache should on the last

@samsonasik
Copy link
Copy Markdown
Member Author

Closing for now, as it may require "flag" previous run is with --only in cache

@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--only breaks next "normal" runs

1 participant