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

ci: Disable broken rust dry-runs #4384

Merged
merged 3 commits into from
Jan 27, 2024
Merged

ci: Disable broken rust dry-runs #4384

merged 3 commits into from
Jan 27, 2024

Conversation

lrstewart
Copy link
Contributor

@lrstewart lrstewart commented Jan 26, 2024

Description of changes:

While it would be nice to be able to do these dry-runs, they prevent us from making any changes to multiple crates without releases in between each change. For example, if I add a new method to s2n_tls::Connection, I can't use it in s2n_tls_tokio until I release s2n_tls. Because the dry-run uses the dependencies from crates.io, it can't find the new method. See https://github.com/aws/s2n-tls/actions/runs/7632801705/job/20793749145

Call-outs:

I suppose this wouldn't be a blocker if we bumped the version in github immediately after a release instead of just before a release? But as far as I know that's not the standard way to handle versioning in Rust (not the way s2n-quic does it either, at least) and there might be other issues with that model. Also, that would still be equivalent to removing the dry-run, because the dry-run would never run.

Testing:

I have another PR that failed because of this: #4374 Removing the dry runs fixed it.
I also checked that a change in s2n-tls-sys would have the same effect on a change in s2n-tls.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Jan 26, 2024
@lrstewart lrstewart changed the title Disable broken dry-runs ci: Disable broken rust dry-runs Jan 26, 2024
@lrstewart lrstewart marked this pull request as ready for review January 26, 2024 23:16
@lrstewart lrstewart enabled auto-merge (squash) January 27, 2024 06:27
@lrstewart lrstewart merged commit c74f442 into aws:main Jan 27, 2024
31 checks passed
jmayclin pushed a commit to jmayclin/s2n-tls that referenced this pull request Jan 31, 2024
jmayclin pushed a commit to jmayclin/s2n-tls that referenced this pull request Jan 31, 2024
jmayclin pushed a commit to jmayclin/s2n-tls that referenced this pull request Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants