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

Automatic migration planning #1658

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Conversation

kazimuth
Copy link
Contributor

Description of Changes

Implements planning, does not yet integrate.

API and ABI breaking changes

N/A

Expected complexity level and risk

0

Testing

See added tests.

@bfops bfops added the release-any To be landed in any release window label Sep 3, 2024
pub prechecks: Vec<AutoMigratePrecheck<'def>>,
/// The migration steps to perform.
/// Order should not matter, as the steps are independent.
pub steps: Vec<AutoMigrateStep<'def>>,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it guaranteed to not matter, or does it just happen to be that way because of the types of automigration we do now?

Copy link
Contributor

@cloutiertyler cloutiertyler left a comment

Choose a reason for hiding this comment

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

This looks really good. Left a comment.

@kazimuth
Copy link
Contributor Author

This now also fixes some stuff in ModuleDef introduced by miscommunication while collaborating with Noa

@kazimuth kazimuth added this pull request to the merge queue Sep 11, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Sep 11, 2024
@kazimuth kazimuth added this pull request to the merge queue Sep 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Sep 12, 2024
@kazimuth kazimuth added this pull request to the merge queue Sep 12, 2024
@cloutiertyler cloutiertyler removed this pull request from the merge queue due to a manual request Sep 12, 2024
@cloutiertyler cloutiertyler merged commit 77b2da6 into master Sep 12, 2024
8 checks passed
@kazimuth kazimuth deleted the jgilles/automigrate_plan branch September 12, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants