Skip to content

Conversation

@mdgeorge4153
Copy link
Contributor

@mdgeorge4153 mdgeorge4153 commented Oct 28, 2025

Description

This PR changes a few things about rename-from checks:

  • we only check the root package
  • we produce much better error messages
  • the legacy code paths are clearer
  • most of the large legacy tests have been split up and the error messages snapshotted

Test plan

Updated unit tests


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:

@vercel
Copy link

vercel bot commented Oct 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sui-docs Ready Ready Preview Comment Nov 10, 2025 4:46pm
2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
multisig-toolkit Ignored Ignored Preview Nov 10, 2025 4:46pm
sui-kiosk Ignored Ignored Preview Nov 10, 2025 4:46pm

@mdgeorge4153 mdgeorge4153 changed the base branch from main to sui-pkg-alt October 28, 2025 15:38
@mdgeorge4153 mdgeorge4153 changed the title Mdgeorge/pkg alt local rename from [package-alt] rename-from improvements Oct 28, 2025
@mdgeorge4153 mdgeorge4153 marked this pull request as ready for review October 28, 2025 15:40
@mdgeorge4153 mdgeorge4153 temporarily deployed to sui-typescript-aws-kms-test-env October 28, 2025 15:40 — with GitHub Actions Inactive
Comment on lines 472 to 473
root::a::b::d1 refers to { local = "../d1", ... }
root::a::c::d2 refers to { local = "../d2", ... }
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't understand the meaning of the ...

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 supposed to be any other data given in the toml?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes. should I leave it out?

@mdgeorge4153 mdgeorge4153 force-pushed the mdgeorge/pkg-alt-local-rename-from branch from eef300f to ac57960 Compare November 10, 2025 16:44
@mdgeorge4153 mdgeorge4153 temporarily deployed to sui-typescript-aws-kms-test-env November 10, 2025 16:44 — with GitHub Actions Inactive
@mdgeorge4153 mdgeorge4153 enabled auto-merge (squash) November 10, 2025 16:44
@mdgeorge4153 mdgeorge4153 merged commit bb2f670 into sui-pkg-alt Nov 10, 2025
53 of 54 checks passed
@mdgeorge4153 mdgeorge4153 deleted the mdgeorge/pkg-alt-local-rename-from branch November 10, 2025 17:02
stefan-mysten pushed a commit to stefan-mysten/sui that referenced this pull request Nov 10, 2025
Changed a few things about rename-from checks:
 - we only check the root package
 - we produce much better error messages
 - the legacy code paths are clearer
- most of the large legacy tests have been split up and the error
messages snapshotted
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.

3 participants