WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Issue 2A.5 : Validate Mock Isolation & Enable maxConcurrency: 2 #4899

@Ansingh0305

Description

@Ansingh0305

Goal

The goal of this issue is to validate mock isolation fixes and enable maxConcurrency: 2 for 2.3-2.5x test speedup target. This is the final validation step for Phase 2A.

Tasks

  • Run tests locally with maxConcurrency: 2 and verify zero "unexpected mock call" failures
  • Profile memory usage during local runs
  • Update vitest.config.ts: maxConcurrency: isCI ? 2 : 4
  • Run 20 consecutive CI builds and verify 100% pass rate
  • Monitor memory usage (must stay <5GB) and measure speedup

Resources

Acceptance Criteria

  • maxConcurrency: 2 passes 20 consecutive CI runs
  • Zero "unexpected mock call" failures in 50 test runs
  • Memory usage stays under 5GB
  • Speedup improves from 2x to 2.3-2.5x
  • Phase 2A complete → Unblocks Phase 2B
  • PR created with updates, passing all checks and reviews

Other

Blocked by: Issues 2A.0-2A.4 must all be merged
Estimated effort: 3-5 days (mostly validation)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions