-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
knapsack is skipping some rspecs #122
Comments
Hi @hariapollo If you could provide a reproducable repo with Github Actions setup and logs that confirm issues that would be helpful. In the meantime you may consider trying the free plan for Knapsack Pro. It has Queue Mode, which dynamically split tests so that tests are auto-balanced between parallel CI nodes. You can learn more about it here.
How many parallel CI nodes do you have? If too many, you might saturate the CI machine and tests are getting executed slower. With Knapsack Pro you can track the test files execution trend and observe if tests are becoming slower so that you can detect CI saturation issues. Add more CPU/RAM or reduce the number of parallel CI nodes to stabilize your CI server performance. |
Hey @ArturT, I'm sorry I would not be able to provide the repo to reproduce it. Is Knapsack pro free plan is forever ? I've one doubt are there any limitations for knapsack?. I mean is there any limitation for number of tests that only knapsack will run overall or anything like that?
We have 20 nodes running in Staging and 30 nodes on Prod. We use github actions to run our pipelines. Is there anything I can look at to reproduce this issue and find the root cause? |
There is no limitation like that for the knapsack free gem.
You can check free plan limits here.
You can run one of your slow test files just with RSpec ( Then compare it to the execution time of the test file on the GitHub Actions. If it's much slower on CI then CI might be saturated. You can run the following example and preview recorded tests on a given CI node to check how long it took to execute the test files.
|
Hi, We are seeing that there are certain issues with knapsack lib with rspec execution. We have verified the following cases to confirm what could be the root cause.
Configuration details:
Cases we observed:
Please suggest us what could be the wrong here or is there any issue with knapsack distribution and execution.?
The text was updated successfully, but these errors were encountered: