DEV Community (dev.to) / dev.to / Forem / Build ID b07bd1c5-4518-4012-b599-14c231483333
Commit hash | Branch | Nodes | Start | Wall time | Tests execution time |
---|---|---|---|---|---|
c38071c | refs/pull/21372/merge | 8 | 8 days ago | 4 minutes 35.68 seconds | 31 minutes 33.39 seconds 10% |
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 19 minutes 11.57 seconds. The shorter this time is, the better.
The first CI node finished its work at 2024-11-13 19:34:44 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 56.68 seconds.
The time span between the finish times of the CI node that Finished First and the one which Finished Last is 19 minutes 11.57 seconds. The shorter this time is, the better.
Node index | Finish time | Tests execution time (31 minutes 33.39 seconds) | Test files |
---|---|---|---|
0 | 2024-11-13 19:34:44 UTC | 3 minutes 50.36 seconds | |
1 | 2024-11-13 19:35:11 UTC | 4 minutes 25.82 seconds | |
2 | 2024-11-13 19:34:44 UTC | 3 minutes 48.21 seconds | |
3 | 2024-11-13 19:34:45 UTC | 3 minutes 58.34 seconds | |
4 Finished Last | 2024-11-13 19:53:55 UTC | 3 minutes 43.67 seconds | |
5 | 2024-11-13 19:34:45 UTC | 3 minutes 54.84 seconds | |
6 | 2024-11-13 19:34:44 UTC | 3 minutes 56.15 seconds | |
7 Finished First | 2024-11-13 19:34:44 UTC | 3 minutes 56.04 seconds | |
The slow test files are highlighted in yellow.
Test files with higher execution time than 3 minutes 56.68 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/workers/moderator/sink_articles_worker_spec.rb
|
227 miliseconds | 25% | Trend |
spec/system/admin/admin_creates_new_tag_spec.rb
|
227 miliseconds | 31% | Trend |
spec/workers/articles/score_calc_worker_spec.rb
|
226 miliseconds | 19% | Trend |
spec/lib/data_update_scripts/coerce_identity_auth_data_format_spec.rb
|
225 miliseconds | 33% | Trend |
spec/services/notifications/remove_all_by_action_spec.rb
|
224 miliseconds | 16% | Trend |
spec/models/concerns/purgeable_spec.rb
|
223 miliseconds | 49% | Trend |
spec/helpers/profile_helper_spec.rb
|
220 miliseconds | 27% | Trend |
spec/services/open_graph_spec.rb
|
218 miliseconds | 24% | Trend |
spec/queries/users/select_moderators_query_spec.rb
|
216 miliseconds | 32% | Trend |
spec/services/content_renderer_spec.rb
|
215 miliseconds | 26% | Trend |
spec/policies/authorizer_spec.rb
|
213 miliseconds | 33% | Trend |
spec/lib/data_update_scripts/update_article_flag_without_parsing_article_spec.rb
|
212 miliseconds | 24% | Trend |
spec/models/page_view_spec.rb
|
211 miliseconds | 36% | Trend |
spec/lib/url_spec.rb
|
208 miliseconds | 27% | Trend |
spec/system/search/search_title_spec.rb
|
207 miliseconds | 32% | Trend |
spec/requests/api/v1/docs/followed_tags_spec.rb
|
202 miliseconds | 25% | Trend |
spec/requests/api/v0/profile_images_spec.rb
|
202 miliseconds | 24% | Trend |
spec/mailers/digest_mailer_spec.rb
|
201 miliseconds | 24% | Trend |
spec/requests/follows_bulk_update_spec.rb
|
200 miliseconds | 32% | Trend |
spec/models/users/notification_setting_spec.rb
|
199 miliseconds | 26% | Trend |
spec/services/edge_cache/bust_commentable_spec.rb
|
198 miliseconds | 63% | Trend |
spec/services/credits/manage_spec.rb
|
198 miliseconds | 33% | Trend |
spec/system/admin/admin_visits_badge_achievements_spec.rb
|
197 miliseconds | 35% | Trend |
spec/routing/all_routes_spec.rb
|
196 miliseconds | 29% | Trend |
spec/requests/api/v1/profile_images_spec.rb
|
194 miliseconds | 47% | Trend |
spec/helpers/social_link_helper_spec.rb
|
194 miliseconds | 32% | Trend |
spec/requests/badges_spec.rb
|
193 miliseconds | 38% | Trend |
spec/workers/users/follow_worker_spec.rb
|
193 miliseconds | 40% | Trend |
spec/requests/api/v1/docs/videos_spec.rb
|
192 miliseconds | 43% | Trend |
spec/models/ahoy/store_spec.rb
|
192 miliseconds | 19% | Trend |
spec/requests/admin/extensions_spec.rb
|
190 miliseconds | 33% | Trend |
spec/models/device_spec.rb
|
190 miliseconds | 36% | Trend |
spec/system/admin/admin_visits_extensions_spec.rb
|
190 miliseconds | 36% | Trend |
spec/models/recommended_articles_list_spec.rb
|
189 miliseconds | 28% | Trend |
spec/requests/api/v1/health_checks_spec.rb
|
188 miliseconds | 36% | Trend |
spec/services/podcasts/get_episode_spec.rb
|
187 miliseconds | 41% | Trend |
spec/models/data_update_script_spec.rb
|
185 miliseconds | 44% | Trend |
spec/decorators/application_decorator_spec.rb
|
185 miliseconds | 31% | Trend |
spec/services/images/optimizer_spec.rb
|
184 miliseconds | 38% | Trend |
spec/services/slack/messengers/article_published_spec.rb
|
183 miliseconds | 23% | Trend |
spec/lib/data_update_scripts/migrate_themes_spec.rb
|
182 miliseconds | 39% | Trend |
spec/workers/follows/send_email_notification_worker_spec.rb
|
182 miliseconds | 40% | Trend |
spec/models/poll_option_spec.rb
|
181 miliseconds | 31% | Trend |
spec/views/comments/_comment.html.erb_spec.rb
|
181 miliseconds | 37% | Trend |
spec/requests/stories/articles_search_spec.rb
|
181 miliseconds | 37% | Trend |
spec/workers/notifications/mention_worker_spec.rb
|
179 miliseconds | 25% | Trend |
spec/models/profile_field_spec.rb
|
178 miliseconds | 47% | Trend |
spec/models/users/suspended_username_spec.rb
|
178 miliseconds | 18% | Trend |
spec/services/tag_moderators/add_trusted_role_spec.rb
|
174 miliseconds | 28% | Trend |
spec/lib/data_update_scripts/populate_explicit_follow_points_spec.rb
|
170 miliseconds | 32% | Trend |
spec/requests/api/v0/health_checks_spec.rb
|
167 miliseconds | 31% | Trend |
spec/system/authentication/omniauth_redirect_uri_spec.rb
|
166 miliseconds | 43% | Trend |
spec/liquid_tags/github_tag/github_issue_tag_spec.rb
|
164 miliseconds | 43% | Trend |
spec/workers/data_update_worker_spec.rb
|
164 miliseconds | 35% | Trend |
spec/workers/comments/calculate_score_worker_spec.rb
|
162 miliseconds | 25% | Trend |
spec/workers/feeds/import_articles_worker_spec.rb
|
157 miliseconds | 46% | Trend |
spec/mailers/custom_mailer_spec.rb
|
157 miliseconds | 41% | Trend |
spec/policies/organization_policy_spec.rb
|
154 miliseconds | 37% | Trend |
spec/system/authentication/user_request_confirmation_spec.rb
|
151 miliseconds | 42% | Trend |
spec/workers/segmented_user_refresh_worker_spec.rb
|
150 miliseconds | 44% | Trend |
spec/validators/cross_model_slug_validator_spec.rb
|
150 miliseconds | 46% | Trend |
spec/requests/notification_counts_spec.rb
|
149 miliseconds | 29% | Trend |
spec/requests/api/v1/docs/readinglist_spec.rb
|
149 miliseconds | 34% | Trend |
spec/policies/space_policy_spec.rb
|
148 miliseconds | 41% | Trend |
spec/workers/broadcasts/send_welcome_notifications_worker_spec.rb
|
148 miliseconds | 44% | Trend |
spec/requests/incoming_webhooks/mailchimp/unsubscribe_spec.rb
|
148 miliseconds | 48% | Trend |
spec/workers/listings/expire_old_listings_worker_spec.rb
|
146 miliseconds | 35% | Trend |
spec/models/podcast_ownership_spec.rb
|
145 miliseconds | 29% | Trend |
spec/requests/api/v1/docs/podcast_episodes_spec.rb
|
144 miliseconds | 45% | Trend |
spec/services/notification_subscriptions/update_spec.rb
|
144 miliseconds | 48% | Trend |
spec/models/user_visit_context_spec.rb
|
143 miliseconds | 45% | Trend |
spec/lib/data_update_scripts/set_onboarding_profile_fields_for_existing_forems_spec.rb
|
141 miliseconds | 38% | Trend |
spec/services/users/delete_podcasts_spec.rb
|
138 miliseconds | 45% | Trend |
spec/services/feature_flag_spec.rb
|
138 miliseconds | 44% | Trend |
spec/liquid_tags/unified_embed/tag_spec.rb
|
137 miliseconds | 40% | Trend |
spec/requests/universal_links_spec.rb
|
135 miliseconds | 44% | Trend |
spec/workers/users/resave_articles_worker_spec.rb
|
134 miliseconds | 43% | Trend |
spec/requests/user/user_suggestions_spec.rb
|
129 miliseconds | 46% | Trend |
spec/requests/api/v1/docs/profile_images_spec.rb
|
129 miliseconds | 46% | Trend |
spec/models/discussion_lock_spec.rb
|
129 miliseconds | 38% | Trend |
spec/lib/data_update_scripts/update_article_main_image_path_spec.rb
|
127 miliseconds | 37% | Trend |
spec/lib/data_update_scripts/update_each_articles_privileged_user_point_count_spec.rb
|
127 miliseconds | 55% | Trend |
spec/serializers/search/listing_serializer_spec.rb
|
124 miliseconds | 51% | Trend |
spec/services/follows/check_cached_spec.rb
|
123 miliseconds | 39% | Trend |
spec/workers/notifications/notifiable_action_worker_spec.rb
|
123 miliseconds | 51% | Trend |
spec/services/notifications/welcome_notification/send_spec.rb
|
121 miliseconds | 30% | Trend |
spec/policies/api_secret_policy_spec.rb
|
120 miliseconds | 47% | Trend |
spec/views/credits/new.html.erb_spec.rb
|
120 miliseconds | 51% | Trend |
spec/services/payments/customer_spec.rb
|
119 miliseconds | 44% | Trend |
spec/models/listing_category_spec.rb
|
117 miliseconds | 41% | Trend |
spec/requests/articles/articles_feed_spec.rb
|
115 miliseconds | 50% | Trend |
spec/models/navigation_link_spec.rb
|
115 miliseconds | 58% | Trend |
spec/services/profile_fields/import_from_csv_spec.rb
|
115 miliseconds | 42% | Trend |
spec/services/tag_adjustment_update_service_spec.rb
|
112 miliseconds | 55% | Trend |
spec/system/admin/admin_creates_new_page_spec.rb
|
112 miliseconds | 54% | Trend |
spec/helpers/admin/organizations_helper_spec.rb
|
111 miliseconds | 40% | Trend |
spec/services/feeds/assemble_article_markdown_spec.rb
|
109 miliseconds | 42% | Trend |
spec/models/role_spec.rb
|
109 miliseconds | 52% | Trend |
spec/workers/notifications/welcome_notification_worker_spec.rb
|
108 miliseconds | 50% | Trend |
spec/services/edge_cache/bust_organization_spec.rb
|
107 miliseconds | 51% | Trend |