Skip to content

Bring CI under two minutes - #1644

Merged
RhysSullivan merged 5 commits into
mainfrom
agent/ci-two-minute
Aug 18, 2026
Merged

Bring CI under two minutes#1644
RhysSullivan merged 5 commits into
mainfrom
agent/ci-two-minute

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • replace hash-based e2e sharding with deterministic duration-balanced planning across 16 cloud, 10 self-host, and 2 local lanes
  • isolate long e2e files, preserve full coverage, and keep scenario retries disabled
  • run independent package tests immediately on a 16-vCPU runner with bounded nested Vitest workers
  • stop PGlite teardown from changing green or red Vitest outcomes, with real child-process regressions for both states
  • keep the real 65-second approval delay in its own shard and retain the deterministic 15-minute lease-boundary test
  • remove the unnecessary public pending-approval helper added during the optimization
  • avoid per-shard system-package upgrades and use exact-lock Bun/package plus Playwright browser caches to stabilize setup

Why

The previous required CI critical path was 5m44s, dominated by a 286-second self-host shard and a package-test dependency waterfall. The cloud test process could also print failures while returning success because PGlite teardown changed its exit code.

Validation

  • previous full CI runs on this branch: 1m58s and 1m44s, 35/35 jobs green with retries disabled
  • full monorepo typecheck: 44/44 tasks
  • lint and formatting
  • 38/38 unit-test tasks from a cold local Turbo run
  • real cloud approval pause/resume e2e: 65-second delay, 83-second local suite
  • deterministic 15-minute approval-window boundary test
  • PGlite global-setup child regressions: green exits 0 and red exits 1
  • 13 shard-planner tests, including exactly-once discovery and workflow-matrix synchronization
  • workflow YAML parse and diff checks

@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@pkg-pr-new

pkg-pr-new Bot commented Aug 18, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1644

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1644

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1644

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1644

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1644

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1644

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1644

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1644

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1644

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1644

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1644

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1644

executor

npm i https://pkg.pr.new/executor@1644

commit: f34c48d

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 18, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing f34c48d Commit Preview URL

Branch Preview URL
Aug 18 2026, 01:58 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 18, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud f34c48d Aug 18 2026, 01:57 AM

@RhysSullivan RhysSullivan changed the title Cut CI toward two minutes Bring CI under two minutes Aug 18, 2026
@RhysSullivan
RhysSullivan marked this pull request as ready for review August 18, 2026 15:47
@RhysSullivan
RhysSullivan merged commit 86acd38 into main Aug 18, 2026
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant