pyinfra-dev / pyinfra-dev/pyinfra
List failed hosts on run
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6k
- Forks
- 548
- Avg merge
- 7d 17h
- Merged PRs (30d)
- 13
Description
Is your feature request related to a problem? Please describe
When I have an operation fail on x amount of hosts, it doesn't allow me to run that same operation on only those failed hosts plus the ones it did not get to if it hit the failure limit easily.
Describe the solution you'd like
If I have 10 hosts, and my operations succeed on the first 3 and fail on the next 3, and my failure limit is 30%, I would like to have an option or some way to get a new inventory file to run those operations again on those failed hosts plus the inventory it did not have a chance to reach. Currently I believe the only way to do this is rerun the operations on all hosts again redundantly.
Contributor guide
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
The issue names no files, tests, or entry points. Begin by locating how failure limits stop host execution and how inventories and per-host results are represented after a run. Done means providing a way to create a rerun inventory containing failed and unattempted hosts without rerunning successful hosts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100