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(IDX): rename test_utils bazel targets to their unique crate names #2136

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

basvandijk
Copy link
Collaborator

@basvandijk basvandijk commented Oct 18, 2024

There are many bazel targets named test_utils. This has the problem that when looking at critical path statistics like:

Screenshot 2024-10-18 at 22 08 05

it's hard to know which test_utils target is being referenced making it harder to know which crate to optimise.

The crates targeted by these test_utils targets do have unique names. I therefor propose to rename the test_utils targets to the crates they target.

I propose the same for other targets like utils and common.

…/ethereum/cketh/test_utils:ic_cketh_test_utils
@github-actions github-actions bot added the chore label Oct 18, 2024
@basvandijk basvandijk changed the title chore(IDX): prefix test_utils bazel targets with an identifying name chore(IDX): rename test_utils bazel targets to their unique crate names Oct 18, 2024
…em/common/test_utils:ic_nervous_system_common_test_utils
…/ethereum/ledger-suite-orchestrator/test_utils:ic_ledger_suite_orchestrator_test_utils
… -> //rs/crypto/internal/crypto_lib/basic_sig/iccsa/test_utils:ic_crypto_internal_basic_sig_iccsa_test_utils
…est_utils -> //rs/rosetta-api/icp/ledger_canister_blocks_synchronizer/test_utils:ic_ledger_canister_blocks_synchronizer_test_utils
…test_utils:test_utils -> //rs/crypto/internal/crypto_lib/threshold_sig/canister_threshold_sig/test_utils:ic_crypto_internal_threshold_sig_canister_threshold_sig_test_utils
@basvandijk basvandijk marked this pull request as ready for review October 18, 2024 22:36
@basvandijk basvandijk requested review from a team as code owners October 18, 2024 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants