Skip to content

A pull request that rebuilds the native library can wait over 15 minutes for its checks #528

Done

Description

@tae898

A pull request should wait about 10 minutes for its checks, 15 at most. Since #519 the usual one does. One that changes what the native library is built from still has to build the image and then run the parity suite, and in the slow case that is more than 15 minutes (an estimate: no pull request has built the library since #519). I want to bring that path under 15 minutes.

Time from the creation of the first run to the end of the last one, for each pushed head of a pull request (successful runs), in minutes:

Pushed heads measured Count Median p90 Longest Over 15 min
last 7 days (since 2026-11-22) 88 19.5 85.6 356 53
since #519 merged (2026-11-27 11:40 UTC) 8 6.8 9.4 9.6 0

Jobs since #519, in minutes (successful jobs; only those that ended 4 minutes or more after the push at p90). Waiting for a runner is no longer a large part:

Workflow Job Runs Waiting for a runner (median / p90) Running (median / p90) Done after the push (median / p90)
Test JVM (arcadedb-jvm) Test arcadedb (linux/amd64, Python 3.14, shard 2/2) 6 0.1 / 0.2 4.7 / 4.9 6.6 / 9.3
Test JVM (arcadedb-jvm) Test arcadedb (linux/amd64, Python 3.14, shard 1/2) 8 0 / 0.1 4.9 / 5.5 7.2 / 8.7
Test JVM (arcadedb-jvm) Build arcadedb-jvm wheel (linux/amd64) 8 0.1 / 0.3 1.2 / 1.4 1.8 / 4.4
Test native (arcadedb) Parity against the installed wheel (linux-x86_64, Python 3.14, shard 2/3) 6 0 / 0.3 3.6 / 3.7 4.9 / 7.7
Test native (arcadedb) Parity against the installed wheel (linux-x86_64, Python 3.14, shard 3/3) 6 0.1 / 0.1 3.7 / 3.9 5.1 / 7.6
Test native (arcadedb) Parity against the installed wheel (linux-x86_64, Python 3.14, shard 1/3) 6 0.1 / 0.5 3.1 / 3.9 4.8 / 7.2

The path that rebuilds the library, in minutes:

Part Runs Median p90
Image and wheel job that builds the library (last 7 days) 56 9.3 11.6
Longest of the three parity shards of a run (since #519) 6 3.8 4
Sum of the two (estimate, without queueing and planning) 13.2 15.6

Of the 277 commits on main since 2026-11-01, 44 changed a file the library is built from.

What I plan to change: cut the parity suite of a pull request into 5 shards instead of 3, so the part after the image build is shorter. The image build itself stays as it is. A pull request with the label ci:full, or from Dependabot, keeps running the full tier, as #517 decided.

Jobs and steps over the last 7 days, mostly before #519 (minutes)

Jobs, matrix legs counted together (only those that ended 4 minutes or more after the push at p90):

Workflow Job Runs Waiting for a runner (median / p90) Running (median / p90) Done after the push (median / p90)
Dependency review Dependency review 86 0.1 / 6.6 0.1 / 0.2 0.2 / 6.7
Docs Build docs site 55 0.1 / 4.6 0.2 / 0.4 0.4 / 4.9
Gitignore hygiene No tracked file matches .gitignore 86 0.1 / 7.4 0.1 / 0.1 0.2 / 7.5
Pre-commit Run pre-commit on all files 85 0.1 / 6.1 1.4 / 1.6 1.7 / 7.6
Test JVM (arcadedb-jvm) Test Summary 55 0.1 / 3 0.1 / 0.1 18.6 / 80.2
Test JVM (arcadedb-jvm) Test arcadedb 240 0.1 / 20.7 7.9 / 12.2 19.8 / 78.1
Test JVM (arcadedb-jvm) Build arcadedb-jvm wheel 120 0.1 / 7.3 1.1 / 1.5 3.6 / 22.5
Test JVM (arcadedb-jvm) Bandit security scan 88 0.1 / 9.6 0.3 / 0.4 0.4 / 10.3
Test JVM (arcadedb-jvm) Download ArcadeDB JARs 77 0.1 / 9.6 0.5 / 0.6 0.7 / 10.3
Test JVM (arcadedb-jvm) Dependency floor audit 88 0.1 / 8 0.3 / 0.3 0.4 / 8.4
Test Python Examples Test Python Examples 68 1.2 / 28 24.9 / 34.8 41.9 / 84.8
Test Python Examples Examples Test Summary 64 0.1 / 5.7 0.1 / 0.1 3.3 / 72.5
Test Python Examples Build wheel for examples 62 0.5 / 12.8 1 / 1.3 6.2 / 17.9
Test Python Examples Download ArcadeDB JARs 77 0.1 / 5.1 0.2 / 0.6 0.5 / 6.1
Test native (arcadedb) Examples on the installed wheel 20 4.7 / 40.6 24.3 / 29 43.7 / 146.5
Test native (arcadedb) Parity against the installed wheel 75 0.2 / 13.5 7.6 / 10.1 19.3 / 78.3
Test native (arcadedb) Python 3.14t on the wheel 11 1 / 10.3 0.8 / 1 11.6 / 50.8
Test native (arcadedb) Python 3.13 on the wheel 12 0.6 / 9.2 0.9 / 1 11.5 / 47.7
Test native (arcadedb) Report parity crashes 52 0.1 / 1.7 0.2 / 0.2 22 / 43.6
Test native (arcadedb) Python 3.15 on the wheel 11 1 / 14.6 0.8 / 0.9 12 / 38.4
Test native (arcadedb) Examples summary 54 0.5 / 8.4 0.1 / 0.1 18.2 / 37
Test native (arcadedb) Python 3.11 on the wheel 53 0.4 / 8.9 0.9 / 1 13.2 / 32
Test native (arcadedb) Python 3.14 on the wheel 52 0.3 / 7.7 0.9 / 1.1 13 / 31.2
Test native (arcadedb) Image and wheel 66 0.1 / 5.4 9 / 11.6 11.7 / 23.3
Test native (arcadedb) Plan the legs 66 0.1 / 4.1 0.1 / 0.2 0.3 / 4.3

Steps of a minute or more at p90:

Job Step Runs Minutes (median / p90)
Image and wheel Build the native image on the runner 2 23.1 / 33.1
Test Python Examples Download datasets 73 12.3 / 17.1
Examples on the installed wheel Download datasets 20 13.2 / 16.9
Test Python Examples Run all examples 68 11.9 / 16.6
Examples on the installed wheel Run all examples 20 10.3 / 12.3
Test arcadedb Run pytest on host 240 7.4 / 11.7
Image and wheel Build the native image in manylinux_2_28 58 8.8 / 11
Parity against the installed wheel Run the parity suite 83 7.4 / 9.9
Run pre-commit on all files Run pre-commit on all files 85 1.3 / 1.5
Build arcadedb-jvm wheel Build arcadedb (linux/amd64) 75 0.8 / 1.1

Method: gh api repos/ArcadeData/arcadedb-python/actions/runs?event=pull_request, grouped by head_sha; jobs and steps from the jobs of each run. "Waiting" is job creation to job start.

Activity

  1. self-assigned this
    on Nov 29, 2026
  2. added
    enhancement
    native
    on Nov 29, 2026
  3. added
    github_actions
    performance
    python
    on Nov 29, 2026
  4. added this to the 26.12.1 milestone on Nov 29, 2026
  5. added
    in progress
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementgithub_actionsin progressnativeperformancepython

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions