Skip to main content

CI-esta: Let proven work rest. Measure the rest.

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.
Push a fix after a red run Re-run the tests that failed first, even when your fix does not touch them, and answer from one small batch if they still fail.
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.

Where can CI be 10× faster and cost one-tenth as much?

On three unchanged nights, CI-esta gave a browser workflow its verdict in 38–41 seconds. Running its full checkpoint on those same commits took 15–16 minutes. Across the three pairs that is 24× faster at 1/12 the estimated runner cost, including the jobs that decide what to run. See the six runs and cost calculation.

When a change did need the browsers, the team cut the workflow from 14m 56s to 5m 30s. All 16 journeys passed exactly once in both runs. The faster build and balanced shards cost an estimated 0.6¢ more per run. See the PR benchmark · Read the Django monorepo case study.

Runner setup and diagnostics · All actions · Contribute · License

Go deeper

Detailed adoption reference — action recipes, execution profiles, benchmarks and evidence checks.

Project quality checks

dry-lint in gigaverse-app/ci-esta: new duplicates kept out of its pull requests, 20 old duplicates cleaned up, 0 remaining

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.

What pytest-quint-connect's contracts caught in gigaverse-app/ci-esta's pull requests

Quint contracts: 1 contract passed · 106 histories · 3/3 mutants caught

✅ 1 contract · 110/110 cases · 3/3 mutants caught · 106 histories
Contract Cases passed Mutants caught
✅ merged-pr-evidence merged_pr/test_merged_pr_contract.py::test_merged_pr
106 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 What it breaks Caught by At
merged-pr-evidence open-admission Admit an unmerged PR as though it merged after validation witness-contractOpenTest
samples: 1/100 diverge
state 5, after stage()
merged-pr-evidence older-green Select the oldest successful run instead of the last admitted run witness-contractLastTest
samples: 0/100 diverge
state 7, after stage()
merged-pr-evidence dropped-publication Lose the admitted observation during history publication witness-contractRecoveryTest
samples: 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/history
  • push: GitHub changes PR head
  • start: GitHub admits a producer run
  • passGate: GitHub records successful gate completion
  • finish: GitHub completes producer
  • upload: GitHub exposes measured-only artifact
  • expire: GitHub expires artifact
  • closePR: GitHub closes without merging
  • merge: GitHub records merge cutoff
  • stage: MergedPRTimingCollector.stage
  • publish: publish_promotion
  • crash: Discard local staging; keep published history
  • inspect: Read staged source and published observations without mutation
  • automatic: 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.30.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ci-esta 1.30.2
File Size Uploaded Provenance Actions
ci_esta-1.30.2.tar.gz 1.2 MB With provenance Details for ci_esta-1.30.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ci-esta 1.30.2
File Interpreter ABI Platform Actions
ci_esta-1.30.2-py3-none-any.whl Python 3 none any Details for ci_esta-1.30.2-py3-none-any.whl

Total release size: 1.7 MB

Release files / ci_esta-1.30.2.tar.gz

Download URL ci_esta-1.30.2.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
69a5684b0f1d1ad368a47695432452e3086f7b24b619d481db3e18d832ff8357
BLAKE2b-256 checksum
How to use checksums
c50799063b4ea9d0411c6db76e7c81073881b009a5641963794706bf9c90bb40
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 20, 2026.

Transparency log

Release files / ci_esta-1.30.2-py3-none-any.whl

Download URL ci_esta-1.30.2-py3-none-any.whl
Size 490.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
92a5f353468cb67a088432da98e60fa648508f7176c09485c8fad59041f883d2
BLAKE2b-256 checksum
How to use checksums
87e309e0f87ec2ee7e9964fc1d588832afb02c08a4351c4f804055eb21249326
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 20, 2026.

Transparency log

Security for ci-esta 1.30.2

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.

Select from 2 files

Attestation for ci_esta-1.30.2.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 20, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

1.30.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page