bazel-contrib / bazel-contrib/rules_go
Allow support for manual sharding for go_test rule
Open
- Dominant language
- Go
- Stars
- 1.5k
- Forks
- 762
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 12
Description
The go_test rule runs a round robin strategy for assigning tests to shards. I want to implement a custom sharding strategy in my application but there is no way around the default one enforced by go_test.
Contributor guide
Research direction
Start by tracing the go_test rule and how it assigns tests to shards, then identify where the current round-robin strategy is enforced. Define how an application can provide a custom sharding strategy and verify that go_test uses it instead of the default behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system, testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100