Skip to content

ci: split the apple and test jobs #2319

Backlog

Description

@Laotree

Context

The Test workflow's wall clock is set by its longest job, and three jobs now sit within two minutes of each other:

job wall clock (run 45404203623, 2026-11-24)
apple 12m05s
test 11m04s
android 10m19s

Two jobs carry work that needs no more than Go beside work that does not:

  • apple spends 6m41s of its 12m05s in a 200-iteration stress loop of go tool nsgo test processes, after which its 37 other steps take about 4 minutes.
  • test spends 3m49s of its 11m04s in one go tool nsgo test -- -timeout=20m step, beside about 40 smaller steps.

Moving each of those pieces into a job of its own lets the two halves run beside each other.

Task

Field Value
Status In progress
Risk high (CI workflow rule)
Rollback revert the commit that splits the job

Acceptance

  • The two pull requests each split one job, and no step is lost.
  • actionlint passes on test.yml.
  • Both workflows are green in this repository, and the moved work still runs (the same test counts and the same stress iterations).
  • apple falls to about 5m20s beside a stress job of about 7m50s, and test to about 6m30s.
  • Not merged unless the workflow's wall clock falls by at least two minutes across the two changes.

Link

PRs: pending.

Activity

  1. Laotree commented on Nov 24, 2026

    @Laotree
    ContributorAuthor

    Correction to the expected gain, from the same run's job list:

    job now after #2320 and #2321
    apple 12m05s about 5m20s
    test 11m04s about 6m30s
    android 10m19s unchanged
    apple-stress, test-suite — about 7m50s and 6m30s

    The workflow's wall clock therefore falls from 12m05s to the android job's 10m19s, about 1m46s, which is just under the two minutes this issue asks for. #2314 takes android to about 9m27s, after which the longest job is Gallery (macos) at 8m53s and the two changes are worth about 2m38s together.

    Both pull requests still move work off the longest jobs, but neither shows its gain until android is no longer the longest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions