Knapsack Pro

DEV Community (dev.to) / dev.to / Forem / Build ID f1ba9658-9f4b-45d1-ab4e-d7a2e0c39fa9

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
16999c9 refs/pull/21362/merge 8 9 days ago 5 minutes 46.85 seconds 27 minutes 48.7 seconds   2%

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 18 minutes 10.69 seconds. The shorter this time is, the better.

Parallel CI nodes

The first CI node finished its work at 2024-11-12 19:40:53 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 28.59 seconds.

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

Node index Finish time Tests execution time (27 minutes 48.7 seconds) Test files
0 2024-11-12 19:40:54 UTC 4 minutes 37.18 seconds
1 2024-11-12 19:40:53 UTC 4 minutes 40.09 seconds
2 Finished First 2024-11-12 19:40:53 UTC 4 minutes 38.35 seconds
3 2024-11-12 19:40:53 UTC 4 minutes 28.6 seconds
4 2024-11-12 19:40:53 UTC 4 minutes 23.42 seconds
5 2024-11-12 19:40:55 UTC 2 minutes 24.19 seconds
6 2024-11-12 19:40:54 UTC 2 minutes 36.92 seconds
7 Finished Last 2024-11-12 19:59: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 28.59 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 927 in total files) Execution time
spec/system/user_views_logo_spec.rb
235 miliseconds 29% Trend
spec/policies/authorizer_spec.rb
230 miliseconds 28% Trend
spec/services/content_renderer_spec.rb
230 miliseconds 21% Trend
spec/services/search/tag_spec.rb
229 miliseconds 29% Trend
spec/system/authentication/user_with_suspended_username_spec.rb
226 miliseconds 30% Trend
spec/system/admin/admin_visits_extensions_spec.rb
226 miliseconds 23% Trend
spec/services/notifications/remove_all_by_action_spec.rb
225 miliseconds 16% Trend
spec/system/search/search_title_spec.rb
224 miliseconds 26% Trend
spec/requests/follows_bulk_update_spec.rb
222 miliseconds 25% Trend
spec/requests/profiles_request_spec.rb
220 miliseconds 35% Trend
spec/services/articles/builder_spec.rb
220 miliseconds 31% Trend
spec/system/admin/admin_creates_new_tag_spec.rb
218 miliseconds 34% Trend
spec/helpers/profile_helper_spec.rb
216 miliseconds 28% Trend
spec/workers/users/follow_worker_spec.rb
215 miliseconds 33% Trend
spec/models/recommended_articles_list_spec.rb
213 miliseconds 19% Trend
spec/queries/users/select_moderators_query_spec.rb
212 miliseconds 33% Trend
spec/system/admin/admin_visits_badge_achievements_spec.rb
212 miliseconds 30% Trend
spec/models/page_view_spec.rb
206 miliseconds 37% Trend
spec/workers/moderator/sink_articles_worker_spec.rb
203 miliseconds 33% Trend
spec/requests/api/v1/docs/videos_spec.rb
203 miliseconds 40% Trend
spec/workers/follows/send_email_notification_worker_spec.rb
202 miliseconds 33% Trend
spec/decorators/application_decorator_spec.rb
202 miliseconds 25% Trend
spec/models/data_update_script_spec.rb
201 miliseconds 40% Trend
spec/requests/api/v1/profile_images_spec.rb
201 miliseconds 45% Trend
spec/mailers/digest_mailer_spec.rb
200 miliseconds 24% Trend
spec/services/slack/messengers/article_published_spec.rb
200 miliseconds 16% Trend
spec/lib/url_spec.rb
199 miliseconds 30% Trend
spec/policies/organization_policy_spec.rb
197 miliseconds 20% Trend
spec/models/device_spec.rb
197 miliseconds 34% Trend
spec/services/open_graph_spec.rb
195 miliseconds 32% Trend
spec/requests/api/v0/health_checks_spec.rb
195 miliseconds 19% Trend
spec/models/poll_option_spec.rb
194 miliseconds 26% Trend
spec/helpers/social_link_helper_spec.rb
193 miliseconds 32% Trend
spec/requests/badges_spec.rb
192 miliseconds 38% Trend
spec/requests/api/v0/profile_images_spec.rb
191 miliseconds 28% Trend
spec/requests/api/v1/docs/followed_tags_spec.rb
190 miliseconds 29% Trend
spec/models/role_spec.rb
189 miliseconds 17% Trend
spec/services/images/optimizer_spec.rb
186 miliseconds 38% Trend
spec/models/users/notification_setting_spec.rb
184 miliseconds 31% Trend
spec/requests/stories/articles_search_spec.rb
182 miliseconds 37% Trend
spec/liquid_tags/github_tag/github_issue_tag_spec.rb
181 miliseconds 37% Trend
spec/lib/data_update_scripts/populate_explicit_follow_points_spec.rb
179 miliseconds 28% Trend
spec/models/profile_field_spec.rb
179 miliseconds 47% Trend
spec/workers/notifications/mention_worker_spec.rb
178 miliseconds 26% Trend
spec/requests/admin/extensions_spec.rb
177 miliseconds 38% Trend
spec/routing/all_routes_spec.rb
177 miliseconds 36% Trend
spec/requests/incoming_webhooks/mailchimp/unsubscribe_spec.rb
176 miliseconds 39% Trend
spec/policies/space_policy_spec.rb
174 miliseconds 31% Trend
spec/models/user_block_spec.rb
173 miliseconds 32% Trend
spec/services/tag_moderators/add_trusted_role_spec.rb
169 miliseconds 30% Trend
spec/services/users/delete_podcasts_spec.rb
168 miliseconds 33% Trend
spec/requests/api/v1/health_checks_spec.rb
167 miliseconds 43% Trend
spec/workers/segmented_user_refresh_worker_spec.rb
162 miliseconds 39% Trend
spec/validators/cross_model_slug_validator_spec.rb
159 miliseconds 43% Trend
spec/liquid_tags/unified_embed/tag_spec.rb
158 miliseconds 31% Trend
spec/system/authentication/omniauth_redirect_uri_spec.rb
157 miliseconds 46% Trend
spec/workers/broadcasts/send_welcome_notifications_worker_spec.rb
155 miliseconds 42% Trend
spec/workers/data_update_worker_spec.rb
154 miliseconds 39% Trend
spec/models/user_visit_context_spec.rb
152 miliseconds 42% Trend
spec/models/ahoy/store_spec.rb
151 miliseconds 36% Trend
spec/requests/user/user_suggestions_spec.rb
150 miliseconds 37% Trend
spec/mailers/application_mailer_spec.rb
148 miliseconds 53% Trend
spec/views/comments/_comment.html.erb_spec.rb
147 miliseconds 48% Trend
spec/models/podcast_ownership_spec.rb
146 miliseconds 28% Trend
spec/models/navigation_link_spec.rb
143 miliseconds 47% Trend
spec/services/payments/customer_spec.rb
143 miliseconds 33% Trend
spec/requests/api/v1/docs/readinglist_spec.rb
143 miliseconds 37% Trend
spec/services/feature_flag_spec.rb
143 miliseconds 42% Trend
spec/workers/feeds/import_articles_worker_spec.rb
142 miliseconds 51% Trend
spec/requests/notification_counts_spec.rb
137 miliseconds 34% Trend
spec/requests/universal_links_spec.rb
136 miliseconds 44% Trend
spec/lib/data_update_scripts/set_onboarding_profile_fields_for_existing_forems_spec.rb
136 miliseconds 40% Trend
spec/workers/comments/calculate_score_worker_spec.rb
136 miliseconds 37% Trend
spec/requests/ahoy/external_email_clicks_spec.rb
135 miliseconds 43% Trend
spec/services/profile_fields/import_from_csv_spec.rb
134 miliseconds 32% Trend
spec/requests/api/v1/docs/profile_images_spec.rb
133 miliseconds 45% Trend
spec/views/podcast_episodes/index.html.erb_spec.rb
132 miliseconds 39% Trend
spec/services/notifications/welcome_notification/send_spec.rb
130 miliseconds 24% Trend
spec/lib/data_update_scripts/update_each_articles_privileged_user_point_count_spec.rb
129 miliseconds 54% Trend
spec/system/authentication/user_request_confirmation_spec.rb
126 miliseconds 52% Trend
spec/serializers/search/listing_serializer_spec.rb
122 miliseconds 52% Trend
spec/services/tag_adjustment_update_service_spec.rb
121 miliseconds 51% Trend
spec/workers/notifications/notifiable_action_worker_spec.rb
121 miliseconds 52% Trend
spec/workers/notifications/welcome_notification_worker_spec.rb
121 miliseconds 43% Trend
spec/liquid_tags/user_subscription_tag_spec.rb
121 miliseconds 49% Trend
spec/workers/listings/expire_old_listings_worker_spec.rb
120 miliseconds 47% Trend
spec/workers/users/resave_articles_worker_spec.rb
119 miliseconds 49% Trend
spec/requests/articles/articles_feed_spec.rb
118 miliseconds 48% Trend
spec/views/credits/new.html.erb_spec.rb
118 miliseconds 52% Trend
spec/policies/api_secret_policy_spec.rb
117 miliseconds 48% Trend
spec/helpers/admin/organizations_helper_spec.rb
116 miliseconds 37% Trend
spec/services/edge_cache/bust_spec.rb
115 miliseconds 57% Trend
spec/services/settings/authentication/upsert_spec.rb
114 miliseconds 44% Trend
spec/lib/data_update_scripts/update_article_main_image_path_spec.rb
113 miliseconds 44% Trend
spec/services/badges/award_top_seven_spec.rb
113 miliseconds 35% Trend
spec/services/feeds/assemble_article_markdown_spec.rb
112 miliseconds 41% Trend
spec/services/notification_subscriptions/update_spec.rb
110 miliseconds 60% Trend
spec/system/admin/admin_creates_new_page_spec.rb
108 miliseconds 55% Trend
spec/services/follows/check_cached_spec.rb
108 miliseconds 46% Trend
spec/models/badge_spec.rb
105 miliseconds 50% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free