Skip to content

Conversation

@mrrobot47
Copy link
Member

@mrrobot47 mrrobot47 commented Dec 8, 2025

This pull request adds retry logic to the EasyEngine Dashboard API callback functionality in the Site_Backup_Restore.php helper. The main improvement is that failed HTTP requests due to server-side errors (5xx responses) will now be retried up to three times with a five-minute delay between attempts, increasing the reliability of backup status notifications.

Enhancements to API callback reliability:

  • Added a retry mechanism in send_dash_request to automatically retry up to three times when a 5xx server error is encountered, with a five-minute delay between attempts.
  • Improved error handling and logging: now logs warnings and debug information for each failed attempt, and provides clearer messages for exhausted retries or other error codes.

Copilot AI review requested due to automatic review settings December 8, 2025 08:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds retry logic with exponential backoff for HTTP requests to the EasyEngine Dashboard API when backup/restore callbacks encounter 5xx server errors. The implementation aims to improve reliability when the dashboard API is temporarily unavailable.

Key Changes:

  • Implements a retry mechanism with up to 3 retries for 5xx HTTP errors
  • Adds 5-minute delays between retry attempts
  • Updates terminology from "EasyDash" to "EasyEngine Dashboard" in user-facing messages

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mrrobot47 mrrobot47 merged commit bc2b9a0 into EasyEngine:develop Dec 8, 2025
7 of 11 checks passed
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.

1 participant

SYSTEM_READY >> ...MS