QA calculators

How much testing fits into a PR compute budget?

Four workers can shorten the wait but each may repeat the same environment setup. A cost model that divides the whole run by four will omit part of the bill.

Which test stages fit the money and wall-clock constraints on this repository?

Separate billed worker minutes from the wall-clock time a reviewer waits. Use a conservative setup allowance when weighing a faster PR gate against its cost.

Fit CI stages within a PR budget

Enter each stage’s test time on one worker. The planner keeps the stages in order and tries them against both caps.

Planning assumptions
Stages that fit
Unit + Browser
Elapsed time with selected stages
10 min
Billed compute
32 runner-min
Compute cost
£0.32

Adding extended would take 17 min and cost £0.60. Later stages are outside the selected pipeline. Assumes equal work per worker, parallel capacity available together and per-worker billing rounded up to whole minutes. A zero-minute stage is skipped.

Calculation method

Stage elapsed time = setup + single-worker test minutes ÷ workers. Billed runner-minutes = workers × ceiling(stage elapsed time). Add the initial queue once to elapsed time. Cost = billed runner-minutes × price.

Inputs to collect

Use one consistent observation window for the inputs below. Replace the calculator’s illustrative defaults with measurements from your own software and runners.

Inputs behind the calculation
InputWhere to get it
One PR runEnter serial test minutes for each stage and the initial queue time.
Worker minutesEnter workers per stage and their setup time before tests start.
Run limitsEnter the rate per runner minute, the money cap and the wall-clock cap for this PR.

Interpreting your result

Compare against real billing records and add storage, artifact retention or managed-service charges where they apply. Treat uneven sharding and queues as separate constraints.

Primary documentation

Your next release starts here

Keep building.
Put testing to work.

Give Cue April your next testing challenge. Let your AI quality lead coordinate the checks, so your team can focus on what comes next.

Create account

Create your account, connect a repository and review your proposed setup before approving a run.