Skip to content
Back to skills

Automatically Rerun Flaky Pytest Cases With Bounded Retry Rules Before Intermittent Failures Block Merges With Pytest Rerunfailures

ASecurity

Add controlled retries to pytest runs so agents can contain flaky tests and report final failures without rerunning whole suites by hand.

  • 36 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 8, 2026
ai-agentspythongogitci/cdsecuritydocumentation

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill automatically-rerun-flaky-pytest-cases-with-bounded-retry-rules-before-intermittent-failures-block-merges-with-pytest-rerunfailures --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Automatically Rerun Flaky Pytest Cases With Bounded Retry Rules Before Intermittent Failures Block Merges With Pytest Rerunfailures?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Automatically Rerun Flaky Pytest Cases With Bounded Retry Rules Before Intermittent Failures Block Merges With Pytest Rerunfailures
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-automatically-rerun-flaky-pytest-cases-with-bounde/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-automatically-rerun-flaky-pytest-cases-with-bounde)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Automatically rerun flaky pytest cases with bounded retry rules before intermittent failures block merges with pytest-rerunfailures"
slug: "automatically-rerun-flaky-pytest-cases-with-bounded-retry-rules-before-intermittent-failures-block-merges-with-pytest-rerunfailures"
description: "Add controlled retries to pytest runs so agents can contain flaky tests and report final failures without rerunning whole suites by hand."
github_stars: 458
verification: "security_reviewed"
source: "https://github.com/pytest-dev/pytest-rerunfailures"
author: "pytest-dev"
publisher_type: "organization"
category: "CI/CD Integrations"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "pytest-dev/pytest-rerunfailures"
  github_stars: 458
  npm_package: "pytest-rerunfailures"
---

# Automatically rerun flaky pytest cases with bounded retry rules before intermittent failures block merges with pytest-rerunfailures

Add controlled retries to pytest runs so agents can contain flaky tests and report final failures without rerunning whole suites by hand.

## Prerequisites

Python, pytest, and the pytest-rerunfailures plugin

## Installation

Use the upstream install or setup path that matches your environment:
- $ pip install pytest-rerunfailures

Requirements and caveats from upstream:
- :target: https://pypi.python.org/pypi/pytest-rerunfailures/
- You will need the following prerequisites in order to use pytest-rerunfailures:
- Python 3.10+ or PyPy3

Basic usage or getting-started notes:
- ------------
- pytest 8.1 or newer
- This plugin can recover from a hard crash with the following optional

- Source: https://github.com/pytest-dev/pytest-rerunfailures
- Extracted from upstream docs: https://raw.githubusercontent.com/pytest-dev/pytest-rerunfailures/HEAD/README.rst

## Documentation

- https://pytest-rerunfailures.readthedocs.io/stable/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/automatically-rerun-flaky-pytest-cases-with-bounded-retry-rules-before-intermittent-failures-block-merges-with-pytest-rerunfailures/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.