Knapsack Pro

DEV Community (dev.to) / dev.to / Forem / Build ID c00386d5-c1c8-4046-8e44-38d2b5d98360

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
de503b9 refs/pull/21306/merge 8 about 2 months ago 4 minutes 43.9 seconds 28 minutes 58.95 seconds   1%

Parallel CI nodes

All parallel CI nodes finished their work.

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

Parallel CI nodes

The first CI node finished its work at 2024-10-04 15:48:47 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 37.37 seconds.

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

Node index Finish time Tests execution time (28 minutes 58.95 seconds) Test files
0 Finished Last 2024-10-04 15:49:49 UTC 4 minutes 30.53 seconds
1 2024-10-04 15:48:47 UTC 3 minutes 30.06 seconds
2 2024-10-04 15:48:49 UTC 3 minutes 31.36 seconds
3 2024-10-04 15:48:48 UTC 3 minutes 29.16 seconds
4 2024-10-04 15:48:48 UTC 3 minutes 31.66 seconds
5 2024-10-04 15:48:47 UTC 3 minutes 28.67 seconds
6 2024-10-04 15:48:47 UTC 3 minutes 27.01 seconds
7 Finished First 2024-10-04 15:48:47 UTC 3 minutes 30.55 seconds

Test Files recorded on parallel CI nodes

The slow test files are highlighted in yellow.

Test files with higher execution time than 3 minutes 37.37 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 501 - 600 of 924 in total files) Execution time
spec/system/admin/admin_visits_extensions_spec.rb
241 miliseconds 18% Trend
spec/workers/moderator/sink_articles_worker_spec.rb
240 miliseconds 21% Trend
spec/models/poll_skip_spec.rb
240 miliseconds 30% Trend
spec/requests/podcasts/podcast_show_spec.rb
239 miliseconds 36% Trend
spec/services/credits/ledger_spec.rb
236 miliseconds 19% Trend
spec/workers/users/follow_worker_spec.rb
235 miliseconds 27% Trend
spec/services/notification_subscriptions/unsubscribe_spec.rb
231 miliseconds 39% Trend
spec/system/admin/admin_creates_new_tag_spec.rb
229 miliseconds 31% Trend
spec/services/credits/manage_spec.rb
227 miliseconds 23% Trend
spec/helpers/social_link_helper_spec.rb
225 miliseconds 21% Trend
spec/requests/badges_spec.rb
225 miliseconds 28% Trend
spec/workers/follows/send_email_notification_worker_spec.rb
223 miliseconds 28% Trend
spec/services/content_renderer_spec.rb
223 miliseconds 26% Trend
spec/requests/stories/articles_search_spec.rb
221 miliseconds 25% Trend
spec/serializers/search/reading_list_article_serializer_spec.rb
219 miliseconds 36% Trend
spec/services/articles/builder_spec.rb
216 miliseconds 33% Trend
spec/helpers/moderations/actions_panel_helper_spec.rb
214 miliseconds 36% Trend
spec/workers/feeds/import_articles_worker_spec.rb
213 miliseconds 27% Trend
spec/services/podcasts/get_episode_spec.rb
213 miliseconds 35% Trend
spec/queries/users/select_moderators_query_spec.rb
212 miliseconds 33% Trend
spec/requests/api/v0/health_checks_spec.rb
211 miliseconds 13% Trend
spec/lib/string_attribute_cleaner_spec.rb
211 miliseconds 37% Trend
spec/lib/data_update_scripts/update_article_flag_without_parsing_article_spec.rb
210 miliseconds 24% Trend
spec/services/open_graph_spec.rb
210 miliseconds 27% Trend
spec/liquid_tags/github_tag/github_issue_tag_spec.rb
209 miliseconds 26% Trend
spec/mailers/digest_mailer_spec.rb
209 miliseconds 21% Trend
spec/policies/authorizer_spec.rb
209 miliseconds 35% Trend
spec/models/recommended_articles_list_spec.rb
209 miliseconds 20% Trend
spec/policies/discussion_lock_policy_spec.rb
208 miliseconds 33% Trend
spec/services/search/tag_spec.rb
206 miliseconds 32% Trend
spec/lib/data_update_scripts/populate_explicit_follow_points_spec.rb
206 miliseconds 18% Trend
spec/system/search/search_title_spec.rb
202 miliseconds 31% Trend
spec/validators/cross_model_slug_validator_spec.rb
202 miliseconds 28% Trend
spec/services/notifications/remove_all_spec.rb
199 miliseconds 37% Trend
spec/requests/api/v1/docs/videos_spec.rb
198 miliseconds 39% Trend
spec/requests/api/v0/profile_images_spec.rb
197 miliseconds 27% Trend
spec/requests/api/v1/profile_images_spec.rb
193 miliseconds 48% Trend
spec/workers/data_update_worker_spec.rb
193 miliseconds 21% Trend
spec/models/users/notification_setting_spec.rb
192 miliseconds 30% Trend
spec/services/slack/messengers/article_published_spec.rb
190 miliseconds 21% Trend
spec/requests/api/v1/health_checks_spec.rb
185 miliseconds 37% Trend
spec/decorators/application_decorator_spec.rb
182 miliseconds 30% Trend
spec/lib/data_update_scripts/migrate_themes_spec.rb
181 miliseconds 40% Trend
spec/workers/articles/score_calc_worker_spec.rb
180 miliseconds 35% Trend
spec/routing/all_routes_spec.rb
180 miliseconds 35% Trend
spec/helpers/admin/organizations_helper_spec.rb
178 miliseconds 4% Trend
spec/models/users/suspended_username_spec.rb
176 miliseconds 19% Trend
spec/requests/api/v1/docs/followed_tags_spec.rb
176 miliseconds 34% Trend
spec/services/payments/customer_spec.rb
174 miliseconds 13% Trend
spec/models/ahoy/store_spec.rb
173 miliseconds 32% Trend
spec/liquid_tags/user_subscription_tag_spec.rb
162 miliseconds 32% Trend
spec/policies/space_policy_spec.rb
161 miliseconds 36% Trend
spec/system/authentication/omniauth_redirect_uri_spec.rb
160 miliseconds 45% Trend
spec/models/navigation_link_spec.rb
159 miliseconds 41% Trend
spec/views/podcast_episodes/index.html.erb_spec.rb
159 miliseconds 26% Trend
spec/requests/api/v1/docs/podcast_episodes_spec.rb
159 miliseconds 39% Trend
spec/workers/notifications/mention_worker_spec.rb
158 miliseconds 34% Trend
spec/requests/api/v1/docs/readinglist_spec.rb
157 miliseconds 34% Trend
spec/services/tag_moderators/add_trusted_role_spec.rb
155 miliseconds 36% Trend
spec/mailers/application_mailer_spec.rb
154 miliseconds 50% Trend
spec/workers/segmented_user_refresh_worker_spec.rb
154 miliseconds 42% Trend
spec/models/user_block_spec.rb
153 miliseconds 42% Trend
spec/services/users/delete_podcasts_spec.rb
151 miliseconds 39% Trend
spec/workers/broadcasts/send_welcome_notifications_worker_spec.rb
150 miliseconds 46% Trend
spec/workers/users/resave_articles_worker_spec.rb
149 miliseconds 34% Trend
spec/requests/incoming_webhooks/mailchimp/unsubscribe_spec.rb
146 miliseconds 50% Trend
spec/models/user_visit_context_spec.rb
145 miliseconds 44% Trend
spec/workers/listings/expire_old_listings_worker_spec.rb
143 miliseconds 38% Trend
spec/workers/comments/calculate_score_worker_spec.rb
141 miliseconds 32% Trend
spec/services/feeds/assemble_article_markdown_spec.rb
141 miliseconds 25% Trend
spec/lib/data_update_scripts/set_onboarding_profile_fields_for_existing_forems_spec.rb
139 miliseconds 39% Trend
spec/system/authentication/user_request_confirmation_spec.rb
139 miliseconds 47% Trend
spec/requests/notification_counts_spec.rb
139 miliseconds 38% Trend
spec/services/feature_flag_spec.rb
138 miliseconds 42% Trend
spec/views/comments/_comment.html.erb_spec.rb
137 miliseconds 52% Trend
spec/requests/api/v1/docs/profile_images_spec.rb
134 miliseconds 44% Trend
spec/policies/api_secret_policy_spec.rb
134 miliseconds 36% Trend
spec/models/podcast_ownership_spec.rb
132 miliseconds 38% Trend
spec/lib/data_update_scripts/remove_dangling_user_reactions_spec.rb
129 miliseconds 49% Trend
spec/requests/universal_links_spec.rb
128 miliseconds 49% Trend
spec/services/profile_fields/import_from_csv_spec.rb
128 miliseconds 35% Trend
spec/services/notifications/reactions/reaction_data_spec.rb
127 miliseconds 59% Trend
spec/requests/ahoy/external_email_clicks_spec.rb
126 miliseconds 45% Trend
spec/workers/notifications/notifiable_action_worker_spec.rb
126 miliseconds 51% Trend
spec/services/edge_cache/bust_spec.rb
126 miliseconds 56% Trend
spec/liquid_tags/unified_embed/tag_spec.rb
125 miliseconds 42% Trend
spec/lib/data_update_scripts/update_each_articles_privileged_user_point_count_spec.rb
122 miliseconds 58% Trend
spec/services/follows/check_cached_spec.rb
122 miliseconds 39% Trend
spec/requests/admin/moderator_logs_spec.rb
119 miliseconds 24% Trend
spec/services/tag_adjustment_update_service_spec.rb
119 miliseconds 50% Trend
spec/liquid_tags/user_tag_spec.rb
117 miliseconds 25% Trend
spec/serializers/search/listing_serializer_spec.rb
117 miliseconds 54% Trend
spec/services/notifications/welcome_notification/send_spec.rb
117 miliseconds 31% Trend
spec/views/credits/new.html.erb_spec.rb
116 miliseconds 51% Trend
spec/services/badges/award_top_seven_spec.rb
115 miliseconds 38% Trend
spec/services/listings/create_spec.rb
112 miliseconds 39% Trend
spec/lib/data_update_scripts/update_article_main_image_path_spec.rb
111 miliseconds 45% Trend
spec/models/badge_spec.rb
109 miliseconds 51% Trend
spec/services/notification_subscriptions/update_spec.rb
109 miliseconds 61% Trend
spec/workers/notifications/welcome_notification_worker_spec.rb
108 miliseconds 50% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free