Skip to content
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

Add testing for the patch system #8303

Merged
merged 1 commit into from
Feb 5, 2025
Merged

Add testing for the patch system #8303

merged 1 commit into from
Feb 5, 2025

Conversation

msullivan
Copy link
Member

We test actually applying all of our real patches on release branches,
but this adds testing on the master branch of the patch system itself.

It works in basically the same way as our inplace upgrade tests: by
creating a database, and then applying a diff that makes some
synthetic testing changes to the server/compiler.

I (re)discovered some various frustrating limitations of the patch system
while doing this, but haven't fixed those yet.

Fixes #5804.

msullivan added a commit that referenced this pull request Feb 5, 2025
It didn't work if it actually had any schema to repair.  Testing this
is annoying because it only comes up in the presence of bugs or patches,
basically.

It will get exercised by #8303.
@msullivan msullivan force-pushed the A-inplace-patches branch 2 times, most recently from c595f7a to 1bd1ce9 Compare February 5, 2025 03:20
We test actually applying all of our real patches on release branches,
but this adds testing on the master branch of the patch system itself.

It works in basically the same way as our inplace upgrade tests: by
creating a database, and then applying a diff that makes some
synthetic testing changes to the server/compiler.

I (re)discovered some various frustrating limitations of the patch system
while doing this, but haven't fixed those yet.

Fixes #5804.
msullivan added a commit that referenced this pull request Feb 5, 2025
It didn't work if it actually had any schema to repair.  Testing this
is annoying because it only comes up in the presence of bugs or patches,
basically.

It will get exercised by #8303.
@msullivan msullivan merged commit 15de3c6 into master Feb 5, 2025
28 checks passed
@msullivan msullivan deleted the A-inplace-patches branch February 5, 2025 04:45
msullivan added a commit that referenced this pull request Feb 5, 2025
It didn't work if it actually had any schema to repair.  Testing this
is annoying because it only comes up in the presence of bugs or patches,
basically.

It will get exercised by #8303.
deepbuzin pushed a commit that referenced this pull request Feb 18, 2025
It didn't work if it actually had any schema to repair.  Testing this
is annoying because it only comes up in the presence of bugs or patches,
basically.

It will get exercised by #8303.
deepbuzin pushed a commit that referenced this pull request Feb 18, 2025
We test actually applying all of our real patches on release branches,
but this adds testing on the master branch of the patch system itself.

It works in basically the same way as our inplace upgrade tests: by
creating a database, and then applying a diff that makes some
synthetic testing changes to the server/compiler.

I (re)discovered some various frustrating limitations of the patch
system
while doing this, but haven't fixed those yet.

Fixes #5804.
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