Knapsack Pro

Check out the new docs for the updated documentation.

FAQ / knapsack_pro / Dashboard

Why don't I see collected time execution data for my build in the user dashboard?

If you visit the user dashboard and open Build metrics for your API token, then open the build for your last git commit, you should find information about the collected execution time data from all CI nodes. If the collected execution time data for CI nodes is missing, please ensure the following:

  • You have included Knapsack::Adapters::RspecAdapter.bind in your rails_helper.rb or spec_helper.rb.
  • You have explicitly set RAILS_ENV=test on your CI nodes. For instance, if you are using Docker, please ensure RAILS_ENV is set.
  • For knapsack_pro Queue Mode (versions older than 3.1.0), temporary files with collected execution time data are saved in your_rails_project/tmp/knapsack_pro/queue/. Make sure not to clean the tmp directory during your tests, allowing knapsack_pro to publish execution time data to the Knapsack Pro API server. For knapsack_pro version 3.1.0 and newer, the .knapsack_pro directory is used to store temporary files.

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free