Knapsack Pro

DEV Community (dev.to) / dev.to / Forem / Build ID 993ef752-2780-4f78-9c7f-11f8d9143108

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
bea9fa5 refs/pull/21362/merge 8 9 days ago 6 minutes 41.36 seconds 28 minutes 4.32 seconds   1%

Parallel CI nodes

All parallel CI nodes finished their work.

Some of the CI nodes have not run any tests. This could happen when a CI node started late after other CI nodes had already executed all of their tests in the Queue Mode.

The time span between the finish times of the CI node that Finished First and the one which Finished Last is 1 minute 5.57 seconds. The shorter this time is, the better.

Parallel CI nodes

The first CI node finished its work at 2024-11-12 19:20:58 UTC. CI nodes that finished at least 60s later are highlighted.

The reason for slow CI nodes might be too large test files (see the Test Files tab). You may want to try the Knapsack Pro Queue Mode (Ruby) to improve the distribution of your tests. Learn more about dynamic test suite split here.

Note: if you run a CI build for the same commit again (for instance when you retry a CI build), then you will see the data updated below. Some of the nodes might be highlighted until the whole CI build is complete.

The average test execution time per CI node is 3 minutes 30.54 seconds.

The time span between the finish times of the CI node that Finished First and the one which Finished Last is 1 minute 5.57 seconds. The shorter this time is, the better.

Node index Finish time Tests execution time (28 minutes 4.32 seconds) Test files
0 Finished First 2024-11-12 19:20:58 UTC 5 minutes 24.46 seconds
1 2024-11-12 19:21:01 UTC 5 minutes 27.71 seconds
2 2024-11-12 19:21:00 UTC 5 minutes 17.15 seconds
3 2024-11-12 19:20:59 UTC 5 minutes 3.91 seconds
4 2024-11-12 19:20:59 UTC 3 minutes 31.79 seconds
5 2024-11-12 19:21:00 UTC 3 minutes 19.33 seconds
6 2024-11-12 19:21:33 UTC 0 seconds None
7 Finished Last 2024-11-12 19:22:04 UTC 0 seconds None

Test Files recorded on parallel CI nodes

The slow test files are highlighted in yellow.

Test files with higher execution time than 3 minutes 30.54 seconds are a bottleneck because they take more time than the expected execution time per parallel CI node.


You can enable auto split of slow RSpec test files by test examples on parallel CI nodes to run your CI builds faster.

The more parallel CI nodes you use, the more test files will be split by test examples.

We recommend running at least 2 CI builds after you increase the number of parallel CI nodes. This way Knapsack Pro API can learn about your test examples defined in the slow test files to split tests better in future CI builds.


Test file path (Displaying entries 901 - 927 of 927 in total files) Execution time
spec/initializers/carrierwave_monkeypatch_spec.rb
6 miliseconds 19% Trend
spec/liquid_tags/slideshare_tag_spec.rb
5 miliseconds Trend
spec/services/edge_cache/bust_podcast_spec.rb
5 miliseconds 86% Trend
spec/liquid_tags/null_tag_spec.rb
5 miliseconds 72% Trend
spec/services/badges/award_eight_week_streak_spec.rb
5 miliseconds 83% Trend
spec/routing/profile_admin_routes_spec.rb
5 miliseconds 68% Trend
spec/lib/reverse_markdown/converters/custom_text_spec.rb
5 miliseconds Trend
spec/services/badges/award_sixteen_week_streak_spec.rb
5 miliseconds Trend
spec/services/badges/award_four_week_streak_spec.rb
5 miliseconds 16% Trend
spec/services/edge_cache/bust_page_spec.rb
5 miliseconds 70% Trend
spec/models/hair_trigger_spec.rb
5 miliseconds Trend
spec/workers/podcasts/bust_cache_worker_spec.rb
5 miliseconds 88% Trend
spec/lib/sidekiq/worker_retries_exhausted_reporter_spec.rb
5 miliseconds 90% Trend
spec/lib/data_update_scripts/add_billboard_location_targeting_feature_flag_spec.rb
5 miliseconds Trend
spec/lib/rails_env_constraint_spec.rb
5 miliseconds 70% Trend
spec/services/audit/subscribe_spec.rb
5 miliseconds 89% Trend
spec/refinements/string_to_boolean_spec.rb
5 miliseconds Trend
spec/services/images/profile_image_generator_spec.rb
5 miliseconds 90% Trend
spec/lib/liquid/variable_spec.rb
4 miliseconds 19% Trend
spec/services/audit/helper_spec.rb
4 miliseconds 75% Trend
spec/lib/data_update_scripts/add_multiple_reactions_feature_flag_spec.rb
4 miliseconds 91% Trend
spec/generator/services_generator_spec.rb
0 seconds Trend
spec/requests/api/v1/docs/follows_spec.rb
0 seconds Trend
spec/system/comments/user_fills_out_comment_spec.rb
0 seconds Trend
spec/system/dashboards/user_followers_display_spec.rb
0 seconds Trend
spec/system/dashboards/user_visits_dashboard_spec.rb
0 seconds 100% Trend
spec/models/shared_examples/taggable_spec.rb
0 seconds Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free