Add schedule-level timeout/retry controls for backup and cloud backup#238
Draft
Copilot wants to merge 2 commits into
Draft
Add schedule-level timeout/retry controls for backup and cloud backup#238Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/mlapaglia/Borgitory/sessions/1887ed9c-b874-4afb-be32-be7562a39f75 Co-authored-by: mlapaglia <4184746+mlapaglia@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add retries and timeout for backup and cloud backup
Add schedule-level timeout/retry controls for backup and cloud backup
May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scheduled backups could hang indefinitely, and cloud sync had no per-schedule retry policy. This PR adds schedule-configurable timeout/retry controls for both backup and cloud backup, and applies them at task execution time so timed-out attempts are retried before final failure.
Schema + persistence
backup_timeout_seconds,backup_retry_count,cloud_sync_timeout_seconds,cloud_sync_retry_counttoschedules.0).API/model wiring
BackupRequest.Task definition propagation
TaskDefinitionBuilderto attach backup/cloud-sync timeout + retry values to task definitions.JobServiceand scheduler-triggered job creation.Execution behavior (backup + cloud sync)
BackupTaskExecutorandCloudSyncTaskExecutor.UI updates (Schedules)