Knapsack Pro

DEV Community (dev.to) / dev.to / Forem / Build ID d91ede13-2301-4f2b-bcfc-72e3470255fd

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
782f41a refs/pull/21370/merge 8 8 days ago 4 minutes 8.75 seconds 28 minutes 55.0 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 hour 11 minutes 9.88 seconds. The shorter this time is, the better.

Parallel CI nodes

The first CI node finished its work at 2024-11-13 18:23:23 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 36.88 seconds.

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

Node index Finish time Tests execution time (28 minutes 55.0 seconds) Test files
0 2024-11-13 18:23:46 UTC 3 minutes 57.05 seconds
1 2024-11-13 18:23:23 UTC 3 minutes 33.61 seconds
2 2024-11-13 18:23:23 UTC 3 minutes 35.92 seconds
3 Finished Last 2024-11-13 19:34:32 UTC 3 minutes 48.82 seconds
4 2024-11-13 18:23:24 UTC 3 minutes 20.65 seconds
5 2024-11-13 18:23:24 UTC 3 minutes 34.53 seconds
6 Finished First 2024-11-13 18:23:23 UTC 3 minutes 28.47 seconds
7 2024-11-13 18:23:24 UTC 3 minutes 35.98 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 36.88 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 927 in total files) Execution time
spec/services/articles/feeds/variant_query_spec.rb
3 minutes 57.05 seconds 1% Trend
spec/services/feeds/import_spec.rb
54.81 seconds 9% Trend
spec/system/authentication/user_logs_in_with_email_spec.rb
39.9 seconds 920% Trend
spec/models/article_spec.rb
34.91 seconds 4% Trend
spec/models/billboard_spec.rb
29.41 seconds 22% Trend
spec/requests/notifications_spec.rb
29.23 seconds 43% Trend
spec/system/podcasts/user_visits_podcast_episode_spec.rb
28.34 seconds 98% Trend
spec/system/articles/user_creates_an_article_spec.rb
23.36 seconds 26% Trend
spec/system/ahoy/tracking_create_account_spec.rb
22.87 seconds 2% Trend
spec/system/articles/user_discussion_locks_spec.rb
22.21 seconds 12% Trend
spec/i18n_spec.rb
22.17 seconds 3% Trend
spec/requests/api/v1/articles_spec.rb
21.62 seconds 2% Trend
spec/requests/comments_spec.rb
20.31 seconds 8% Trend
spec/policies/article_policy_spec.rb
20.21 seconds 8% Trend
spec/requests/api/v0/articles_spec.rb
19.71 seconds 1% Trend
spec/requests/stories/tagged_articles_spec.rb
17.24 seconds Trend
spec/requests/admin/users_manage_spec.rb
15.46 seconds 9% Trend
spec/system/articles/user_visits_articles_by_timeframe_spec.rb
15.31 seconds 18% Trend
spec/system/user_uses_the_editor_spec.rb
15.15 seconds 26% Trend
spec/requests/api/v1/comments_spec.rb
15.04 seconds 3% Trend
spec/system/user/view_user_index_spec.rb
14.82 seconds 16% Trend
spec/requests/articles/articles_show_spec.rb
14.43 seconds 1% Trend
spec/requests/moderations_spec.rb
12.84 seconds 3% Trend
spec/requests/listings_spec.rb
12.67 seconds 3% Trend
spec/system/comments/user_views_article_comments_spec.rb
12.44 seconds 27% Trend
spec/requests/dashboard_spec.rb
12.37 seconds 7% Trend
spec/requests/api/v0/comments_spec.rb
12.36 seconds Trend
spec/system/articles/user_visits_an_article_spec.rb
11.63 seconds 22% Trend
spec/system/comments/user_views_a_comment_spec.rb
11.31 seconds 107% Trend
spec/system/organization/user_views_an_organization_spec.rb
10.89 seconds 28% Trend
spec/requests/api/v0/listings_spec.rb
10.76 seconds 1% Trend
spec/services/moderator/manage_activity_and_roles_spec.rb
10.26 seconds 9% Trend
spec/models/comment_spec.rb
10.23 seconds Trend
spec/requests/sitemaps_spec.rb
10.1 seconds 71% Trend
spec/models/user_spec.rb
9.9 seconds 3% Trend
spec/requests/admin/users_spec.rb
9.69 seconds Trend
spec/requests/api/v1/listings_spec.rb
9.48 seconds 4% Trend
spec/system/homepage/user_visits_homepage_with_announcement_spec.rb
9.41 seconds Trend
spec/models/ab_experiment/goal_conversion_handler_spec.rb
9.28 seconds 4% Trend
spec/models/notification_spec.rb
9.09 seconds 4% Trend
spec/services/email_digest_article_collector_spec.rb
9.02 seconds 139% Trend
spec/system/homepage/user_visits_homepage_spec.rb
8.98 seconds 13% Trend
spec/system/dashboards/user_scrolls_down_dashboard_follows_spec.rb
8.76 seconds 11% Trend
spec/system/articles/user_edits_an_article_spec.rb
8.29 seconds 14% Trend
spec/services/badges/award_community_wellness_spec.rb
8.19 seconds 9% Trend
spec/system/onboardings/user_completes_onboarding_spec.rb
7.95 seconds 37% Trend
spec/queries/admin/users_query_spec.rb
7.92 seconds Trend
spec/services/notifications/new_comment/send_spec.rb
7.65 seconds 163% Trend
spec/services/reaction_handler_spec.rb
7.43 seconds 1% Trend
spec/services/articles/feeds/large_forem_experimental_spec.rb
7.42 seconds 8% Trend
spec/requests/user/user_profile_spec.rb
7.26 seconds 2% Trend
spec/system/dashboards/user_sorts_dashboard_articles_spec.rb
6.98 seconds 4% Trend
spec/services/users/delete_spec.rb
6.79 seconds 4% Trend
spec/services/broadcasts/welcome_notification/generator_spec.rb
6.73 seconds 2% Trend
spec/mailers/notify_mailer_spec.rb
6.72 seconds 8% Trend
spec/system/user/view_user_comments_spec.rb
6.6 seconds 14% Trend
spec/requests/api/v1/users_spec.rb
6.58 seconds 8% Trend
spec/requests/user/user_settings_spec.rb
6.53 seconds 2% Trend
spec/requests/admin/configs_spec.rb
6.52 seconds 1% Trend
spec/system/organization/user_updates_org_settings_spec.rb
6.49 seconds 18% Trend
spec/system/user/user_self_destroy_spec.rb
6.31 seconds 22% Trend
spec/requests/billboards_spec.rb
6.05 seconds Trend
spec/requests/reactions_spec.rb
6.04 seconds 3% Trend
spec/requests/api/v1/audience_segments_spec.rb
5.97 seconds 3% Trend
spec/requests/articles/articles_update_spec.rb
5.91 seconds 3% Trend
spec/workers/articles/publish_worker_spec.rb
5.91 seconds 245% Trend
spec/services/mentions/create_all_spec.rb
5.87 seconds 2% Trend
spec/requests/stories_show_spec.rb
5.79 seconds 2% Trend
spec/services/authentication/authenticator_spec.rb
5.69 seconds 6% Trend
spec/system/homepage/user_visits_homepage_articles_spec.rb
5.49 seconds 11% Trend
spec/requests/follows_create_spec.rb
5.49 seconds 987% Trend
spec/services/exporter/articles_spec.rb
5.34 seconds 727% Trend
spec/services/search/reading_list_spec.rb
5.25 seconds 6% Trend
spec/requests/articles/articles_spec.rb
5.13 seconds 6% Trend
spec/system/authentication/user_logs_in_with_facebook_spec.rb
5.04 seconds 4% Trend
spec/services/analytics_service_spec.rb
5.02 seconds 4% Trend
spec/system/articles/user_visits_articles_by_tag_spec.rb
4.99 seconds 36% Trend
spec/requests/tags_spec.rb
4.97 seconds 6% Trend
spec/requests/admin/organizations_spec.rb
4.96 seconds 449% Trend
spec/system/authentication/user_logs_in_with_forem_spec.rb
4.92 seconds 2% Trend
spec/requests/api/v0/analytics_spec.rb
4.88 seconds 1% Trend
spec/system/user_views_a_reading_list_spec.rb
4.82 seconds 26% Trend
spec/requests/stories_index_spec.rb
4.8 seconds Trend
spec/requests/api/v1/organizations_spec.rb
4.77 seconds 3% Trend
spec/system/authentication/user_logs_in_with_github_spec.rb
4.77 seconds 12% Trend
spec/models/reaction_spec.rb
4.76 seconds 1% Trend
spec/system/comments/user_edits_a_comment_spec.rb
4.74 seconds 23% Trend
spec/requests/api/v1/analytics_spec.rb
4.67 seconds 5% Trend
spec/requests/api/v1/docs/audience_segments_spec.rb
4.66 seconds 16% Trend
spec/services/articles/updater_spec.rb
4.59 seconds 7% Trend
spec/system/articles/feeds/basic_spec.rb
4.49 seconds 2% Trend
spec/system/notifications/notifications_page_spec.rb
4.49 seconds 26% Trend
spec/queries/comments/community_wellness_query_spec.rb
4.41 seconds 12% Trend
spec/services/notifications/reactions/send_spec.rb
4.38 seconds 24% Trend
spec/services/articles/enrich_image_attributes_spec.rb
4.32 seconds Trend
spec/system/user_visits_a_comments_page_spec.rb
4.25 seconds 1% Trend
spec/requests/comments_create_spec.rb
4.18 seconds 2% Trend
spec/models/organization_spec.rb
4.11 seconds 2% Trend
spec/requests/api/v1/user_roles_spec.rb
3.94 seconds 9% Trend
spec/decorators/notification_decorator_spec.rb
3.94 seconds Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free