Repository navigation
Conversation
A pull request currently expands to 36 jobs: 3 operating systems x 6 Python versions x 2 pyopenssl modes. Most changes to httpie/**/*.py cannot be platform-specific, yet every one of them pays for macOS and Windows six times. Pull requests now run Linux with the oldest and newest supported Python (3.7 and 3.12) and both pyopenssl modes: 4 cells. They keep the signals PR CI actually produces (does the oldest interpreter still import it, does the newest one still work, did the OpenSSL path break) at a ninth of the cost. Pushes to master are unchanged: all 36 cells, so a platform-specific regression still surfaces before release. fail-fast: false is untouched.
Bnjoroge1
force-pushed
the
ci-pr-matrix
branch
from
November 18, 2026 07:13
bd4d6ac to
565dd09
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A pull request currently expands to 36 jobs:
os: [ubuntu-latest, macos-13, windows-latest]Γ six Python versions (3.7β3.12) Γpyopenssl: [0, 1]. Most changes tohttpie/**/*.pycannot be platform-specific, yet each one pays for macOS and Windows six times over.Pull requests keep the two signals PR CI actually produces, at a ninth of the cost:
pyopensslmodes. That covers "does this still import on the oldest interpreter", "does CI run at all on the newest one" and "did the OpenSSL path break", which are the failure modes a Python change here can produce.master: unchanged, all 36 cells. A macOS or Windows regression still surfaces before a release; it surfaces onmasterrather than on every review iteration.fail-fast: falseis untouched, so one failing cell still does not hide the others.paths:filter already keeps docs-only PRs from starting the workflow.If platform coverage on a specific PR matters, the same expression can key off a label β
contains(github.event.pull_request.labels.*.name, 'full-ci')β which keeps the fast path fast and the full matrix available on demand.Caveat on evidence
This change rests on the workflow shape (36 β 4 cells), not on suite measurements: the suite could not be run locally on this machine (Python 3.15, where
pytest-httpbin/Flask fails to import β unrelated to this repo's own code). The cell count and the covered/not-covered matrix are exact; the time saved per cell is not claimed.