bahmutov / bahmutov/cypress-split
Azure devops linux agent - Failing to read timings from timings.json
- Dominant language
- JavaScript
- Stars
- 285
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
Hi, thanks for making such a great package.
cypress: 12.17.4
cypress-split: 1.17.0
command: npx cypress run --browser chrome --env split=4,splitIndex=1,splitFile=timings.json,DEBUG=cypress-split
I have generated a timings.json file, but when attempting to read the timings in an azure devops pipeline on a linux build agent, it's getting the same time for every test. Example:

However, run locally on a Windows 11 machine using the same command it appears to work fine.

Would be great to get this working. Any suggestions much appreciated!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `npx cypress run --browser chrome --env split=4,splitIndex=1,splitFile=timings.json,DEBUG=cypress-split` on an Azure DevOps Linux build agent, using the generated `timings.json`. Compare its timing reads with the reported Windows 11 run; done means individual test timings are used instead of the same timing for every test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, javascript
- Domain
- ci-cd, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100