bahmutov / bahmutov/cy-rollup

Getting timeouts from time to time

Open
#156 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
11
Forks
2
PR merge metrics
No merged PRs in 30d

Description

From time to time, rollup takes time to copy files and they're not ready when tests starts.
![Captura de pantalla de 2021-06-14 13-43-11](https://user-images.githubusercontent.com/500/121887024-7d4b6600-cd16-11eb-8cb0-8a9b8576cd30.png)
See for instance above how it errors saying it does not find the file which has just been copied. Any idea of how to fix this? Maybe create some delay when the file is being processed, in the plugin file?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the intermittent missing-file failure while running the Cypress tests and inspect the Rollup plugin's file-copy processing. Confirm that copied files are ready before tests access them; done means the timeout no longer occurs and the relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript, rollup
Domain
build-system, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.