bahmutov / bahmutov/cypress-split

Assumes zero for all durations with empty file

Open
#484 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
285
Forks
28
PR merge metrics
No merged PRs in 30d

Description

If for some reason an empty timings file is ingested, the average duration for all the specs ends up 0, and all files are run in first node. Should the logic be updated to treat an empty file the same as no file existing?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the code that ingests timings files and compare its empty-file path with the no-file path. Reproduce the case with an empty timings file, then add or update coverage so the resulting durations do not place every spec on the first node and verify the normal timings behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript
Domain
ci-cd, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.