Skip to content

perf(ci): trim the Tier 2 Linux build job's checkout #3022

Closed

Description

@zackees

Part of #2072. `Rust Tier 2 Linux (build)` setup on runs 41016256643 / 41006754325: Install Git 14 / 19 s, checkout 11 / 9 s, Set Up soldr 35 / 27 s.

  • Checkout (log of 41016256643): full-history fetch of every branch 7 s, then `submodule update --init --recursive` 3 s with full history of obs-browser, obs-websocket and the Windows-only libdshowcapture (+ its nested submodule).
  • Consumers of history in this job are commit-level only: `git describe --tags` (cmake/common/versionconfig.cmake, frontend), `git log -1 --pretty=%cd` and `git rev-parse HEAD` (frontend/cmake). None reads old trees. `validate.sh` already initializes the two submodules configure needs (`plugins/obs-browser`, `plugins/obs-websocket`) at `--depth 1` when they are empty.
  • Plan: `filter: tree:0` (treeless: full commit graph and tags, trees/blobs only for HEAD) and `submodules: false`. Keeps `fetch-depth: 0` so the version is unchanged.
  • Install Git: not cut. git, curl, ca-certificates, zstd are already in apt-packages.txt, so the install is only moved earlier; locally the same install took 5.6 s download + 13 s unpack, and the dpkg unsafe-io config did not change it (15.4 s). The apt/zccache overlap is not retried (perf(ci): cut the Tier 2 critical path of merge-queue runs (11 min, measured 2026-10-24) #2072 measured it slower).
  • soldr: not cut in this issue.

Pinned by a `ci/test_*.py`.

Activity

  1. added
    infra
    on Oct 30, 2026
  2. zackees commented on Oct 30, 2026

    @zackees
    MemberAuthor

    Claiming: #3022, together with #3021 in one PR. Plan: 1) RED ci test pinning a treeless, submodule-free checkout in the Tier 2 build job, 2) GREEN workflow change; measure on the PR run. PR today.

  3. added
    ready
    on Oct 30, 2026
  4. zackees commented on Oct 30, 2026

    @zackees
    MemberAuthor

    Landed in #3023. Build-job checkout 9-11 s -> 7 s (PR run) / 6 s (queue run 41023136317). Install Git (17 s) and soldr left as they were; see the issue body for why.

  5. zackees commented on Oct 30, 2026

    @zackees
    MemberAuthor

    Landed in #3023: Tier 2 build checkout 9–11 s → 6–7 s (treeless, no submodules). Git install and soldr setup left; zccache restore (~80 s) is the next target.

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

Metadata

Metadata

Assignees

Labels

infraready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions