Skip to content

feat!: make backups a generic, opt-in provider capability#9

Merged
utkuerol merged 1 commit into
mainfrom
utku/backups
Jul 21, 2026
Merged

feat!: make backups a generic, opt-in provider capability#9
utkuerol merged 1 commit into
mainfrom
utku/backups

Conversation

@utkuerol

@utkuerol utkuerol commented Jul 21, 2026

Copy link
Copy Markdown
Member

Reworks backups from fixed Provider methods (using lib-defined model.TakeBackupArgs) into an opt-in Backups[BackupParams] interface generic over the provider's own request type like CreateParams/Status/UpdateParams.

  • Backup methods moved from Provider into Backups[BackupParams], mounted via
    new RegisterBackupRoutes (RegisterRoutes is now CRUD-only).
  • BackupStatus slimmed to the Codesphere contract { exists, error }.
  • Removed UnimplementedBackups (opting out = implement nothing)

Breaking:

  • Provider no longer has the backup methods
  • RegisterRoutes no longer mounts /backups.

@utkuerol
utkuerol requested a review from a team as a code owner July 21, 2026 17:38
@utkuerol
utkuerol merged commit 81f16e6 into main Jul 21, 2026
3 checks passed
@utkuerol
utkuerol deleted the utku/backups branch July 21, 2026 17:41
utkuerol pushed a commit that referenced this pull request Jul 21, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.4.0](v0.3.1...v0.4.0)
(2026-07-21)


### ⚠ BREAKING CHANGES

* make backups a generic, opt-in provider capability
([#9](#9))

### Features

* add helpers for k8s jobs and wrappers for backup operations
([#5](#5))
([c7ec776](c7ec776))
* make backups a generic, opt-in provider capability
([#9](#9))
([81f16e6](81f16e6))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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