CI-esta
Get your pull requests green sooner and spend less on GitHub Actions. CI-esta runs the checks your change needs, reuses passing results where it can, and splits the remaining tests across workers.
Free and open source under Apache 2.0. It runs in your existing workflows on hosted or self-hosted runners. You pay your usual runner costs.
Try it on one pull request
Paste this into your coding agent from the root of your repository:
Set up CI-esta in this repository. Fetch https://ci-esta.readthedocs.io/en/latest/agent-setup.md and follow it.
Your agent opens a pull request with the workflow changes and measurements. You can review which checks ran, how long you waited, and how much runner time they used.
Quickstart · Adoption guide · GitHub Actions reference
What happens on your next push?
| When you… | CI-esta can… |
|---|---|
| Edit one function | Follow its dependencies and select the affected Python or Bun tests. |
| Push again after a passing run | Reuse a successful check when the recorded inputs and scope match. |
| Change code covered only by unit tests | Skip unrelated lanes. A lane is a group of checks, such as database integration tests, that CI can run or reuse independently. |
| Install the same dependencies repeatedly | Restore a matching environment, check it and sync it with your lockfile. |
| Wait on the last slow shard | Use recorded test durations to balance work across parallel workers. |
The PR report shows what ran, what was reused and which job kept you waiting. Scheduled full runs exercise the complete suite.
Follow a change through CI
Suppose you change how checkout rounds a discount. CI follows the changed code to the pricing and checkout tests. A database integration lane runs if its tests depend on the change. On your next push, a lane can reuse its earlier pass when its inputs still match. The PR report shows what ran again and why.
How much time could you save?
A test gate that would take an estimated 52 minutes to run the full suite on one runner took 5.1 minutes on ordinary PRs. That's about 90% less waiting. Your savings depend on how much work your changes touch. See the case study.
Runner setup and diagnostics · All actions · Contribute · License
Go deeper
- Select affected tests
- Reuse passing checks
- Plan independent lanes
- Cache environments
- Balance test shards
- Read the PR report
Detailed adoption reference — action recipes, execution profiles, benchmarks and evidence checks.
Project quality checks
Reviewed duplication debt · Counts from the committed baselines.
| Accepted pairs | Remaining | Retired | Dismissed |
|---|---|---|---|
| Functions | 0 | 20 | 0 |
| Models | Not initialized | — | — |
Accepted backlog · Weekly audit
Retired means a side was removed, or (functions only) the judge now finds the pair separate. It is not a count of refactors. Dismissals stay separate; an uninitialized model baseline is unknown.
✅ 1 contract · 110/110 cases · 3/3 mutants caught · 106 histories
| Cases passed | Mutants caught | ||
|---|---|---|---|
| ✅ | merged-pr-evidence merged_pr/test_merged_pr_contract.py::test_merged_pr106 histories (6 witnesses, 100 samples, seed 17) · every action covered · Quint 0.33.1 |
110/110 | 3/3 |
🧪 3 mutants (planted fake bugs), all caught
| Contract | Mutant | Caught by | At | |
|---|---|---|---|---|
merged-pr-evidence |
open-admission |
Admit an unmerged PR as though it merged after validation | witness-contractOpenTestsamples: 1/100 diverge |
state 5, after stage() |
merged-pr-evidence |
older-green |
Select the oldest successful run instead of the last admitted run | witness-contractLastTestsamples: 0/100 diverge |
state 7, after stage() |
merged-pr-evidence |
dropped-publication |
Lose the admitted observation during history publication | witness-contractRecoveryTestsamples: 0/100 diverge |
state 11, after publish() |
What merged-pr-evidence says
Actions, and the code each one drives:
init: New HTTP boundary and real collector/historypush: GitHub changes PR headstart: GitHub admits a producer runpassGate: GitHub records successful gate completionfinish: GitHub completes producerupload: GitHub exposes measured-only artifactexpire: GitHub expires artifactclosePR: GitHub closes without mergingmerge: GitHub records merge cutoffstage: MergedPRTimingCollector.stagepublish: publish_promotioncrash: Discard local staging; keep published historyinspect: Read staged source and published observations without mutationautomatic: Use automatic discovery with whole-workflow completion before merge
Invariant safety, checked while sampling histories.
Witnesses, scenarios replayed exactly as written: contractRecoveryTest, contractOpenTest, contractLastTest, contractInvalidTest, contractAutomaticTest, contractAutomaticLateTest.
Bounds: seed 17 · max_samples 500 · max_steps 35 · n_traces 100.
Witness contractRecoveryTest, step by step: the observation the model starts from, then what it expects each action to change.
| State | Action | Model expects |
|---|---|---|
0 |
init() |
{ published: Set(), staged: 0 } |
1 |
start() |
unchanged |
2 |
passGate(r=1) |
unchanged |
3 |
merge() |
unchanged |
4 |
stage() |
unchanged |
5 |
finish(r=1, value='success') |
unchanged |
6 |
upload(r=1, value='valid') |
unchanged |
7 |
stage() |
staged: 0 → 1 |
8 |
crash() |
staged: 1 → 0 |
9 |
stage() |
staged: 0 → 1 |
10 |
expire(r=1) |
unchanged |
11 |
publish() |
published: Set() → Set(1) |
12 |
publish() |
unchanged |
13 |
inspect() |
unchanged |
Generated by pytest-quint-connect from contract receipts; what a passing run proves.
Metadata
Release files for ci-esta 1.22.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ci_esta-1.22.0.tar.gz | 1.2 MB | With provenance | Details for ci_esta-1.22.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ci_esta-1.22.0-py3-none-any.whl | Python 3 | none | any | Details for ci_esta-1.22.0-py3-none-any.whl |
Total release size: 1.7 MB
Release files / ci_esta-1.22.0.tar.gz
| Download URL | ci_esta-1.22.0.tar.gz |
|---|---|
| Size | 1.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ef3e40321f9cac1cd68de89526866b5d4516d9fad555fa42fac1898f15e9e93
|
|
BLAKE2b-256 checksum How to use checksums |
88c998c0145835a2e2c236d24d0047caefbf1787115722492a21e9413a74d3bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logRelease files / ci_esta-1.22.0-py3-none-any.whl
| Download URL | ci_esta-1.22.0-py3-none-any.whl |
|---|---|
| Size | 475.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08d97bb6f373c9edd8565edd90afbbc4c1d6df6744ceb7a8fcdd4617650b6bcb
|
|
BLAKE2b-256 checksum How to use checksums |
19edacdb14372f40818a36e023a6c3a2fc6eafbb12e253b7dbca2acc0d523faa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logSecurity for ci-esta 1.22.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ci_esta-1.22.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.