DEV Community (dev.to) / dev.to / Forem / Build ID 313f2bca-3946-4a07-bc78-e87661b87ea3
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 42 minutes 42.41 seconds. The shorter this time is, the better.
The first CI node finished its work at 2024-03-04 19:12:11 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 5.85 seconds.
The time span between the finish times of the CI node that Finished First and the one which Finished Last is 42 minutes 42.41 seconds. The shorter this time is, the better.
Node index | Finish time | Tests execution time (24 minutes 46.79 seconds) |
---|---|---|
0 | 2024-03-04 19:12:13 UTC | 3 minutes 16.6 seconds |
1 | 2024-03-04 19:12:16 UTC | 3 minutes 22.01 seconds |
2 | 2024-03-04 19:12:12 UTC | 3 minutes 5.34 seconds |
3 | 2024-03-04 19:12:12 UTC | 3 minutes 6.99 seconds |
4 Finished Last | 2024-03-04 19:54:53 UTC | 3 minutes 14.41 seconds |
5 Finished First | 2024-03-04 19:12:11 UTC | 3 minutes 11.24 seconds |
6 | 2024-03-04 19:12:11 UTC | 2 minutes 34.98 seconds |
7 | 2024-03-04 19:12:14 UTC | 2 minutes 55.26 seconds |
The slow test files are highlighted in yellow.
Test files with higher execution time than 3 minutes 5.85 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 1 - 100 of 905 in total files) | Execution time | ||
---|---|---|---|
spec/services/articles/feeds/variant_query_spec.rb | 3 minutes 22.01 seconds | 3% | Trend |
spec/services/feeds/import_spec.rb | 58.77 seconds | 1% | Trend |
spec/models/article_spec.rb | 31.77 seconds | 7% | Trend |
spec/system/dashboards/user_scrolls_down_dashboard_follows_spec.rb | 24.76 seconds | 211% | Trend |
spec/models/billboard_spec.rb | 22.12 seconds | 1% | Trend |
spec/i18n_spec.rb | 21.02 seconds | Trend | |
spec/system/user/view_user_index_spec.rb | 20.97 seconds | 24% | Trend |
spec/requests/api/v1/articles_spec.rb | 20.88 seconds | 5% | Trend |
spec/policies/article_policy_spec.rb | 20.64 seconds | 1% | Trend |
spec/requests/notifications_spec.rb | 18.91 seconds | 7% | Trend |
spec/system/articles/user_discussion_locks_spec.rb | 18.71 seconds | 20% | Trend |
spec/requests/comments_spec.rb | 18.53 seconds | 16% | Trend |
spec/requests/api/v0/articles_spec.rb | 17.51 seconds | 8% | Trend |
spec/requests/dashboard_spec.rb | 16.5 seconds | 15% | Trend |
spec/system/comments/user_edits_a_comment_spec.rb | 15.49 seconds | 165% | Trend |
spec/requests/stories/tagged_articles_spec.rb | 14.98 seconds | 7% | Trend |
spec/system/comments/user_views_article_comments_spec.rb | 14.28 seconds | 19% | Trend |
spec/requests/api/v1/comments_spec.rb | 13.64 seconds | 3% | Trend |
spec/system/user_uses_the_editor_spec.rb | 13.24 seconds | 24% | Trend |
spec/requests/listings_spec.rb | 12.85 seconds | 5% | Trend |
spec/requests/api/v0/comments_spec.rb | 12.4 seconds | Trend | |
spec/requests/moderations_spec.rb | 12.31 seconds | Trend | |
spec/system/articles/user_visits_an_article_spec.rb | 11.87 seconds | 20% | Trend |
spec/requests/admin/users_manage_spec.rb | 10.66 seconds | 8% | Trend |
spec/system/articles/user_creates_an_article_spec.rb | 10.47 seconds | 31% | Trend |
spec/requests/api/v0/listings_spec.rb | 10.28 seconds | 4% | Trend |
spec/requests/api/v1/listings_spec.rb | 10.18 seconds | 2% | Trend |
spec/system/articles/user_visits_articles_by_timeframe_spec.rb | 10.09 seconds | 45% | Trend |
spec/models/comment_spec.rb | 10.01 seconds | 5% | Trend |
spec/system/organization/user_views_an_organization_spec.rb | 9.52 seconds | 29% | Trend |
spec/models/notification_spec.rb | 9.45 seconds | 2% | Trend |
spec/models/user_spec.rb | 9.09 seconds | 8% | Trend |
spec/requests/admin/users_spec.rb | 9.02 seconds | 4% | Trend |
spec/services/moderator/manage_activity_and_roles_spec.rb | 8.79 seconds | 1% | Trend |
spec/models/ab_experiment/goal_conversion_handler_spec.rb | 8.69 seconds | 2% | Trend |
spec/queries/admin/users_query_spec.rb | 8.39 seconds | 7% | Trend |
spec/requests/articles/articles_show_spec.rb | 8.17 seconds | 39% | Trend |
spec/services/badges/award_community_wellness_spec.rb | 7.72 seconds | 3% | Trend |
spec/system/articles/user_edits_an_article_spec.rb | 7.69 seconds | 7% | Trend |
spec/system/podcasts/user_visits_podcast_episode_spec.rb | 7.35 seconds | 46% | Trend |
spec/services/reaction_handler_spec.rb | 7.25 seconds | 2% | Trend |
spec/system/homepage/user_visits_homepage_with_announcement_spec.rb | 7.2 seconds | 9% | Trend |
spec/services/articles/feeds/large_forem_experimental_spec.rb | 6.92 seconds | 4% | Trend |
spec/services/podcasts/feed_spec.rb | 6.58 seconds | Trend | |
spec/services/mentions/create_all_spec.rb | 6.35 seconds | 1% | Trend |
spec/system/onboardings/user_completes_onboarding_spec.rb | 6.14 seconds | 22% | Trend |
spec/requests/articles/articles_update_spec.rb | 6.11 seconds | Trend | |
spec/requests/admin/configs_spec.rb | 6.07 seconds | 9% | Trend |
spec/system/user/user_self_destroy_spec.rb | 6.01 seconds | Trend | |
spec/services/broadcasts/welcome_notification/generator_spec.rb | 5.98 seconds | 9% | Trend |
spec/requests/user/user_settings_spec.rb | 5.9 seconds | 12% | Trend |
spec/requests/api/v0/analytics_spec.rb | 5.9 seconds | 24% | Trend |
spec/services/users/delete_spec.rb | 5.85 seconds | 9% | Trend |
spec/services/authentication/authenticator_spec.rb | 5.84 seconds | 2% | Trend |
spec/system/user/view_user_comments_spec.rb | 5.83 seconds | 10% | Trend |
spec/requests/api/v1/audience_segments_spec.rb | 5.78 seconds | 6% | Trend |
spec/system/organization/user_updates_org_settings_spec.rb | 5.69 seconds | 18% | Trend |
spec/mailers/notify_mailer_spec.rb | 5.56 seconds | 1% | Trend |
spec/requests/reactions_spec.rb | 5.54 seconds | 4% | Trend |
spec/requests/api/v1/users_spec.rb | 5.46 seconds | 8% | Trend |
spec/system/homepage/user_visits_homepage_spec.rb | 5.42 seconds | 19% | Trend |
spec/system/user_visits_a_comments_page_spec.rb | 5.38 seconds | Trend | |
spec/system/homepage/user_visits_homepage_articles_spec.rb | 5.35 seconds | 11% | Trend |
spec/requests/stories_show_spec.rb | 5.31 seconds | 10% | Trend |
spec/requests/comments_create_spec.rb | 5.27 seconds | 12% | Trend |
spec/requests/sitemaps_spec.rb | 5.11 seconds | 8% | Trend |
spec/services/analytics_service_spec.rb | 5.0 seconds | 3% | Trend |
spec/requests/tags_spec.rb | 4.93 seconds | 7% | Trend |
spec/services/search/reading_list_spec.rb | 4.9 seconds | 8% | Trend |
spec/system/dashboards/user_sorts_dashboard_articles_spec.rb | 4.89 seconds | 22% | Trend |
spec/system/authentication/user_logs_in_with_twitter_spec.rb | 4.77 seconds | 20% | Trend |
spec/requests/articles/articles_spec.rb | 4.68 seconds | 10% | Trend |
spec/requests/api/v1/analytics_spec.rb | 4.64 seconds | 4% | Trend |
spec/requests/user/user_profile_spec.rb | 4.62 seconds | 15% | Trend |
spec/requests/api/v1/organizations_spec.rb | 4.61 seconds | 1% | Trend |
spec/system/articles/user_visits_articles_by_tag_spec.rb | 4.61 seconds | 23% | Trend |
spec/system/user_views_a_reading_list_spec.rb | 4.57 seconds | 17% | Trend |
spec/requests/stories_index_spec.rb | 4.56 seconds | 2% | Trend |
spec/system/authentication/user_logs_in_with_forem_spec.rb | 4.51 seconds | 2% | Trend |
spec/models/reaction_spec.rb | 4.39 seconds | 4% | Trend |
spec/system/authentication/user_logs_in_with_facebook_spec.rb | 4.27 seconds | 7% | Trend |
spec/system/articles/moderator_moderates_an_article_spec.rb | 4.23 seconds | 13% | Trend |
spec/models/organization_spec.rb | 4.13 seconds | 1% | Trend |
spec/requests/billboards_spec.rb | 4.12 seconds | 9% | Trend |
spec/services/articles/enrich_image_attributes_spec.rb | 4.04 seconds | 4% | Trend |
spec/system/comments/user_views_a_comment_spec.rb | 4.03 seconds | 6% | Trend |
spec/services/articles/updater_spec.rb | 3.96 seconds | 4% | Trend |
spec/queries/comments/community_wellness_query_spec.rb | 3.89 seconds | 2% | Trend |
spec/system/authentication/user_logs_in_with_apple_spec.rb | 3.88 seconds | 8% | Trend |
spec/requests/api/v1/user_roles_spec.rb | 3.72 seconds | 2% | Trend |
spec/requests/api/v1/docs/audience_segments_spec.rb | 3.66 seconds | 3% | Trend |
spec/system/user/trusted_user_flags_user_spec.rb | 3.62 seconds | 2% | Trend |
spec/system/notifications/notifications_page_spec.rb | 3.56 seconds | 25% | Trend |
spec/decorators/notification_decorator_spec.rb | 3.56 seconds | 6% | Trend |
spec/services/articles/feeds/article_score_calculator_for_user_spec.rb | 3.54 seconds | Trend | |
spec/requests/registrations_spec.rb | 3.42 seconds | 5% | Trend |
spec/requests/notification_subscriptions_spec.rb | 3.4 seconds | 5% | Trend |
spec/system/authentication/user_logs_in_with_github_spec.rb | 3.3 seconds | 16% | Trend |
spec/system/authentication/user_logs_in_with_email_spec.rb | 3.29 seconds | 32% | Trend |
spec/queries/homepage/articles_query_spec.rb | 3.19 seconds | 5% | Trend |