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

[exp-to-insta][9/n] Migrate move-package tests #21080

Merged
merged 11 commits into from
Feb 5, 2025

Conversation

tnowacki
Copy link
Contributor

@tnowacki tnowacki commented Feb 4, 2025

Description

  • Migrated move-package tests

Test plan

  • 👀

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:

@tnowacki tnowacki requested a review from a team February 4, 2025 02:45
Copy link

vercel bot commented Feb 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 5, 2025 7:47pm
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Feb 5, 2025 7:47pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Feb 5, 2025 7:47pm

Copy link
Contributor

@tzakian tzakian left a comment

Choose a reason for hiding this comment

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

Couple little cleanup nits. Otherwise LGTM

toml_path: &'a Path,
kind: &'a str,
) -> datatest_stable::Result<Test<'a>> {
dbg!(&toml_path);
Copy link
Contributor

Choose a reason for hiding this comment

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

Leftover dbg!.

Comment on lines 23 to 25
pub fn snapshot_path(pkg: &Path, name: &str, kind: &str) -> PathBuf {
pkg.join(format!("{name}@{kind}.snap"))
}
Copy link
Contributor

Choose a reason for hiding this comment

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

It appears as though this function is unused. Not sure if you were planning on using this instead of the snapshot_path function in test_dependency_graph or not.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was used in an earlier commit, missed the cleanup, thanks!

@tnowacki tnowacki temporarily deployed to sui-typescript-aws-kms-test-env February 5, 2025 19:45 — with GitHub Actions Inactive
@tnowacki tnowacki enabled auto-merge (squash) February 5, 2025 19:55
@tnowacki tnowacki merged commit a452109 into MystenLabs:main Feb 5, 2025
43 checks passed
@tnowacki tnowacki deleted the insta-package branch February 5, 2025 21:11
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