onepub-dev / onepub-dev/pub_release
Support multi-phase test runs.
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 18
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
The conduit project has a number of tests that cannot be run in parallel.
One suggested approach is that we allow a multi-stage testing process.
Each stage would run using a specific set of tags.
This will probably need to be done via a config file as the cli arguments would be a bit complex
pub_release -staged=single,parallel
Something like the above might work. This would create two stages on run with the 'single' tag and one run with the 'parallel' tag.
We would need to allow quoting of these as dart tests tags support tag expressions.
e.g.
single && !windows
We could create a config file pub_release.yaml with the following sections:
stages:
stage:
tag: single
thread: 1
stage: parallel
threads: 4
stage: single && !windows
One issue with the above approach is that we may need different switches for each stage.
For example conduit needs different -j1 switches pass in each stage.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the pub_release CLI and the proposed pub_release.yaml staging configuration. Determine how stages, tag expressions, thread counts, and per-stage switches should be represented and executed. Done means multi-phase runs can execute single-threaded and parallel tag groups, including quoted expressions and stage-specific options.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- cli, testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100