Skip to content

chore: remove testonly for non-test targets#10137

Merged
nmattia merged 3 commits into
masterfrom
nm-remove-testonly
May 15, 2026
Merged

chore: remove testonly for non-test targets#10137
nmattia merged 3 commits into
masterfrom
nm-remove-testonly

Conversation

@nmattia
Copy link
Copy Markdown
Contributor

@nmattia nmattia commented May 8, 2026

The testonly tag was used very liberally throughout the codebase, and was applied to many targets that definitely were not test only (like ic-admin, published pocket-ic executables, etc). This removes some of the uses of testonly (it tends to spread like wildfire).

@github-actions github-actions Bot added the chore label May 8, 2026
@nmattia
Copy link
Copy Markdown
Contributor Author

nmattia commented May 8, 2026

(will need to update the cargo deps as well)

@nmattia nmattia marked this pull request as ready for review May 8, 2026 10:53
@nmattia nmattia requested review from a team as code owners May 8, 2026 10:53
github-actions[bot]

This comment was marked as spam.

Copy link
Copy Markdown
Collaborator

@basvandijk basvandijk left a comment

Choose a reason for hiding this comment

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

I remember there was some reason to mark them as testonly but can't remember the details. But I guess if CI passes it's good!

Comment thread rs/crypto/iccsa/test_utils/BUILD.bazel
Comment thread rs/nns/init/src/lib.rs
@nmattia nmattia force-pushed the nm-remove-testonly branch from 5eec3ae to 5774399 Compare May 15, 2026 11:45
The `testonly` tag was used very liberally throughout the codebase, and
was applied to many targets that definitely were not test only (like
ic-admin, published pocket-ic executables, etc). This removes some of
the uses of `testonly` (it tends to spread like wildfire).
@nmattia nmattia force-pushed the nm-remove-testonly branch from 5774399 to 6cb4eaf Compare May 15, 2026 11:46
@nmattia nmattia enabled auto-merge May 15, 2026 11:51
@nmattia nmattia force-pushed the nm-remove-testonly branch from 7a2579a to dc70f49 Compare May 15, 2026 12:39
@nmattia nmattia added this pull request to the merge queue May 15, 2026
Merged via the queue into master with commit 97572a0 May 15, 2026
37 checks passed
@nmattia nmattia deleted the nm-remove-testonly branch May 15, 2026 13:37
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.

5 participants