question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Video upload takes a long time, extending action runs from 10 minutes to over 50 minutes

See original GitHub issue

We use http://dashboard.cypress.io/ for free right now. We have observed that the video recording feature seems to result in our tests taking an exceptionally long time to run, but this wasn’t always the case.

When we first setup the dashboard, our tests took about 10 minutes to run. But after some weeks of running (we run probably 10k+ tests a month, which is well over the free tier limit) we started to notice that our test runs took anywhere from 20 minutes to 1 hour and 20 minutes to run. We use Github Actions with Github’s workers to run our tests.

After disabling the video recording feature, with the following setting:

`videoUploadOnPasses: false`

we stopped experiencing this issue.

Again, this wasn’t always an issue. Sometimes it is totally fine, but others it takes a really long time.

We were theorizing that we might be getting throttled when uploading videos, since we aren’t paying anything for cypress dashboard after all. Could this be the case? If so, perhaps Cypress could just reject video uploads for test runs beyond the free tier limit?

– This isn’t a blocker or anything for us, we just wanted to inform you of the behavior. Love the product so far!

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bmpieretticommented, May 17, 2021

I can add some further context here, initially we upgraded cypress from v6.8.0 to 7.1.0, and started seeing massive increases in timing to our CI pipelines for Cypress, as @pgerlich mentioned it went from ~14 mins to ~50-70mins, but would sometimes finish the CI pipeline in ~20mins. The actual tests time was usually around the 20 min mark, with something else having to account for the extra 30-50 mins.

We theorized this was likely due to one or both of the following reasons:

  • Videos might be throttled when uploaded to cypress.io
  • Video compression

I’m not sure which may have been the real problem, as I never took the time to sit with a stopwatch and time our CI output, and this extra timing wasn’t happening locally likely due to not having the resource constraint that github action containers have.

In the implemented fix, the only changes made were to set videoUploadOnPasses: false, and bumping the cypress version to v7.3.0, as I know the team had addressed some performance items in v7.2.0. The version bump alone didn’t seem to be enough here, as we were still seeing 50min builds after the bump.

Any insight into the real issue here given this? Since you mentioned uploads are never throttled, was there any changes to the default compression for videos that may have been responsible for the time, or could this be some other issue we weren’t aware of?

0reactions
jennifer-shehanecommented, May 27, 2021

Hey @pgerlich, just following up to see if there’s any new information so we can investigate the video processing timing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Video stuck during upload - YouTube Help - Google Support
Uploading can take anywhere from a few minutes to several hours. If your upload seems stuck, or is taking a long time, it...
Read more >
Enabling Longer Videos In YouTube
By default, YouTube allows video uploads that are up to 15 minutes long. If you try to upload videos longer than 15 minutes,...
Read more >
How to fix SLOW UPLOADING!! 2020 - YouTube
My original video showing same concept on a desktop:https://m.youtube.com/watch?v=WBdYhYkys7c&t=5s.
Read more >
How to troubleshoot a video stuck in processing - Loom support
Duration of your video, longer videos will take longer to process. ... If your video has not processed after 30 minutes, please visit...
Read more >
Scheduling meetings - Zoom Support
A host has control over the options for their scheduled meetings, ... start time you wish them to be able to join: 5...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found