Skip to content

Conversation

@SangJunBak
Copy link
Contributor

@SangJunBak SangJunBak commented Nov 20, 2025

See commit messages for details

Motivation

Added these tests in the release qualification pipeline

https://buildkite.com/materialize/release-qualification/builds/1005

Tips for reviewer

Checklist

  • This PR has adequate test coverage / QA involvement has been duly considered. (trigger-ci for additional test/nightly runs)
  • This PR has an associated up-to-date design doc, is a design doc (template), or is sufficiently small to not require a design.
  • If this PR evolves an existing $T ⇔ Proto$T mapping (possibly in a backwards-incompatible way), then it is tagged with a T-proto label.
  • If this PR will require changes to cloud orchestration or tests, there is a companion cloud PR to account for those changes that is tagged with the release-blocker label (example).
  • If this PR includes major user-facing behavior changes, I have pinged the relevant PM to schedule a changelog post.

@SangJunBak SangJunBak force-pushed the jun/multiversion-old-cdc-tests branch 8 times, most recently from 745d0b9 to 52b5525 Compare November 21, 2025 17:03
- Adds helper class for doing 0dt upgrades
- Add a multiversion test for pg-cdc-old-syntax
- Branch on certain testdrive tests due to incompatible syntax
- Change version list filtering for upgrade tests
Filter on versions within the previous unskippable major release. This won't work for 26.0.0 since we can't upgrade from 25.1, so we keep the same conditional
- Add multi-version upgrade tests for Postgres old CDC to release qualification pipeline
@SangJunBak SangJunBak force-pushed the jun/multiversion-old-cdc-tests branch from 52b5525 to 0a340ad Compare November 21, 2025 17:03
@SangJunBak SangJunBak requested a review from def- November 21, 2025 18:21
@SangJunBak SangJunBak marked this pull request as ready for review November 21, 2025 18:21
@SangJunBak SangJunBak requested a review from a team as a code owner November 21, 2025 18:21
@SangJunBak SangJunBak changed the title pg-cdc-old multiversion tests pg-cdc-old-syntax multiversion tests Nov 21, 2025
Comment on lines +538 to +540
if args.mode == "random":
random_initial_version = Random(args.seed).choice(compatible_versions)
versions = [random_initial_version, None]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Initially I wrote this to test a random upgrade path rather than a random direct upgrade, but the test was taking over 2 hours to run doing so. Decided the path testing didn't add much value to this specific test

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