{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/6"}],"enrichment":{"capability":"A pytest plugin that integrates with Mergify to trace tests via OpenTelemetry, detect flaky tests, quarantine failures, and selectively run only previously-failing tests in merge queue reruns.","skillfed_tags":["ci-integration","test-reliability","opentelemetry"],"use_cases":["Detect flaky tests in CI pipelines by automatically rerunning tests with budget constraints to identify intermittent failures.","Reduce merge queue wait time by running only tests that failed in the previous attempt when Mergify reruns a job.","Quarantine failing tests to prevent them from blocking CI while still capturing failure data for later analysis.","Trace test execution with OpenTelemetry spans sent to Mergify for centralized test insights and performance monitoring.","Opt out of test selection per-run by setting MERGIFY_TEST_SELECTION_DISABLE=true while keeping tracing and flaky detection active."],"what_it_does":"pytest-mergify is a pytest plugin that connects your test runs to Mergify's Test Insights platform via OpenTelemetry tracing. It automatically detects flaky tests by intelligently rerunning them within budget constraints, quarantines failing tests to prevent CI blockage, and can selectively run only previously-failing tests when Mergify's merge queue reruns a job\u2014reducing redundant test execution. The plugin requires pytest >= 6.0.0 and pytest-timeout, auto-discovers without manual registration, and activates when running in CI (detected via the CI environment variable) or when explicitly enabled via PYTEST_MERGIFY_ENABLE=true. Configuration is minimal: set the MERGIFY_TOKEN environment variable with your API token, and optionally customize the API endpoint or debug output.","worth_installing":"Yes, if you use Mergify and want to reduce CI time and improve test reliability. The plugin is actively maintained, has no known vulnerabilities, uses a permissive license, and requires only pytest and pytest-timeout. Install friction is medium due to compiled wheels, but the stable ABI (cp38-abi3) covers modern Python versions. The main gotcha is that MERGIFY_TOKEN must be set and test selection requires organization opt-in on Mergify's side, but these are configuration rather than blocker issues."},"id":"pytest-mergify","links":{"html":"https://skillfed.io/packages/pytest-mergify","md":"https://skillfed.io/packages/pytest-mergify.md","pypi":"https://pypi.org/project/pytest-mergify/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-05","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"pytest-mergify","python_support":"supports_current","summary":"Pytest plugin for Mergify"},"popularity":{"monthly_downloads":76654,"position":14603,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2026.8.5.3"}
