Skip to content

fix(dbaas): send pg-migration-ignore-dbs value to API#839

Merged
imiric merged 2 commits into
masterfrom
imiric/fix/1167395-dbaas-update-pg-ignore-dbs
Jun 5, 2026
Merged

fix(dbaas): send pg-migration-ignore-dbs value to API#839
imiric merged 2 commits into
masterfrom
imiric/fix/1167395-dbaas-update-pg-ignore-dbs

Conversation

@imiric
Copy link
Copy Markdown
Member

@imiric imiric commented Jun 5, 2026

Description

Previously the value of --pg-migration-ignore-dbs was being ignored, since the command checked for the value of MysqlMigrationIgnoreDbs instead of PGMigrationIgnoreDbs.

I also took the opportunity to DRY some of our test helpers and move them into a common testutils package.

Part of internal support ticket 1167395.

Checklist

(For exoscale contributors)

  • Changelog updated
  • Testing

Testing

Added a new unit test that confirms the value is correctly sent to the server.

These are generic and useful for any test.

I'd rather this be in an internal/testutils package, but pkg/testutils
is used in the Terraform provider[1], so placed there for consistency.

[1]: https://github.com/exoscale/terraform-provider-exoscale/tree/00698077587665e22c858d99499cb9a7b2567a8e/pkg/testutils
@imiric imiric requested a review from a team June 5, 2026 12:01
Previously the value of `--pg-migration-ignore-dbs` was being ignored,
since the command checked for the value of `MysqlMigrationIgnoreDbs`
instead of `PGMigrationIgnoreDbs`.

Part of internal support ticket 1167395.
@imiric imiric force-pushed the imiric/fix/1167395-dbaas-update-pg-ignore-dbs branch from 9045938 to 98eb406 Compare June 5, 2026 12:08
Copy link
Copy Markdown
Contributor

@natalie-o-perret natalie-o-perret left a comment

Choose a reason for hiding this comment

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

👍 Thanks for catching that one (as well as for the DRY-ing act)! 🙇‍♀️

@imiric
Copy link
Copy Markdown
Member Author

imiric commented Jun 5, 2026

I'm not sure what's the deal with that E2E test failure. It passed in a previous run. 😕

I'll run it once more, but it seems unrelated.

Ah:

error: Conflict: Usage of resource 'network-load-balancer' has been exceeded.

Yeah, unrelated. Merging.

@imiric imiric merged commit ade07c5 into master Jun 5, 2026
9 of 13 checks passed
@imiric imiric deleted the imiric/fix/1167395-dbaas-update-pg-ignore-dbs branch June 5, 2026 12:29
@natalie-o-perret
Copy link
Copy Markdown
Contributor

I'm not sure what's the deal with that E2E test failure. It passed in a previous run. 😕

I'll run it once more, but it seems unrelated.

Ah:

error: Conflict: Usage of resource 'network-load-balancer' has been exceeded.

Yeah, unrelated. Merging.

Yea that's the sadly all too "usual" nlb exhaustion on UAT

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.

2 participants