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(CI): Add unused dependencies check #1741

Merged
merged 25 commits into from
Aug 16, 2024
Merged

Conversation

DaughterOfMars
Copy link
Contributor

Description of change

Adds unused dependency checks. These are per-crate like tests as it requires building.

Links to any relevant issues

Closes #1664

@thibault-martinez
Copy link
Member

There are no false positives to allow at all?

@DaughterOfMars
Copy link
Contributor Author

There are no false positives to allow at all?

not that I know of

@DaughterOfMars DaughterOfMars requested review from a team and valeriyr as code owners August 12, 2024 16:34
@thibault-martinez
Copy link
Member

This PR is removing 23 dependencies from a complete compilation :)

Copy link
Member

@thibault-martinez thibault-martinez left a comment

Choose a reason for hiding this comment

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

Some little udeps failures

Copy link
Member

@Thoralf-M Thoralf-M left a comment

Choose a reason for hiding this comment

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

Great!

@thibault-martinez
Copy link
Member

thibault-martinez commented Aug 16, 2024

please wait for CI to be done to merge

@thibault-martinez thibault-martinez merged commit 5659d99 into develop Aug 16, 2024
154 of 161 checks passed
@thibault-martinez thibault-martinez deleted the dev-tools/udeps branch August 16, 2024 12:34
bingyanglin pushed a commit that referenced this pull request Aug 19, 2024
* chore(CI): Add unused dependencies check

* comment

* use flags matrix

* Add a comment to force workflow run

* fix duplicate flags and add to external

* remove unused dependencies

* Remove more unused dependencies

* More ignores

* do external udeps

* lock file

* fix doc tests

* fix mysten-common

* revert doc

* a few more unused deps

* external

* merge methods

* review

---------

Co-authored-by: Thibault Martinez <[email protected]>
alexsporn pushed a commit that referenced this pull request Sep 6, 2024
* chore(CI): Add unused dependencies check

* comment

* use flags matrix

* Add a comment to force workflow run

* fix duplicate flags and add to external

* remove unused dependencies

* Remove more unused dependencies

* More ignores

* do external udeps

* lock file

* fix doc tests

* fix mysten-common

* revert doc

* a few more unused deps

* external

* merge methods

* review

---------

Co-authored-by: Thibault Martinez <[email protected]>
alexsporn pushed a commit that referenced this pull request Sep 6, 2024
* chore(CI): Add unused dependencies check

* comment

* use flags matrix

* Add a comment to force workflow run

* fix duplicate flags and add to external

* remove unused dependencies

* Remove more unused dependencies

* More ignores

* do external udeps

* lock file

* fix doc tests

* fix mysten-common

* revert doc

* a few more unused deps

* external

* merge methods

* review

---------

Co-authored-by: Thibault Martinez <[email protected]>
alexsporn pushed a commit that referenced this pull request Sep 6, 2024
* chore(CI): Add unused dependencies check

* comment

* use flags matrix

* Add a comment to force workflow run

* fix duplicate flags and add to external

* remove unused dependencies

* Remove more unused dependencies

* More ignores

* do external udeps

* lock file

* fix doc tests

* fix mysten-common

* revert doc

* a few more unused deps

* external

* merge methods

* review

---------

Co-authored-by: Thibault Martinez <[email protected]>
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.

[Task (CI)]: add a udeps workflow
5 participants