Skip to content

ci: trial larger github-hosted runners for branch checks #5910

Done

Description

@TaylorMutch

User Story

As a maintainer optimizing OpenShell branch-check latency, I need to compare larger GitHub-hosted runners against the current standard hosted runners and the separate GKE trial before choosing the CI platform.

Problem Statement

Main uses 4-CPU hosted Linux runners for CPU-heavy Rust checks. Recent hosted Linux branch-check samples took roughly 23 minutes, while the GKE experiments also changed caching and workflow structure. A separate larger-hosted-runner trial is needed to assess the compute-size contribution without carrying over those changes.

Impact / Why This Matters

Long branch checks slow review and iteration. Managed larger runners may provide faster CI with GitHub-managed job isolation and less infrastructure maintenance, but their latency and billable usage need measurement.

Proposed Design

Open a separate draft PR based on current main. Run Rust lint, workspace tests, build-mode checks, PostgreSQL tests, feature-alias verification, and gateway feature checks on 16-CPU hosted Linux runners. Keep lightweight checks on standard hosted runners and preserve existing macOS behavior. Keep test commands, features, caches, and job structure unchanged for the initial comparison.

Configure the AMD64 and ARM64 runner definitions for ai-openshell/openshell only, with bounded concurrent capacity. Keep the existing GKE draft PR unchanged.

Acceptance Criteria

  • The separate PR remains a draft and closes this issue.
  • Both Linux architectures can dispatch to 16-CPU / 64-GB GitHub-hosted runners.
  • Heavy Rust jobs use larger runners; lightweight checks and macOS retain their existing targets.
  • Build/test commands, feature coverage, cache configuration, and workflow structure are preserved.
  • Record available validation, timing evidence, and billing/setup limitations without claiming unmeasured speedups.

Alternatives Considered

Continue with standard 4-CPU hosted runners; retain the separate GKE persistent-cache experiment; or combine cache/profile/sharding changes with the hardware trial. The initial trial isolates runner size to make the comparison easier to interpret.

Related: #5866, #5867.

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