Skip to content

chore(ci): defer heavy PR jobs to later validation tiers - #165231

Merged
steipete merged 1 commit into
mainfrom
ci/pr-heavy-lanes-to-hourly-spd10
Oct 5, 2026
Merged

steipete merged 1 commit into
mainfrom
ci/pr-heavy-lanes-to-hourly-spd10

Conversation

@steipete

@steipete steipete commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

What Problem This Solves

Ordinary PRs wait for platform and integration checks that repeatedly dominate the CI critical path.

User Impact

Developers get earlier PR feedback. Defects detected only by these jobs can be found after merge instead; their existing hourly and full-release coverage remains in place. Android screenshots were already excluded from hourly main and remain in full manual/release validation.

Why This Change Was Made

Preflight no longer selects real-Gateway UI E2E, Windows Node, macOS Node/Swift, iOS build/simulator smoke, the published-driver update cell, Knip dependencies, runtime topology/architecture, or Android screenshots on actual pull_request events, including fork contributions. Mocked/bundled UI E2E, Android unit/lint work, and independent source/static checks retain their owners. Swift lint is embedded in the moved native jobs; no new jobs are added.

Manual dispatch and exact-head release_gate behavior stay unchanged. Selection is removed at the scope/manifest owners, including real-Gateway file re-admission and check-matrix serialization. The aggregate accepts those lanes as not selected. Effective main rules require only openclaw/ci-gate; repository protection is unchanged.

The 220-run census identified real-Gateway UI as critical in 65 runs, Windows in 20, and dependencies in 15. Representative published-driver run 37193497004 waited 310 seconds and then ran for 692 seconds. This removes those PR waits; it does not claim a measured new median before natural PR CI.

Evidence

  • Real merged PR diffs replayed: fix(macos): fence Gateway recovery installs with the observed runtime pin #165044 (Apple), feat(workboard): pin, unpin, and delete boards from the sidebar #165020 (UI), fix(update): keep retained service authority after a stopped-free inspection and let repair retire untouched preparations #164997 (update), perf(state): defer integrity scans after proven process crashes #164846 (Windows-sensitive state), and fix(heartbeat): answer a conversation's own background command completion in that conversation #164719 (generic runtime). Each drops 4–10 heavy rows and keeps its Node row count.
  • Hourly keeps 77 rows and every existing test/worker contract; only the new regression test rebalances two fast-file partitions. Full-release and exact-head release-gate manifests retain every pre-existing field.
  • The actual manifest entrypoint passes same-SHA index-export and different-SHA sparse-fetch rehearsals, each with PR and schedule inputs in a shallow checkout.
  • Linux full test-types completed: all 27 core graphs, extensions, and all four root graphs. P2 reviews are clean. Changed checks, boundary lint, and workflow lint passed. After a lint-only fixture correction, all 18 affected planning scenarios, the tooling type graph, and the complete changed-test lint lane passed again; completed unaffected checks were reused.
  • All affected workflow/planning tests pass, including the complete 558-case planning file (262.237 s), seven tier/gate regressions, and nine additional owner files (91 cases). The new test's local single-file wall was 4.18 s (2.98 s Vitest); its Linux cases took 2.268 s, in a two-file group that completed in 3.89 s.
  • The entire 951-file tooling inventory was exercised, with existing configured skips, on Linux across resumable Testbox/AWS/Hetzner runs, preserving completed file results after lease expiry and quota pressure. Ruby/ripgrep prerequisites were repaired on fresh hosts; their affected tests pass. One inherited failure remains: both cases in test/cron-conversation-delivery.codex.integration.test.ts fail with Shared-state admission requires the host broker. The same failure reproduces on unchanged base a2697c13548d; the test, runtime owners, and Vitest configuration are unchanged by this PR. No skips or assertion weakening were added.

Remove the expensive platform, real-Gateway, published-driver, dependency,
and topology jobs at PR scope/manifest admission. Preserve current hourly,
manual, and release-gate behavior, independent static checks, and mocked UI.

Keep gate accounting aligned with final selection and document the later
validation tiers and their after-merge detection tradeoff.
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: L labels Oct 5, 2026
@steipete
steipete enabled auto-merge (squash) October 5, 2026 00:59
@steipete
steipete merged commit 28f8154 into main Oct 5, 2026
144 of 146 checks passed
@steipete
steipete deleted the ci/pr-heavy-lanes-to-hourly-spd10 branch October 5, 2026 01:05
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 5, 2026
…5231)

Remove the expensive platform, real-Gateway, published-driver, dependency,
and topology jobs at PR scope/manifest admission. Preserve current hourly,
manual, and release-gate behavior, independent static checks, and mocked UI.

Keep gate accounting aligned with final selection and document the later
validation tiers and their after-merge detection tradeoff.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation scripts Repository scripts size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant