Knapsack Pro

DEV Community (dev.to) / dev.to / Forem / Build ID c00386d5-c1c8-4046-8e44-38d2b5d98360

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
de503b9 refs/pull/21306/merge 8 about 2 months ago 4 minutes 43.9 seconds 28 minutes 58.95 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 2.26 seconds. The shorter this time is, the better.

Parallel CI nodes

The first CI node finished its work at 2024-10-04 15:48:47 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 37.37 seconds.

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

Node index Finish time Tests execution time (28 minutes 58.95 seconds) Test files
0 Finished Last 2024-10-04 15:49:49 UTC 4 minutes 30.53 seconds
1 2024-10-04 15:48:47 UTC 3 minutes 30.06 seconds
2 2024-10-04 15:48:49 UTC 3 minutes 31.36 seconds
3 2024-10-04 15:48:48 UTC 3 minutes 29.16 seconds
4 2024-10-04 15:48:48 UTC 3 minutes 31.66 seconds
5 2024-10-04 15:48:47 UTC 3 minutes 28.67 seconds
6 2024-10-04 15:48:47 UTC 3 minutes 27.01 seconds
7 Finished First 2024-10-04 15:48:47 UTC 3 minutes 30.55 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 37.37 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 924 in total files) Execution time
spec/services/articles/feeds/variant_query_spec.rb
4 minutes 30.53 seconds 12% Trend
spec/services/feeds/import_spec.rb
53.56 seconds 11% Trend
spec/models/article_spec.rb
34.75 seconds 4% Trend
spec/system/ahoy/tracking_create_account_spec.rb
33.07 seconds 52% Trend
spec/requests/api/v1/articles_spec.rb
30.28 seconds 38% Trend
spec/system/articles/user_discussion_locks_spec.rb
26.43 seconds 5% Trend
spec/requests/api/v0/articles_spec.rb
26.23 seconds 35% Trend
spec/i18n_spec.rb
22.48 seconds 4% Trend
spec/models/billboard_spec.rb
22.21 seconds 7% Trend
spec/policies/article_policy_spec.rb
21.65 seconds 2% Trend
spec/system/user/view_user_index_spec.rb
20.9 seconds 18% Trend
spec/requests/comments_spec.rb
20.68 seconds 6% Trend
spec/requests/admin/users_manage_spec.rb
20.47 seconds 45% Trend
spec/requests/notifications_spec.rb
19.82 seconds 2% Trend
spec/system/user_uses_the_editor_spec.rb
18.0 seconds 12% Trend
spec/requests/stories/tagged_articles_spec.rb
17.83 seconds 1% Trend
spec/system/notifications/notifications_page_spec.rb
16.77 seconds 166% Trend
spec/requests/articles/articles_show_spec.rb
15.73 seconds 10% Trend
spec/requests/dashboard_spec.rb
14.35 seconds 9% Trend
spec/requests/api/v1/comments_spec.rb
14.27 seconds 1% Trend
spec/system/articles/user_visits_articles_by_timeframe_spec.rb
13.08 seconds 30% Trend
spec/system/comments/user_views_article_comments_spec.rb
13.02 seconds 24% Trend
spec/system/articles/user_visits_an_article_spec.rb
12.84 seconds 17% Trend
spec/requests/api/v0/comments_spec.rb
12.68 seconds 2% Trend
spec/system/articles/user_creates_an_article_spec.rb
12.52 seconds 26% Trend
spec/requests/moderations_spec.rb
12.08 seconds 2% Trend
spec/requests/listings_spec.rb
11.98 seconds 2% Trend
spec/system/podcasts/user_visits_podcast_episode_spec.rb
10.81 seconds 23% Trend
spec/requests/api/v0/listings_spec.rb
10.79 seconds Trend
spec/models/user_spec.rb
10.18 seconds Trend
spec/system/organization/user_views_an_organization_spec.rb
10.16 seconds 33% Trend
spec/models/comment_spec.rb
10.08 seconds 2% Trend
spec/requests/api/v1/listings_spec.rb
10.04 seconds Trend
spec/requests/admin/users_spec.rb
9.59 seconds 2% Trend
spec/models/notification_spec.rb
9.41 seconds Trend
spec/models/ab_experiment/goal_conversion_handler_spec.rb
9.13 seconds 3% Trend
spec/system/user/view_user_comments_spec.rb
9.02 seconds 17% Trend
spec/system/homepage/user_visits_homepage_with_announcement_spec.rb
8.76 seconds 6% Trend
spec/requests/user/user_profile_spec.rb
8.4 seconds 17% Trend
spec/services/moderator/manage_activity_and_roles_spec.rb
8.38 seconds 10% Trend
spec/system/dashboards/user_scrolls_down_dashboard_follows_spec.rb
8.27 seconds 17% Trend
spec/system/homepage/user_visits_homepage_spec.rb
8.22 seconds 3% Trend
spec/services/articles/feeds/large_forem_experimental_spec.rb
8.07 seconds 17% Trend
spec/system/organization/user_updates_org_settings_spec.rb
8.06 seconds 2% Trend
spec/requests/user/user_settings_spec.rb
7.87 seconds 17% Trend
spec/system/comments/user_edits_a_comment_spec.rb
7.85 seconds 25% Trend
spec/system/articles/user_edits_an_article_spec.rb
7.83 seconds 18% Trend
spec/queries/admin/users_query_spec.rb
7.73 seconds 2% Trend
spec/services/badges/award_community_wellness_spec.rb
7.64 seconds 2% Trend
spec/system/onboardings/user_completes_onboarding_spec.rb
7.63 seconds 41% Trend
spec/services/broadcasts/welcome_notification/generator_spec.rb
7.52 seconds 14% Trend
spec/requests/admin/configs_spec.rb
7.45 seconds 12% Trend
spec/mailers/notify_mailer_spec.rb
7.32 seconds 18% Trend
spec/services/reaction_handler_spec.rb
7.03 seconds 3% Trend
spec/services/users/delete_spec.rb
6.91 seconds 6% Trend
spec/requests/articles/articles_update_spec.rb
6.85 seconds 12% Trend
spec/services/authentication/authenticator_spec.rb
6.78 seconds 11% Trend
spec/system/user/user_self_destroy_spec.rb
6.62 seconds 18% Trend
spec/system/user_views_a_reading_list_spec.rb
6.55 seconds 2% Trend
spec/requests/reactions_spec.rb
6.49 seconds 4% Trend
spec/system/dashboards/user_sorts_dashboard_articles_spec.rb
6.48 seconds 11% Trend
spec/requests/api/v1/users_spec.rb
6.39 seconds 5% Trend
spec/services/mentions/create_all_spec.rb
6.22 seconds 3% Trend
spec/requests/api/v1/audience_segments_spec.rb
6.19 seconds Trend
spec/requests/billboards_spec.rb
6.19 seconds 1% Trend
spec/system/homepage/user_visits_homepage_articles_spec.rb
6.14 seconds 1% Trend
spec/requests/sitemaps_spec.rb
6.11 seconds 3% Trend
spec/system/articles/feeds/basic_spec.rb
6.08 seconds 39% Trend
spec/services/search/reading_list_spec.rb
6.02 seconds 7% Trend
spec/requests/tags_spec.rb
5.81 seconds 8% Trend
spec/requests/stories_show_spec.rb
5.78 seconds 3% Trend
spec/requests/articles/articles_spec.rb
5.36 seconds 1% Trend
spec/requests/api/v1/analytics_spec.rb
5.25 seconds 5% Trend
spec/system/articles/user_visits_articles_by_tag_spec.rb
5.23 seconds 31% Trend
spec/services/analytics_service_spec.rb
5.11 seconds 3% Trend
spec/requests/stories_index_spec.rb
4.95 seconds 2% Trend
spec/system/authentication/user_logs_in_with_facebook_spec.rb
4.91 seconds 1% Trend
spec/system/articles/user_deletes_an_article_spec.rb
4.82 seconds 50% Trend
spec/requests/comments_create_spec.rb
4.68 seconds 8% Trend
spec/models/reaction_spec.rb
4.65 seconds 1% Trend
spec/requests/api/v0/analytics_spec.rb
4.63 seconds 4% Trend
spec/requests/api/v1/organizations_spec.rb
4.6 seconds Trend
spec/system/authentication/user_logs_in_with_github_spec.rb
4.59 seconds 7% Trend
spec/system/comments/user_views_a_comment_spec.rb
4.59 seconds 24% Trend
spec/system/articles/moderator_moderates_an_article_spec.rb
4.52 seconds 6% Trend
spec/system/authentication/user_logs_in_with_twitter_spec.rb
4.39 seconds 4% Trend
spec/queries/comments/community_wellness_query_spec.rb
4.3 seconds 8% Trend
spec/system/authentication/user_logs_in_with_forem_spec.rb
4.11 seconds 14% Trend
spec/system/user/trusted_user_flags_user_spec.rb
4.02 seconds Trend
spec/services/articles/enrich_image_attributes_spec.rb
4.0 seconds 7% Trend
spec/requests/api/v1/docs/audience_segments_spec.rb
3.98 seconds Trend
spec/queries/organizations/suggest_prominent_spec.rb
3.97 seconds 17% Trend
spec/requests/api/v1/user_roles_spec.rb
3.97 seconds 10% Trend
spec/system/authentication/user_logs_in_with_email_spec.rb
3.97 seconds Trend
spec/system/user_visits_a_comments_page_spec.rb
3.9 seconds 6% Trend
spec/system/comments/user_delete_a_comment_spec.rb
3.9 seconds 3% Trend
spec/services/articles/updater_spec.rb
3.88 seconds 9% Trend
spec/models/organization_spec.rb
3.86 seconds 7% Trend
spec/services/articles/feeds/article_score_calculator_for_user_spec.rb
3.81 seconds 3% Trend
spec/services/notifications/reactions/send_spec.rb
3.79 seconds 6% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free