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.

Cache restore slow compared to Semaphore CI

See original GitHub issue

Migrated from here.

Semaphore CI have a cache similar to actions/cache@v1 but theirs only takes six seconds to restore our 760MB node_modules Semaphore CI, compared to twenty eight seconds on GitHub Actions.

This was on Semaphore’s lowest machine type which is comparable to the specifications of the GitHub-hosted runners.

This behavior was observed on multiple builds across several days.


I don’t have a repro because this was observed on a private repo, but it’s easy enough to replicate. I’ll create one if it’s deemed necessary?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
smorimotocommented, Jun 26, 2020

Could you try to use the v2?

1reaction
smorimotocommented, Feb 28, 2020

We’re already working on making it faster, and in my environment it’s about three times faster. The next major version will definitely improve.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Caching - Semaphore 2.0 Documentation
The Semaphore caching script will try to recognize your project structure and automatically store or restore dependencies into or from default paths.
Read more >
actions/cache@v1 is slow to restore #25087 - GitHub
Semaphore CI have a cache similar to actions/cache@v1 but it only takes six seconds to restore our node_modules one Semaphore, compared to ...
Read more >
Caching is very slow for Node.JS projects - gitlab-runner
Overview. Hi, I've tried now several cache configurations to speed up the builds of my Node projects but without luck. Here is my...
Read more >
Run parallel jobs on Semaphore CI 2.0 to get faster CI build time
The slow job could affect and made our whole CI build slower. Especially end to end tests (E2E) can be very slow and...
Read more >
Semaphore CI - Environment Variables are Incorrect
The cache restore command that has zero arguments would lookup cachable elements and try to fetch them from the repository. $ cache restore...
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