-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scripts+bw-compatibility-test: update Dave and make it use sqlite #9655
scripts+bw-compatibility-test: update Dave and make it use sqlite #9655
Conversation
Important Review skippedAuto reviews are limited to specific labels. 🏷️ Labels to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
2af6ef1
to
04565d4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, LGTM 🎉
04565d4
to
4c5f533
Compare
@@ -45,6 +45,16 @@ wait_for_active_chans bob 2 | |||
# Show that Bob is now running the current branch. | |||
do_for print_version bob | |||
|
|||
# Upgrade the compose variables so that the Dave configuration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think we should first run the basic tests for bob before updating dave. otherwise we are not testing the send/receive/route with bob on the PR while dave is still on master. So bugs can slip through here in the case where send and receive only work if both nodes have upgraded
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! Changed to run the basic tests after Bob is upgraded as well as after Dave is upgraded (to see that a migration doesn't bork anything).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool - thanks 🙏
4c5f533
to
a427a87
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thanks for the update - will defs be useful for when we add more migrations
@@ -45,6 +45,16 @@ wait_for_active_chans bob 2 | |||
# Show that Bob is now running the current branch. | |||
do_for print_version bob | |||
|
|||
# Upgrade the compose variables so that the Dave configuration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool - thanks 🙏
# upgrade_node shuts down the stable container for a node (currently | ||
# Bob or Dave), upgrades the compose variables, rebuilds the PR version, | ||
# and starts it. | ||
function upgrade_node() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice 🙏
With this change, we'll test that a node with SQLite backend (using mixed KV and native schema) remains backward compatible.
It helps prevent incompatibility issues caused by SQL schema changes or invalid migrations, like the one fixed in: #9647.