-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Summary
#1062 improved CI throughput by splitting unit/e2e lanes and partially restoring e2e package parallelism with p=2.
This issue tracks the final step: make tests isolation-safe enough to remove explicit -p and rely on Go defaults.
Target End State
- E2E/examples run with default Go package parallelism (no explicit
-pcap). - Unit and e2e suites are isolation-safe under parallel execution.
Clarification
-pcontrols parallel package test binaries.-parallelcontrols parallel test functions within a package (for tests usingt.Parallel()).
Both should be intentionally considered in rollout and docs.
Work Plan
- Isolation audit (e2e/examples first)
- temp dirs and file paths
- env vars and process-global state
- fixed ports / network resources
- shared work dirs and module artifacts
- Unit test parallelism audit
- ensure
tparallelremains enforced - verify places without
t.Parallel()are intentional and safe - avoid blanket/unsafe
t.Parallel()additions
- Rollout
- step up e2e
-p:2 -> 3 -> 4 -> default - run stress validation (
shuffle, repeated runs) between steps - remove explicit
-ponce stability threshold is met
- Documentation
- document final
go testflags and rationale in workflow comments/docs
Acceptance Criteria
- CI e2e/examples pass reliably with no explicit
-pcap. - No known shared-state race/isolation issues remain.
- Parallelism choices (
-p,-parallel,t.Parallel) are documented.
Related
- [CI/CD | E2E tests] Parallel execution fails (race-conditions) #767
- Optimize CI/CD pipeline for test execution (E2E-first) #1008
- Improve e2e CLI helper performance by reusing built
nevabinary #979
Cross-links
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels