ci: allow the complete benchmark to finish on shared runners
This commit is contained in:
1 parent
6b3113de9a
commit
8fcd53fc32
2 files changed
+2
-2
No files matched your search
@@ -247,7 +247,7 @@ GitLab CI runs independent validation, test, build, security, and image stages:
|
||||
|
||||
Pipelines switch to MR pipelines when a branch has an open MR, avoiding duplicate builds. Docker publication from MR pipelines is limited to detached pipelines within this project. Tag pipelines promote the already-built commit image instead of rebuilding it.
|
||||
|
||||
The test job runs Vitest directly with at most two workers and coverage. It then runs the complete benchmark protocol separately, with one worker, a 2 GiB Node heap limit, and no coverage instrumentation, preserving its assertions and existing timeout. This avoids the benchmark's observed 90-second timeout under coverage while keeping it mandatory.
|
||||
The test job runs Vitest directly with at most two workers and coverage. It then runs the complete benchmark protocol separately, with one worker, a 2 GiB Node heap limit, and no coverage instrumentation. The benchmark uses a five-minute execution timeout to allow for shared-runner contention; all protocol assertions remain mandatory. Timing measurements are benchmark evidence, not CI performance thresholds.
|
||||
|
||||
### GitFlow and releases
|
||||
|
||||
|
||||
@@ -109,5 +109,5 @@ describe('leave planner benchmark protocol', () => {
|
||||
} finally {
|
||||
vi.stubGlobal('window', browserWindow);
|
||||
}
|
||||
}, 90_000);
|
||||
}, 300_000);
|
||||
});
|
||||
Reference in new issue
Block a user