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

Remove crate check workflow for non -sys crates #803

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

jamesbornholt
Copy link
Member

@jamesbornholt jamesbornholt commented Mar 7, 2024

Description of change

This workflow exists because we're worried about the 10MiB limit. The
sys crate is the only one that's in any danger of hitting that limit
because it's packaging a ton of C code, including an entire TLS
implementation. This workflow is also broken (#700) when updating crate
versions for multiple crates at the same time, which we really want to
do.

Since we only care about the size of the sys crate, let's only check
that one.

Does this change impact existing behavior?

No.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

This workflow exists because we're worried about the 10MiB limit. The
sys crate is the only one that's in any danger of hitting that limit
because it's packaging a ton of C code, including an entire TLS
implementation. This workflow is also broken (awslabs#700) when updating crate
versions for multiple crates at the same time, which we really want to
do.

Since we only care about the size of the sys crate, let's only check
that one.

Signed-off-by: James Bornholt <[email protected]>
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests March 7, 2024 19:28 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests March 7, 2024 19:28 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests March 7, 2024 19:28 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests March 7, 2024 19:28 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests March 7, 2024 19:28 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests March 7, 2024 19:28 — with GitHub Actions Inactive
@jamesbornholt jamesbornholt temporarily deployed to PR integration tests March 7, 2024 19:28 — with GitHub Actions Inactive
Copy link
Contributor

@passaro passaro left a comment

Choose a reason for hiding this comment

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

Happy to unblock #700 for now, but I'd like to understand if the comment on line 32 is wrong:

 # `--no-verify` avoids building using crates.io dependencies, which for local packages may not be updated yet

@jamesbornholt
Copy link
Member Author

Happy to unblock #700 for now, but I'd like to understand if the comment on line 32 is wrong:

 # `--no-verify` avoids building using crates.io dependencies, which for local packages may not be updated yet

--no-verify just turns off the final step of cargo package where it extracts the final .tar file to a new directory and tries to build it. But the dependency resolution still needs to succeed.

@jamesbornholt jamesbornholt marked this pull request as ready for review March 7, 2024 22:18
@jamesbornholt jamesbornholt added this pull request to the merge queue Mar 7, 2024
Merged via the queue into awslabs:main with commit a732473 Mar 7, 2024
23 checks passed
@jamesbornholt jamesbornholt deleted the remove-crates-workflow branch March 7, 2024 22:34
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