Knapsack Pro

DEV Community (dev.to) / dev.to / Forem / Build ID ef07c4aa-3780-4e82-aacd-12ce793577b3

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
a668509 refs/pull/21247/merge 8 3 months ago 4 minutes 59.58 seconds 28 minutes 1.06 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 27.74 seconds. The shorter this time is, the better.

Parallel CI nodes

The first CI node finished its work at 2024-08-30 16:03:22 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 30.14 seconds.

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

Node index Finish time Tests execution time (28 minutes 1.06 seconds) Test files
0 2024-08-30 16:03:23 UTC 3 minutes 21.04 seconds
1 Finished Last 2024-08-30 16:04:49 UTC 4 minutes 49.96 seconds
2 2024-08-30 16:03:22 UTC 3 minutes 18.96 seconds
3 2024-08-30 16:03:24 UTC 3 minutes 18.76 seconds
4 2024-08-30 16:03:23 UTC 3 minutes 22.57 seconds
5 Finished First 2024-08-30 16:03:22 UTC 3 minutes 14.39 seconds
6 2024-08-30 16:03:24 UTC 3 minutes 18.49 seconds
7 2024-08-30 16:03:24 UTC 3 minutes 16.92 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 30.14 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 922 in total files) Execution time
spec/services/articles/feeds/variant_query_spec.rb
4 minutes 49.96 seconds 20% Trend
spec/services/feeds/import_spec.rb
1 minute 2.29 seconds 3% Trend
spec/models/article_spec.rb
35.53 seconds 2% Trend
spec/system/articles/user_creates_an_article_spec.rb
34.73 seconds 87% Trend
spec/i18n_spec.rb
29.42 seconds 37% Trend
spec/requests/dashboard_spec.rb
22.84 seconds 71% Trend
spec/models/billboard_spec.rb
21.81 seconds 9% Trend
spec/system/ahoy/tracking_create_account_spec.rb
20.12 seconds 10% Trend
spec/requests/api/v1/articles_spec.rb
19.56 seconds 11% Trend
spec/policies/article_policy_spec.rb
19.46 seconds 12% Trend
spec/requests/notifications_spec.rb
18.94 seconds 7% Trend
spec/system/articles/user_discussion_locks_spec.rb
18.85 seconds 25% Trend
spec/requests/comments_spec.rb
18.78 seconds 15% Trend
spec/requests/api/v0/articles_spec.rb
18.35 seconds 5% Trend
spec/system/user_uses_the_editor_spec.rb
15.98 seconds 22% Trend
spec/requests/stories/tagged_articles_spec.rb
15.66 seconds 9% Trend
spec/system/user/view_user_index_spec.rb
15.55 seconds 12% Trend
spec/requests/api/v1/comments_spec.rb
15.41 seconds 6% Trend
spec/requests/articles/articles_show_spec.rb
15.13 seconds 6% Trend
spec/system/articles/user_visits_an_article_spec.rb
13.92 seconds 7% Trend
spec/system/articles/user_visits_articles_by_timeframe_spec.rb
13.25 seconds 29% Trend
spec/system/organization/user_views_an_organization_spec.rb
12.91 seconds 15% Trend
spec/requests/admin/users_manage_spec.rb
12.58 seconds 10% Trend
spec/requests/moderations_spec.rb
12.38 seconds Trend
spec/system/comments/user_views_article_comments_spec.rb
12.25 seconds 28% Trend
spec/requests/listings_spec.rb
12.1 seconds 1% Trend
spec/requests/api/v0/comments_spec.rb
11.55 seconds 7% Trend
spec/requests/api/v0/listings_spec.rb
10.64 seconds 2% Trend
spec/models/user_spec.rb
10.09 seconds 1% Trend
spec/models/comment_spec.rb
10.01 seconds 2% Trend
spec/requests/api/v1/listings_spec.rb
9.81 seconds 1% Trend
spec/requests/admin/users_spec.rb
9.75 seconds Trend
spec/system/dashboards/user_scrolls_down_dashboard_follows_spec.rb
9.44 seconds 4% Trend
spec/models/notification_spec.rb
9.23 seconds 3% Trend
spec/services/moderator/manage_activity_and_roles_spec.rb
8.68 seconds 7% Trend
spec/system/homepage/user_visits_homepage_with_announcement_spec.rb
8.61 seconds 8% Trend
spec/queries/admin/users_query_spec.rb
8.6 seconds 8% Trend
spec/models/ab_experiment/goal_conversion_handler_spec.rb
8.48 seconds 4% Trend
spec/system/onboardings/user_completes_onboarding_spec.rb
8.02 seconds 37% Trend
spec/services/badges/award_community_wellness_spec.rb
8.01 seconds 6% Trend
spec/system/user/user_self_destroy_spec.rb
7.88 seconds 2% Trend
spec/system/articles/user_edits_an_article_spec.rb
7.81 seconds 19% Trend
spec/services/reaction_handler_spec.rb
7.76 seconds 6% Trend
spec/requests/user/user_settings_spec.rb
7.49 seconds 11% Trend
spec/system/user/view_user_comments_spec.rb
7.41 seconds 3% Trend
spec/system/homepage/user_visits_homepage_spec.rb
7.16 seconds 9% Trend
spec/requests/user/user_profile_spec.rb
7.14 seconds Trend
spec/services/broadcasts/welcome_notification/generator_spec.rb
6.61 seconds Trend
spec/system/podcasts/user_visits_podcast_episode_spec.rb
6.6 seconds 53% Trend
spec/system/organization/user_updates_org_settings_spec.rb
6.59 seconds 17% Trend
spec/system/dashboards/user_sorts_dashboard_articles_spec.rb
6.35 seconds 13% Trend
spec/services/articles/feeds/large_forem_experimental_spec.rb
6.33 seconds 7% Trend
spec/services/users/delete_spec.rb
6.26 seconds 3% Trend
spec/requests/admin/configs_spec.rb
6.15 seconds 7% Trend
spec/services/mentions/create_all_spec.rb
6.14 seconds 2% Trend
spec/system/articles/user_visits_articles_by_tag_spec.rb
6.12 seconds 21% Trend
spec/requests/api/v1/audience_segments_spec.rb
6.06 seconds 2% Trend
spec/requests/articles/articles_update_spec.rb
6.03 seconds 1% Trend
spec/services/authentication/authenticator_spec.rb
5.86 seconds 3% Trend
spec/requests/api/v1/users_spec.rb
5.77 seconds 5% Trend
spec/requests/reactions_spec.rb
5.75 seconds 7% Trend
spec/system/homepage/user_visits_homepage_articles_spec.rb
5.68 seconds 8% Trend
spec/requests/sitemaps_spec.rb
5.68 seconds 3% Trend
spec/requests/stories_show_spec.rb
5.37 seconds 9% Trend
spec/models/reaction_spec.rb
5.32 seconds 13% Trend
spec/services/search/reading_list_spec.rb
5.08 seconds 9% Trend
spec/mailers/notify_mailer_spec.rb
5.04 seconds 18% Trend
spec/system/authentication/user_logs_in_with_facebook_spec.rb
5.0 seconds 3% Trend
spec/system/notifications/notifications_page_spec.rb
4.97 seconds 18% Trend
spec/requests/articles/articles_spec.rb
4.78 seconds 12% Trend
spec/services/analytics_service_spec.rb
4.75 seconds 9% Trend
spec/requests/tags_spec.rb
4.74 seconds 11% Trend
spec/requests/api/v1/analytics_spec.rb
4.73 seconds 4% Trend
spec/requests/billboards_spec.rb
4.72 seconds 22% Trend
spec/system/comments/user_edits_a_comment_spec.rb
4.71 seconds 23% Trend
spec/system/authentication/user_logs_in_with_forem_spec.rb
4.7 seconds 2% Trend
spec/services/articles/enrich_image_attributes_spec.rb
4.7 seconds 8% Trend
spec/requests/api/v0/analytics_spec.rb
4.64 seconds 3% Trend
spec/requests/stories_index_spec.rb
4.59 seconds 4% Trend
spec/requests/api/v1/organizations_spec.rb
4.48 seconds 2% Trend
spec/system/comments/user_views_a_comment_spec.rb
4.33 seconds 20% Trend
spec/system/authentication/user_logs_in_with_github_spec.rb
4.33 seconds 1% Trend
spec/system/user_visits_a_comments_page_spec.rb
4.3 seconds 3% Trend
spec/system/user_views_a_reading_list_spec.rb
4.27 seconds 34% Trend
spec/services/articles/updater_spec.rb
4.25 seconds Trend
spec/requests/api/v1/docs/audience_segments_spec.rb
4.13 seconds 3% Trend
spec/requests/comments_create_spec.rb
3.99 seconds 7% Trend
spec/decorators/notification_decorator_spec.rb
3.91 seconds Trend
spec/models/organization_spec.rb
3.84 seconds 8% Trend
spec/queries/homepage/articles_query_spec.rb
3.83 seconds 9% Trend
spec/requests/api/v1/user_roles_spec.rb
3.81 seconds 6% Trend
spec/system/user/trusted_user_flags_user_spec.rb
3.74 seconds 6% Trend
spec/services/articles/feeds/article_score_calculator_for_user_spec.rb
3.65 seconds 1% Trend
spec/queries/comments/community_wellness_query_spec.rb
3.61 seconds 8% Trend
spec/system/admin/admin_manages_pages_spec.rb
3.55 seconds 24% Trend
spec/system/authentication/user_logs_in_with_twitter_spec.rb
3.53 seconds 15% Trend
spec/system/authentication/user_logs_in_with_email_spec.rb
3.52 seconds 10% Trend
spec/queries/organizations/suggest_prominent_spec.rb
3.51 seconds 4% Trend
spec/system/articles/user_deletes_an_article_spec.rb
3.51 seconds 10% Trend
spec/services/notifications/reactions/send_spec.rb
3.47 seconds 1% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free