Skip to content

Drop support for ScaleGrid databases#649

Open
dawiddzhafarov wants to merge 1 commit intolinode:devfrom
dawiddzhafarov:feature/TPT-3946-python-sdk-drop-support-for-scalegrid-databases
Open

Drop support for ScaleGrid databases#649
dawiddzhafarov wants to merge 1 commit intolinode:devfrom
dawiddzhafarov:feature/TPT-3946-python-sdk-drop-support-for-scalegrid-databases

Conversation

@dawiddzhafarov
Copy link

📝 Description

This PR drops support for ScaleGrid databases.

✔️ How to Test

make test-unit

export RUN_DB_TESTS=true
export RUN_DB_FORK_TESTS=true
make TEST_SUITE=database test-int
(2 integration tests fail but they are unrelated to these changes - there is a ticket to fix them)

@dawiddzhafarov dawiddzhafarov marked this pull request as ready for review February 17, 2026 11:36
@dawiddzhafarov dawiddzhafarov requested a review from a team as a code owner February 17, 2026 11:36
@dawiddzhafarov dawiddzhafarov requested review from Copilot, lgarber-akamai and yec-akamai and removed request for a team February 17, 2026 11:36
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 PR removes support for ScaleGrid legacy database clusters by eliminating all backup-related functionality from the Managed Database API. The changes are part of deprecating an old database platform that is no longer supported.

Changes:

  • Removed deprecated backup classes (DatabaseBackup, MySQLDatabaseBackup, PostgreSQLDatabaseBackup)
  • Removed backup-related properties and methods from MySQLDatabase and PostgreSQLDatabase classes
  • Removed ScaleGrid-specific replication properties (replication_type, replication_commit_type)
  • Cleaned up associated unit tests and fixture files

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
linode_api4/objects/database.py Removed deprecated DatabaseBackup classes, backup_create methods, and ScaleGrid-specific properties from MySQL and PostgreSQL database classes
test/unit/objects/database_test.py Removed unit tests for backup listing, creation, and restoration for both MySQL and PostgreSQL
test/fixtures/databases_mysql_instances_123_backups.json Deleted fixture file for MySQL backup listings
test/fixtures/databases_mysql_instances_123_backups_456_restore.json Deleted fixture file for MySQL backup restoration
test/fixtures/databases_postgresql_instances_123_backups.json Deleted fixture file for PostgreSQL backup listings
test/fixtures/databases_postgresql_instances_123_backups_456_restore.json Deleted fixture file for PostgreSQL backup restoration

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

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

Comments