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

chore: don't force rebuild during build-test-wasms #1073

Closed
wants to merge 1 commit into from

Conversation

chadoh
Copy link
Contributor

@chadoh chadoh commented Nov 8, 2023

What

Remove the Cargo.lock prereq from the build-test-wasms task and the check from the all: directive

Why

I don't see a good reason to include these, and they cause most tasks to take significantly longer to run. If there's no strong reason to include them, then it would be nice to save the build time.

Known limitations

These were originally added here #251 and here 0c51782. I don't see a description of why these particular changes were added.

Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

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

I agree with the change. I'm somewhat confused why we're even manually calling cargo update since most cargo commands should do this as part of the typical work. So I'd be curious if we could pull it out entirely, but would like to hear from @2opremio @mollykarcher and other platform folks what the problem being solved is.

@chadoh
Copy link
Contributor Author

chadoh commented Nov 16, 2023

@leighmcculloch I think the rebuild might be caused by the all: check at the top, added by you in 0c51782. I have confirmed that the current change is insufficient to prevent make build-snapshot from recompiling everything every time.

@chadoh chadoh force-pushed the chore/test-wasms-no-rebuild branch from 5443e3c to 4bf2933 Compare November 16, 2023 15:43
@leighmcculloch
Copy link
Member

@chadoh I'm going to look into this today.

@chadoh
Copy link
Contributor Author

chadoh commented Dec 14, 2023

Resolved in a Discord discussion

@chadoh chadoh closed this Dec 14, 2023
@chadoh chadoh deleted the chore/test-wasms-no-rebuild branch December 14, 2023 20:39
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