Closed
Description
Problem
The PR UT job has a long CPU/non-GPU tail caused by fixed lifecycle waits, retry sleeps, and serial independent UT work. These delays increase feedback time without adding coverage.
Reproduction
Run the MatrixOne PR UT workflow and inspect the UT job timing report. The reference run is UT job 103862888965.
Expected behavior
CPU/non-GPU UT completes without unnecessary wall-clock waits while preserving the tested lifecycle, retry, timeout, fault, and result behavior.
Actual behavior
Several tests wait for fixed durations even after the relevant state or event is observable. Some independent UT work also runs serially, extending the critical path.
Environment
- Repository:
matrixorigin/matrixone - Scope: CPU/non-GPU UT and UT runner scheduling
- GPU vector coverage is tracked separately in #28849 and PR #28872
Acceptance criteria
- Replace eligible fixed waits with explicit event/barrier, synchronous-state, virtual-clock, or deterministic-expiry checks.
- Bound independent UT concurrency without increasing global cluster pressure.
- Preserve every case, subtest, SQL statement, result/oracle, error path, boundary, fault injection, topology, and cleanup path.
- Do not add skips, move cases to regression, or modify GPU vector files.
- Validate the implementation with focused race tests and the repository CI UT checks.
Evidence and related links
- Reference UT job: run 34807757226
- Implementation: PR #28936
- GPU split: PR #28872
Metadata
Metadata
Assignees
Labels
No labels
Activity
test: reduce CPU UT lifecycle wait overhead (#28936)
test: reduce CPU UT lifecycle wait overhead (matrixorigin#28936)
test: reduce CPU UT lifecycle wait overhead (matrixorigin#28936)
perf(test): reduce CI case and scheduling overhead (#32645)
fix(ci): retain ownership during batched UT cancellation (#32780)
test: reduce and balance race UT work (#33066)
test: reduce race UT fixture and admission work (#33313)
test: reduce race UT model and engine fixture costs (#33322)