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

NGX-838: Ignore Object Cache flush failures #64

Merged
merged 1 commit into from
Feb 12, 2024
Merged

NGX-838: Ignore Object Cache flush failures #64

merged 1 commit into from
Feb 12, 2024

Conversation

combssm
Copy link
Member

@combssm combssm commented Feb 12, 2024

Ensure task continuity by ignoring non-critical command failures

  • Add to the WordPress cache flush task to prevent non-zero exit codes from failing the playbook execution. This change allows the playbook to continue running even if the cache flush command encounters minor, non-critical errors, ensuring that subsequent tasks are not unjustly impacted by this step's failure status.

This adjustment is made to accommodate scenarios where the wp cache flush command might return a non-zero exit code due to known, benign issues that do not affect the overall success of the operation. It improves playbook resilience and execution consistency across environments with varying cache states.

…ures

- Add  to the WordPress cache flush task to prevent non-zero exit codes from failing the playbook execution. This change allows the playbook to continue running even if the cache flush command encounters minor, non-critical errors, ensuring that subsequent tasks are not unjustly impacted by this step's failure status.

This adjustment is made to accommodate scenarios where the wp cache flush command might return a non-zero exit code due to known, benign issues that do not affect the overall success of the operation. It improves playbook resilience and execution consistency across environments with varying cache states.
@combssm combssm merged commit dd885d7 into master Feb 12, 2024
8 checks passed
@combssm combssm deleted the NGX-838 branch February 12, 2024 20:59
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.

None yet

1 participant