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
Improve the cleaning process for the failed preload actions #6059
Comments
Note: the same is happening with RUCSS when executing |
Acceptance Criteria:
|
@Mai-Saad For RUCSS we have
|
Currently we are using the
If we don't want to keep them then we would just have a add them inside that logic.
|
Reproduce the problemAs we already discussed and reproduced the issue during a meeting last week I consider this as done. Identify the root causeThe root cause is that the cleaner is not clearing errors cf: Scope a solutionThe solution from @piotrbak is related to the wrong table (wpr table instead of AS table).
As per discussion with @piotrbak we need to support RUCSS failed action if possible and we do not need a specific filter for failed action retention. Due tot that the solution will be to add the failed actions to the statuses to clean: For that we just have to add Estimate the effortEffort |
Looks good to me 👍🏼 |
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug
It looks like our implementation of actions clearing is not taking into the consideration
failed
actions in the database.To Reproduce
Steps to reproduce the behavior:
rocket_preload_process_pending
event.Expected behavior
We should also clean the failed actions, as they can stuck in the logs for a very long time. In my case, it looks like AS is not clearing them at all as this one is in the logs for 7 months.
Additional context
Not sure if we should use the same cleaner or different one, it might be useful to have ability to disable this cleaner for debugging purposes.
It's a part of this issue:
#6052
And database health in general can be improved by implementing also those issues:
#6057
#6058
Backlog Grooming (for WP Media dev team use only)
The text was updated successfully, but these errors were encountered: