Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 20 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,29 @@ jobs:
- name: Determine macOS runner type
id: mac_runner_type
run: |
RUNNER_TYPE='["namespace-profile-mac-ci"]'
# Stock GitHub-hosted macOS runner. Upstream Warp uses a Namespace.so
# profile (namespace-profile-mac-ci) that isn't provisioned in the
# OpenCoven org, so we fall back to the free shared pool here.
RUNNER_TYPE='["macos-latest"]'
echo "value=$RUNNER_TYPE" >> $GITHUB_OUTPUT

- name: Determine wasm runner type
id: wasm_runner_type
run: |
# Use a larger (16 core, 64GB ram) runner on Linux to speed up execution time.
# https://github.com/warpdotdev/warp-internal/settings/actions/runners
RUNNER_TYPE='["ubuntu-latest-large"]'
# Stock GitHub-hosted Linux runner. Upstream Warp uses
# ubuntu-latest-large (16-core/64GB) provisioned at the warpdotdev org
# level; OpenCoven doesn't have larger runners enabled, so we fall
# back to the free shared pool. Slower but actually executes.
RUNNER_TYPE='["ubuntu-latest"]'
echo "value=$RUNNER_TYPE" >> $GITHUB_OUTPUT
Comment on lines 83 to 100

tests:
name: Run ${{ matrix.name }} tests
timeout-minutes: 25
# Stock GitHub-hosted runners (2-core Linux, 4-core Windows) are roughly
# 6× slower than the larger SKUs the upstream Warp workflow assumed, so
# the previous 25-minute ceiling was triggering cancellations before
# tests finished compiling. 90m leaves headroom on cold caches.
timeout-minutes: 90
env:
# The public CastCodes repo does not provision hosted SSH test fixtures.
# Tests that need those fixtures include `_ssh_` in their name.
Expand All @@ -113,17 +122,13 @@ jobs:

- os: "linux"
name: "Linux"
# Use a larger (16 core, 64GB ram) runner on Linux to speed up execution time.
# https://github.com/warpdotdev/warp-internal/settings/actions/runners
runner: ubuntu-latest-large
# We don't (yet) have any self-hosted Linux runners.
runner: ubuntu-latest
is_self_hosted: false
extra_test_args: ""

- os: "windows"
name: "Windows"
runner: windows-latest-large
# We don't (yet) have any self-hosted Windows runners.
runner: windows-latest
is_self_hosted: false
extra_test_args: "--exclude command-signatures-v2 --exclude warp_js"
runs-on: ${{ matrix.runner }}
Expand Down Expand Up @@ -469,18 +474,14 @@ jobs:

- os: "linux"
name: "Linux"
# Use a larger (16 core, 64GB ram) runner on Linux to speed up execution time.
# https://github.com/warpdotdev/warp-internal/settings/actions/runners
runner: ubuntu-latest-large
# We don't (yet) have any self-hosted Linux runners.
runner: ubuntu-latest
is_self_hosted: false
null_device: "/dev/null"
clippy_excludes: "--exclude warp_completer"

- os: "windows"
name: "Windows"
runner: windows-latest-large
# We don't (yet) have any self-hosted Windows runners.
runner: windows-latest
is_self_hosted: false
null_device: "NUL"
clippy_excludes: "--exclude warp_js --exclude command-signatures-v2"
Expand Down Expand Up @@ -632,17 +633,13 @@ jobs:

- os: "linux"
name: "Linux"
# Use a larger (16 core, 64GB ram) runner on Linux to speed up execution time.
# https://github.com/warpdotdev/warp-internal/settings/actions/runners
runner: ubuntu-latest-large
# We don't (yet) have any self-hosted Linux runners.
runner: ubuntu-latest
is_self_hosted: false
null_device: "/dev/null"

- os: "windows"
name: "Windows"
runner: windows-latest-large
# We don't (yet) have any self-hosted Windows runners.
runner: windows-latest
is_self_hosted: false
null_device: "NUL"

Expand Down
Loading