Skip to content

[CI] Reduce redundant tests and unnecessary CI waits - #25806

Merged
nwparker merged 1 commit into
mainfrom
nwparker/ci-test-slim-pass-two-20261006
Oct 6, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/ci-test-slim-pass-two-20261006

Conversation

@nwparker

@nwparker nwparker commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 14 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​207 $\color{#cf222e}{\Huge{\mathbf{−}}}$​468 $\color{#cf222e}{\Huge{\mathbf{−}}}$​261
Prod 0 0 0 0

ELI5

CI spends less time repeating the same checks and waiting for timers. This test-only pass removes 64 low-value cases while keeping useful failure, ownership, browser, and filesystem regressions.

What Changed

  • Replace unnecessary real waits in native-chat tests with the existing fake clock, and use the existing shorter test-only reconciliation interval in transcript watcher tests.
  • Reduce JPEG capture sampling from 111 viewports to 12 representative captures. Keep encoded-byte limits, noise-floor checks, oversized-frame rejection, and the no-viewport-meta negative control.
  • End ordinary browser transition sampling after the expected geometry and hit target remain stable for 150 ms with no active animations. Keep the full observation window for both interruption cases.
  • Remove duplicate runtime branches, CSS assertions, source inventories, and an assertion-free relay startup probe. Keep three distinct runtime regressions identified during independent review.

Why

Reducing repeated work and unnecessary waits saves runner time without moving jobs to paid runners or reducing the platform matrix. Local mobile browser wall time fell from 67.1 s to 38.0 s; renderer test bodies from 11.55 s to 0.91 s; transcript watcher bodies from 14.54 s to 2.15 s. Whole-CI improvement is not yet measured. Runtime cleanup primarily improves signal rather than speed.

The JPEG grid is intentionally less exhaustive. The removed relay source scan is not replaced by a claim of Node 18 runtime testing.

Linked Issue

N/A — internal CI maintenance.

Visual Proof

N/A — test-only changes; no product appearance or interaction change.

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below

On macOS, with background launches enabled: 1,493 affected tests passed and one skipped, including Chromium and WebKit browser cases. pnpm tc, changed-code quality checks, commit-hook lint/format checks, and the 143-entry reliability manifest check passed. Independent review passed. Full hosted CI and Linux/Windows execution are left to CI; a full local repository test run was not performed for this pass.

Review

Independent review restored three original runtime cases for browser-tab equality, duplicate PTY handling, and projected-parent split layout. No production files changed.

Agent skill upstream boundary

  • Not applicable: no agent skill sources changed.

Notes

Production behavior, platform matrix, SSH behavior, and dashboard are unchanged.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered
  • Relevant local tests, typecheck, and changed lint pass; remaining checks will run in CI

@nwparker
nwparker merged commit f9c8cd4 into main Oct 6, 2026
3 checks passed
@nwparker nwparker changed the title Reduce redundant tests and unnecessary CI waits [CI] Reduce redundant tests and unnecessary CI waits Oct 9, 2026
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