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

Swift: SingleValueStmtExpr migration scripts #14525

Conversation

AlexDenisov
Copy link
Contributor

No description provided.

@AlexDenisov AlexDenisov requested a review from a team as a code owner October 17, 2023 12:22
@github-actions github-actions bot added the Swift label Oct 17, 2023
@geoffw0
Copy link
Contributor

geoffw0 commented Oct 17, 2023

Would you mind linking to the associated change that defines single_value_stmt_exprs in the .dbscheme and extracts it?

Do you think we need to populate unspecified_element_parents and/or unspecified_element_indices for the new nspecified_elements?

As ever with upgrade / downgrade scripts, this will need some manual testing.

@AlexDenisov
Copy link
Contributor Author

Would you mind linking to the associated change that defines single_value_stmt_exprs in the .dbscheme and extracts it?

They are in the target branch/PR, here is the commit.

Do you think we need to populate unspecified_element_parents and/or unspecified_element_indices for the new nspecified_elements?

I don't think so as we are not attaching new unspecified_elements to anything? 🤔

As ever with upgrade / downgrade scripts, this will need some manual testing.

I did manual testing locally, but of course more testing in such cases is always a good idea.

@geoffw0
Copy link
Contributor

geoffw0 commented Oct 18, 2023

more testing in such cases is always a good idea.

I doubt I'll get around to this until Friday at best. You can wait and perhaps remind me then. Or someone else can review and merge - I have no concerns apart from wanting to build a bit higher confidence.

@MathiasVP
Copy link
Contributor

FWIW, I think this LGTM as well 👍.

Copy link
Contributor

@geoffw0 geoffw0 left a comment

Choose a reason for hiding this comment

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

In which case approved. 👍

(though if you'd rather I did some additional testing, we can still wait and do that)

@AlexDenisov
Copy link
Contributor Author

In which case approved. 👍

(though if you'd rather I did some additional testing, we can still wait and do that)

It's going to be merged into another WIP branch, in which I want to start a DCA run. I think we can then still do more tests before merging into main.

@AlexDenisov AlexDenisov merged commit 1ab4a21 into alexdenisov/upgrade-to-swift-5.9 Oct 18, 2023
2 checks passed
@AlexDenisov AlexDenisov deleted the alexdenisov/swift.5.9-upgrade-script branch October 18, 2023 12:27
@geoffw0
Copy link
Contributor

geoffw0 commented Oct 18, 2023

Sounds good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants