Skip to content

ci: archive the 2026-10-14 to 2026-10-21 baseline window from the Actions API before its runs expire #4129

Open

Description

@schlessera

Part of #2948.

Blocked by #2955

Context

The retained ci-timings artifacts start at 2026-10-22 10:45 UTC, and the first one's collection window starts at 2026-10-20 10:42 UTC. The #2934 baseline cohort is 2026-10-14 17:19:18 UTC to 2026-10-21 17:19:18 UTC, so walking every retained artifact into the archive (#2955) does not preserve it. A recomputation from an archive of the 39 artifacts created before 2026-10-24 finds 48 of the published 271 merged PRs and 8/11 known first-main outcomes. The published 115/271 comes from a local acquisition that is not in any artifact.

The runs themselves are still retained by Actions, for 90 days from creation, so until about 2027-01-12. The window holds 1,476 ci.yml and 2,394 contract.yml runs. Collecting them costs about one jobs call per attempt plus lifecycle, roughly 4,000 requests. That is far beyond one run of the workflow token's shared 1,000-request hourly quota.

Scope

  1. From a trusted checkout with push access, collect the window with margins for earlier PR attempts and later main proof, in budgeted invocations that resume into one directory: bun scripts/ci-timings.ts collect --since 2026-10-12T00:00:00Z --until 2026-10-22T12:00:00Z --reservations --red-main --request-budget <n> --reserve <n> --out <dir>, spread across hours so other API users keep their share.
  2. Compact it into the data ref with bun scripts/ci-timings.ts archive --dir <dir>.
  3. Recompute the baseline with bun scripts/ci-timings.ts report --from-archive origin --since 2026-10-14T17:19:18Z --until 2026-10-21T17:19:18Z and compare it with the Epic: independent changes land on main concurrently, with only overlapping work serialized #2934 table.

Out of scope

Acceptance criteria

Verification

Contract impact

None.

2026-11-17 triage at main 9e7429a91: added Out of scope and Verification. The archive mode and --from-archive are not on main yet; they arrive with #2955 (draft #4133), which is why this stays blocked. The collect flags used in Scope (--reservations, --red-main, --request-budget, --reserve) exist on main (scripts/ci-timings.ts:550-566).

Activity

  1. added
    type: chore
    area: ci
    priority: p1
    blocked
    on Nov 17, 2026
  2. added
    agent-ready
    on Nov 17, 2026
  3. schlessera commented on Nov 17, 2026

    @schlessera
    OwnerAuthor

    Unblocked: #2955 is closed, so scripts/sync-project.ts is removing the blocked label.

  4. removed
    blocked
    on Nov 17, 2026
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

    agent-readyarea: cipriority: p1type: chore

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions