Patch CI statistics

Pipeline reads CI wall-clock time. Corpus reads today's patchsets laid out over PostgreSQL's history.

Runs
10,658
terminal, in range
Success rate
84.6%
9,017 of 10,658
Median build
2m 52s
successful and failed alike
Median test
5m 18s
successful and failed alike
Median queue wait
0m 00s
queued to started
Infra errors
0.1%
8 runs
GitHub re-attempts
0
attempt > 1 on one run id

Runs by result

terminal runs only; timeouts fold into their failure band

Show data
WhenResultRuns
10 Aug 00:00build failed11
10 Aug 00:00cancelled1
10 Aug 00:00infra error1
10 Aug 00:00success231
10 Aug 00:00tests failed27
11 Aug 00:00build failed65
11 Aug 00:00success1,293
11 Aug 00:00tests failed168
12 Aug 00:00build failed65
12 Aug 00:00cancelled3
12 Aug 00:00infra error5
12 Aug 00:00success1,298
12 Aug 00:00tests failed165
13 Aug 00:00build failed65
13 Aug 00:00cancelled1
13 Aug 00:00success1,293
13 Aug 00:00tests failed166
14 Aug 00:00build failed65
14 Aug 00:00cancelled1
14 Aug 00:00infra error1
14 Aug 00:00success1,275
14 Aug 00:00tests failed165
15 Aug 00:00build failed66
15 Aug 00:00cancelled1
15 Aug 00:00infra error1
15 Aug 00:00success1,288
15 Aug 00:00tests failed173
16 Aug 00:00build failed65
16 Aug 00:00success1,284
16 Aug 00:00tests failed169
17 Aug 00:00build failed55
17 Aug 00:00success1,055
17 Aug 00:00tests failed136

Success rate

hollow points sit below 5 terminal runs in the bucket

Show data
WhenSuccess rateTerminal runs
10 Aug 00:0085.2%271
11 Aug 00:0084.7%1,526
12 Aug 00:0084.5%1,536
13 Aug 00:0084.8%1,525
14 Aug 00:0084.6%1,507
15 Aug 00:0084.2%1,529
16 Aug 00:0084.6%1,518
17 Aug 00:0084.7%1,246

Build and test duration by era

median seconds; successful runs only

Show data
WhenEraBuild medianTest medianBuild p25-p75
10 Aug 00:00trixie2m 51s5m 21s2m 47s - 2m 55s
11 Aug 00:00trixie2m 52s5m 22s2m 46s - 2m 55s
12 Aug 00:00trixie2m 52s5m 21s2m 46s - 2m 55s
13 Aug 00:00trixie2m 52s5m 21s2m 47s - 2m 55s
14 Aug 00:00trixie2m 52s5m 22s2m 47s - 2m 55s
15 Aug 00:00trixie2m 53s5m 22s2m 47s - 2m 56s
16 Aug 00:00trixie2m 53s5m 19s2m 47s - 2m 55s
17 Aug 00:00trixie2m 53s5m 19s2m 47s - 2m 56s

ccache hit rate

median per bucket; the image's warm cache was baked against one reference commit, so a patch on a different base misses most of it

Show data
WhenHit rateRuns
10 Aug 00:002.5%231
11 Aug 00:002.5%1,293
12 Aug 00:002.5%1,298
13 Aug 00:002.5%1,293
14 Aug 00:002.5%1,275
15 Aug 00:001.5%1,288
16 Aug 00:001.5%1,284
17 Aug 00:001.5%1,055

Build time against ccache hit rate

one point per successful run; table shows the first 50

Show data
Hit rateBuild
1.5%2m 46s
1.5%1m 56s
1.5%2m 53s
1.5%2m 49s
1.5%2m 46s
1.5%2m 48s
1.5%2m 49s
1.5%2m 57s
1.5%2m 55s
1.5%2m 55s
1.2%3m 13s
1.5%2m 54s
1.5%2m 32s
1.5%2m 59s
1.5%2m 47s
1.5%2m 18s
1.5%2m 56s
1.5%2m 55s
1.5%2m 55s
1.5%2m 52s
1.5%2m 14s
1.5%1m 59s
1.5%2m 47s
1.5%2m 54s
1.5%2m 22s
1.5%2m 48s
1.5%2m 43s
1.5%2m 51s
1.5%2m 55s
1.5%2m 36s
1.5%2m 57s
1.5%2m 54s
1.5%2m 56s
1.5%2m 11s
1.5%2m 48s
1.5%2m 52s
1.5%2m 57s
1.5%2m 57s
1.5%2m 59s
1.5%2m 56s
1.5%2m 41s
1.5%2m 56s
1.5%2m 57s
1.5%2m 55s
1.5%2m 14s
1.5%2m 54s
1.5%2m 55s
1.5%2m 58s
1.5%2m 47s
1.5%2m 55s

Queue latency

median seconds

Show data
WhenPush to queuedQueued to started
10 Aug 00:00-8657m 07s0m 00s
11 Aug 00:00-8650m 05s0m 00s
12 Aug 00:00-7208m 02s0m 00s
13 Aug 00:00-5767m 45s0m 00s
14 Aug 00:00-4325m 22s0m 00s
15 Aug 00:00-2884m 38s0m 00s
16 Aug 00:00-1442m 03s0m 00s
17 Aug 00:000m 01s0m 00s

Average concurrency

time-weighted average of runs in flight per bucket, against the 30-slot budget

Show data
WhenAvg concurrency
10 Aug 00:0014.7
11 Aug 00:0013.6
12 Aug 00:0013.2
13 Aug 00:0013.4
14 Aug 00:0012.6
15 Aug 00:0012.7
16 Aug 00:0012.1
17 Aug 00:0011.3

Push lag

time from the patch being posted to CI queueing it

Show data
WhenLagRuns
10 Aug 00:00same day9
10 Aug 00:00days33
10 Aug 00:00weeks6
10 Aug 00:00months112
10 Aug 00:00older111
11 Aug 00:00same day20
11 Aug 00:00days91
11 Aug 00:00weeks150
11 Aug 00:00months573
11 Aug 00:00older692
12 Aug 00:00same day30
12 Aug 00:00days82
12 Aug 00:00weeks155
12 Aug 00:00months576
12 Aug 00:00older693
13 Aug 00:00same day33
13 Aug 00:00days75
13 Aug 00:00weeks156
13 Aug 00:00months570
13 Aug 00:00older691
14 Aug 00:00same day14
14 Aug 00:00days81
14 Aug 00:00weeks152
14 Aug 00:00months572
14 Aug 00:00older688
15 Aug 00:00same day21
15 Aug 00:00days77
15 Aug 00:00weeks157
15 Aug 00:00months581
15 Aug 00:00older693
16 Aug 00:00same day18
16 Aug 00:00days58
16 Aug 00:00weeks161
16 Aug 00:00months588
16 Aug 00:00older693
17 Aug 00:00same day15
17 Aug 00:00days47
17 Aug 00:00weeks130
17 Aug 00:00months493
17 Aug 00:00older561

Push kind

first push, a re-push on a newer master, or a retry of the same head

Show data
WhenKindRuns
10 Aug 00:00first push9
10 Aug 00:00rebase re-push261
10 Aug 00:00retry1
11 Aug 00:00first push20
11 Aug 00:00rebase re-push1,506
12 Aug 00:00first push30
12 Aug 00:00rebase re-push1,503
12 Aug 00:00retry3
13 Aug 00:00first push35
13 Aug 00:00rebase re-push1,490
14 Aug 00:00first push14
14 Aug 00:00rebase re-push1,493
15 Aug 00:00first push21
15 Aug 00:00rebase re-push1,507
15 Aug 00:00retry1
16 Aug 00:00first push18
16 Aug 00:00rebase re-push1,500
17 Aug 00:00first push15
17 Aug 00:00rebase re-push1,231

Suites failed per failing run

one suite is usually a patch bug; dozens is usually one crash cascading

Show data
Suites failedRuns
1388
258
324
4344
574
619
745
818
97
105
1111
1211
134
217
311
337
551
561
585
596
601
611
626
767
837
931
1023
1073
1111
1226
1231
1295
1313
1332
1401
1554
1561
1571
1582
2004

Top failing suites

total failures, and in brackets the number of distinct patchsets - many failures on few patchsets means one broken patch retried; roughly one per patchset means either a flaky suite or a suite that reruns others and inherits their failures

recovery/027_stream_regress
553 (89 branches)
test_plan_advice/001_replan_regress
514 (79 branches)
pg_upgrade/002_pg_upgrade
505 (79 branches)
regress/collate.icu.utf8
69 (13 branches)
regress/subselect
65 (13 branches)
regress/join
59 (12 branches)
postgres_fdw/postgres_fdw
58 (9 branches)
regress/alter_table
58 (11 branches)
regress/copy2
58 (11 branches)
regress/partition_join
58 (12 branches)
isolation/horizons
57 (9 branches)
regress/partition_split
57 (10 branches)
regress/generated_virtual
55 (10 branches)
regress/stats
52 (11 branches)
isolation/eval-plan-qual
50 (8 branches)
regress/aggregates
50 (10 branches)
regress/plpgsql
50 (9 branches)
regress/predicate
50 (9 branches)
regress/with
50 (9 branches)
regress/opr_sanity
46 (8 branches)

Infra health

Everything here should be zero. Non-zero is worth a look, not a panic.

ConditionCount
infra errors8
in flight past 48h0
branches with a failed push2
payloads we could not parse0
runs with no payload7
built but pushed no image32
Retried heads
5
same head_sha pushed again, new run id
Verdict changed
100.0%
5 of 5 - meaningless until this denominator grows
discussionsallactive only
Tracked patchsets
5,348
current, not superseded, all patchsets
Median base age
943 days
behind master, all patchsets
On recent master
33.9%
base 30 days or newer, all patchsets
Has a verdict
89.5%
terminal CI status, all patchsets
Has a runnable image
86.2%
counted by digest, all patchsets
recent
1,812
base age tier, all patchsets
stale
358
base age tier, all patchsets
ancient
3,121
base age tier, all patchsets
unknown
57
base age tier, all patchsets

Master re-check recency

when each patchset was last tried against master; overdue is past 26h with master moved since. Unlike the base age tiles above, this follows the discussions control.

current
447
behind
1,158
overdue
296
never
3,447

Base age distribution

all current patchsets against those in active discussions

Show data
Base ageAllActive discussions
<1d1,273244
1-7d309105
7-30d23085
30-90d4612
90d-1y3128
1-2y3182
2-5y8790
>5y1,9241
unknown578

Outcome by base commit year

current patchsets, by the year of the master commit they apply to

Show data
Base yearOutcomePatchsets
unknownnever applied57
2012build failed1
2014never applied1
2015build failed3
2015never applied3
2016success22
2016tests failed2
2016never applied2
2017success463
2017tests failed58
2017build failed14
2017never applied63
2018success281
2018tests failed38
2018build failed7
2018never applied60
2019success244
2019tests failed23
2019build failed10
2019never applied74
2020success232
2020tests failed34
2020build failed4
2020never applied52
2021success241
2021tests failed35
2021build failed9
2021never applied35
2022success242
2022cancelled1
2022tests failed36
2022build failed11
2022never applied36
2023success220
2023tests failed26
2023build failed9
2023never applied32
2024success205
2024tests failed36
2024build failed8
2024infra error1
2024never applied23
2025success260
2025tests failed43
2025build failed13
2025infra error1
2025never applied36
2026success1,562
2026cancelled1
2026tests failed205
2026build failed75
2026infra error2
2026no verdict37
2026never applied159

Success rate by base commit year

of patchsets carrying a verdict

Show data
Base yearSuccess rateWith a verdict
20120.0%1
20150.0%3
201691.7%24
201786.5%535
201886.2%326
201988.1%277
202085.9%270
202184.6%285
202283.4%290
202386.3%255
202482.0%250
202582.0%317
202685.5%1,953

Apply failures by base commit year

patchsets that would not apply even to their own detected base - a patch-extraction / base-detection signal, not a staleness measure; the rate is in the table

Show data
Base yearPatchsetsFailed to applyFailure rate
unknown5757100.0%
2012100.0%
201411100.0%
20156350.0%
20162627.7%
20175986310.5%
20183866015.5%
20193517421.1%
20203225216.1%
20213203510.9%
20223263611.0%
20232873211.1%
2024273238.4%
20253533610.2%
20262,0411597.8%

Build and test time over PostgreSQL history

median seconds of successful runs, by the base commit's year

Show data
Base yearBuild medianTest median
20161m 41s3m 18s
20171m 46s4m 37s
20181m 50s2m 38s
20191m 55s2m 35s
20202m 00s2m 52s
20212m 11s3m 09s
20222m 14s3m 58s
20232m 51s3m 58s
20242m 43s3m 39s
20252m 45s4m 26s
20262m 52s5m 21s

Test suites over PostgreSQL history

median executed suites of successful runs, by the base commit's year

Show data
Base yearSuites median
2016412
2017451
2018505
2019537
2020566
2021621
2022654
2023777
2024833
2025900
20261018

Per PostgreSQL major

A major whose era image is still a disabled stub is marked - those patchsets sit in won't-retry until the image exists.

PGEraPatchsetsRunsSuccessBuild medianTest medianSuitesImages
9stretch131361.5%1m 34s2m 41s3989
10stretch40440587.9%1m 45s5m 20s443392
11stretch34734887.1%1m 48s2m 35s476339
12buster27527586.9%1m 51s2m 35s513267
13buster27327384.6%1m 57s2m 37s548267
14bullseye29029286.3%2m 08s3m 06s590284
15bullseye27928186.5%2m 11s3m 18s625268
16bookworm26926882.8%2m 46s4m 12s669256
17bookworm25025084.4%2m 54s3m 27s793244
18trixie28028179.0%2m 41s3m 50s858267
19trixie34334185.9%2m 49s4m 42s936329
20trixie1,82529,20983.5%2m 52s5m 18s10181,689

Files the corpus conflicts on

from apply-stage failures; in brackets the number of distinct patchsets

src/bin/pgbench/pgbench.c
11 (11 branches)
doc/src/sgml/ref/pgbench.sgml
10 (10 branches)
src/bin/pgbench/t/001_pgbench_with_server.pl
6 (6 branches)
src/backend/access/transam/xlog.c
5 (5 branches)
src/backend/parser/gram.y
5 (5 branches)
src/bin/pg_dump/pg_dump.c
5 (5 branches)
doc/src/sgml/config.sgml
4 (4 branches)
src/backend/access/common/reloptions.c
4 (4 branches)
src/backend/commands/tablecmds.c
4 (4 branches)
src/backend/postmaster/autovacuum.c
4 (4 branches)
src/include/utils/float.h
4 (4 branches)
templates/pages/about/policies/coc/ja.html
4 (4 branches)
configure.in
3 (3 branches)
doc/src/sgml/perform.sgml
3 (3 branches)
doc/src/sgml/ref/psql-ref.sgml
3 (3 branches)
doc/src/sgml/ref/select.sgml
3 (3 branches)
indent.c
3 (3 branches)
run_build.pl
3 (3 branches)
src/backend/commands/indexcmds.c
3 (3 branches)
src/backend/commands/vacuum.c
3 (3 branches)

Verdict coverage in active discussions

patchsets in threads with a message in the last 30 days

Show data
EraWith a verdictNo verdict
bullseye10
trixie42530
unknown09

Patch size against outcome

files touched per patchset, from the recorded submission paths

Show data
Files touchedOutcomePatchsets
unknownsuccess3,972
unknowncancelled2
unknowntests failed536
unknownbuild failed164
unknowninfra error4
unknownno verdict37
unknownnever applied633

Patchset versions per topic

every version, superseded included; split by whether the topic was committed

Show data
VersionsTopicTopics
1not committed4,978
1committed77
2committed28
2not committed154
3not committed46
3committed7
4not committed14
4committed3
5committed2
5not committed9
6not committed6
7not committed1
8not committed1
9not committed1
11not committed1

Why the orchestrator won't retry

The dashboard shows the top three of this same breakdown.

ReasonPatchsets
base too old3,011
committed120
patchset touches .github/8