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

Make dcou faster and check lib targets as well #2127

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

ryoqun
Copy link
Member

@ryoqun ryoqun commented Jul 14, 2024

Problem

Summary of Changes

Check lib targets as well and that makes dcou ci jobs even longer. so, use cargo-hack --partition to accelerate dcou checks. really thanks @taiki-e

Before:

image

After:

image

Fixes #

@ryoqun ryoqun changed the title save [wip] Accelerate dcou checks by partitioning Jul 14, 2024
@ryoqun ryoqun mentioned this pull request Aug 8, 2024
@ryoqun ryoqun changed the title [wip] Accelerate dcou checks by partitioning Make dcou faster and check lib targets as well Aug 8, 2024
@ryoqun ryoqun requested a review from yihau August 8, 2024 13:37
@ryoqun ryoqun marked this pull request as ready for review August 8, 2024 13:37
Comment on lines +5 to +6
scripts/check-dev-context-only-utils.sh check-all-targets "$@"
scripts/check-dev-context-only-utils.sh check-bins-and-lib "$@"
Copy link
Member Author

@ryoqun ryoqun Aug 8, 2024

Choose a reason for hiding this comment

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

thanks to the new --partition flag, i've changed to shard both modes check-bins (now called check-bins-and-lib) and check-all-targets more evenly.

Copy link
Member

@yihau yihau left a comment

Choose a reason for hiding this comment

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

the total time has increased slightly, but we have plenty agents atm so I think it's a good trade-off

@ryoqun ryoqun merged commit 08f72d2 into anza-xyz:master Aug 8, 2024
25 checks passed
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