Skip to content

perf(test): audit Tier 2 serial restrictions and enable safe concurrency #1634

Closed

Description

@zackees

Task

Audit the ten Tier 2 RUN_SERIAL restrictions and experimentally identify which can be removed or replaced by narrower isolation on one machine. User requested concurrent execution to reduce sharding. Related: #1581, #838, #456.

Plan and decisions

  • Inventory shared X display, filesystem, process/service namespaces and real-time CPU constraints per test.
  • Reuse the existing bounded Tier 2 build/runtime; compare unchanged serial scheduling against concurrent candidates for C reference and hybrid. Preserve every C test/assertion and skip policy.
  • Remove only restrictions supported by source review and repeated executions; isolate the XSHM resolution-changing test where needed. Keep timing-sensitive restrictions unless evidence supports removal.
  • Report commands, revisions, counts, failures, wall time and machine limits. Reduce CI shards only if measurements justify it; otherwise state the remaining blockers. No new workflow files.

This is a new concurrency experiment; it does not complete #1581’s representative-day rollout audit.

Activity

  1. zackees commented on Oct 21, 2026

    @zackees
    MemberAuthor

    Claiming: #1634. I will inventory all ten serial tests, run reproducible one-machine C/hybrid concurrency trials using the existing Tier 2 harness, and publish measured keep/remove/isolate decisions. Any scheduling change will preserve C test bodies, assertions, skip policy, and RED → GREEN coverage. This is separate from #1581’s frozen rollout measurement.

  2. added
    claimed
    on Oct 21, 2026
  3. zackees commented on Oct 21, 2026

    @zackees
    MemberAuthor

    Merged in #1643 as 4c432e26d917a4bec50a27c964258ec332c45be7.

    • Removed nine broad serial barriers; XSHM now uses a private display and Linux renderer workers are bounded.
    • Retained deinterlace timing isolation after an actual CI field-drop failure.
    • Fixed core output state publication before deactivate, with a deterministic normal/force-stop regression (400 local stop cycles across both backends).
    • Full local suites passed 351 registrations per backend with the same three PulseAudio skips. No existing C test body or public header was changed by this PR.
    • PR CI and merge-group CI both passed, including native Linux, Windows and macOS checks.

    The CI matrix remains two shards per backend. The representative-day runner-cost/gate study and any further shard reduction remain separate work under #1581. Historical failures and final policy are retained in docs/ci-serial-audit-2026-10-21.{md,json}.

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

    claimed

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions