bazel-contrib / bazel-contrib/rules_go

Allow support for manual sharding for go_test rule

Open
#4,382 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.