aspect-build / aspect-build/rules_py

Tech debt: vendored pytest_shard is stale

Open
#869 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
145
Forks
97
Avg merge
1d 1h
Merged PRs (30d)
71

Description

`py/private/pytest_shard/` contains a vendored sharding implementation for pytest. It appears stale and tightly coupled.

We should either:
- Upgrade it to a maintained version
- Adopt a pattern that lets users bring their own sharding plugin (e.g., `pytest-split`, `pytest-xdist`)

This would align with the broader effort to decouple test framework specifics from core rules (see tracking issue for test driver roadmap).

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the vendored implementation under py/private/pytest_shard/ and compare its current behavior with the broader test driver roadmap. Determine whether the intended outcome is an upgrade or decoupling so users can provide their own sharding plugin; the work is done when the stale coupling is addressed and the chosen approach is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, testing
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.