Knapsack Pro

DEV Community (dev.to) / dev.to / Forem / Build ID aa64ac5b-8c63-4284-8215-817694f8d4a5

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
03bdd2f refs/pull/21230/merge 8 3 months ago 7 minutes 52.51 seconds 27 minutes 7.38 seconds   4%

Parallel CI nodes

All parallel CI nodes finished their work.

Some of the CI nodes have not run any tests. This could happen when a CI node started late after other CI nodes had already executed all of their tests in the Queue Mode.

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

Parallel CI nodes

The first CI node finished its work at 2024-08-26 16:12:37 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 23.43 seconds.

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

Node index Finish time Tests execution time (27 minutes 7.38 seconds) Test files
0 2024-08-26 16:12:37 UTC 2 minutes 7.99 seconds
1 2024-08-26 16:12:39 UTC 5 minutes 6.78 seconds
2 Finished First 2024-08-26 16:12:37 UTC 4 minutes 58.97 seconds
3 2024-08-26 16:14:23 UTC 0 seconds None
4 Finished Last 2024-08-26 16:15:13 UTC 0 seconds None
5 2024-08-26 16:12:38 UTC 5 minutes 0.99 seconds
6 2024-08-26 16:12:39 UTC 4 minutes 48.9 seconds
7 2024-08-26 16:12:40 UTC 5 minutes 3.77 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 23.43 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 922 in total files) Execution time
spec/workers/moderator/sink_articles_worker_spec.rb
228 miliseconds 25% Trend
spec/helpers/admin/organizations_helper_spec.rb
227 miliseconds 21% Trend
spec/system/admin/admin_creates_new_tag_spec.rb
224 miliseconds 32% Trend
spec/lib/data_update_scripts/migrate_themes_spec.rb
224 miliseconds 25% Trend
spec/requests/stripe_subscriptions_spec.rb
224 miliseconds 79% Trend
spec/services/articles/builder_spec.rb
221 miliseconds 32% Trend
spec/lib/data_update_scripts/coerce_identity_auth_data_format_spec.rb
221 miliseconds 33% Trend
spec/system/authentication/user_with_suspended_username_spec.rb
220 miliseconds 32% Trend
spec/requests/api/v0/profile_images_spec.rb
220 miliseconds 19% Trend
spec/models/profile_field_spec.rb
220 miliseconds 35% Trend
spec/services/notifications/remove_all_by_action_spec.rb
220 miliseconds 17% Trend
spec/models/billboard_event_spec.rb
219 miliseconds 29% Trend
spec/queries/users/select_moderators_query_spec.rb
218 miliseconds 31% Trend
spec/services/podcasts/get_episode_spec.rb
217 miliseconds 34% Trend
spec/policies/discussion_lock_policy_spec.rb
215 miliseconds 31% Trend
spec/models/device_spec.rb
214 miliseconds 30% Trend
spec/requests/api/v1/docs/videos_spec.rb
212 miliseconds 34% Trend
spec/models/page_view_spec.rb
211 miliseconds 37% Trend
spec/workers/articles/score_calc_worker_spec.rb
207 miliseconds 26% Trend
spec/services/search/tag_spec.rb
207 miliseconds 32% Trend
spec/requests/api/v0/health_checks_spec.rb
207 miliseconds 14% Trend
spec/requests/follows_bulk_update_spec.rb
205 miliseconds 32% Trend
spec/requests/admin/extensions_spec.rb
205 miliseconds 26% Trend
spec/lib/url_spec.rb
203 miliseconds 29% Trend
spec/system/search/search_title_spec.rb
202 miliseconds 31% Trend
spec/system/admin/admin_visits_extensions_spec.rb
200 miliseconds 32% Trend
spec/models/data_update_script_spec.rb
198 miliseconds 40% Trend
spec/workers/data_update_worker_spec.rb
198 miliseconds 19% Trend
spec/services/images/optimizer_spec.rb
197 miliseconds 32% Trend
spec/services/credits/manage_spec.rb
196 miliseconds 34% Trend
spec/workers/users/follow_worker_spec.rb
196 miliseconds 39% Trend
spec/requests/api/v1/profile_images_spec.rb
195 miliseconds 48% Trend
spec/models/users/notification_setting_spec.rb
193 miliseconds 30% Trend
spec/services/slack/messengers/article_published_spec.rb
190 miliseconds 21% Trend
spec/system/admin/admin_visits_badge_achievements_spec.rb
189 miliseconds 36% Trend
spec/liquid_tags/github_tag/github_issue_tag_spec.rb
188 miliseconds 34% Trend
spec/lib/data_update_scripts/update_article_flag_without_parsing_article_spec.rb
186 miliseconds 33% Trend
spec/models/recommended_articles_list_spec.rb
184 miliseconds 30% Trend
spec/models/poll_option_spec.rb
184 miliseconds 27% Trend
spec/workers/notifications/mention_worker_spec.rb
183 miliseconds 23% Trend
spec/models/users/suspended_username_spec.rb
182 miliseconds 16% Trend
spec/helpers/social_link_helper_spec.rb
182 miliseconds 36% Trend
spec/services/open_graph_spec.rb
182 miliseconds 37% Trend
spec/requests/api/v1/docs/followed_tags_spec.rb
181 miliseconds 32% Trend
spec/requests/badges_spec.rb
180 miliseconds 42% Trend
spec/requests/api/v1/health_checks_spec.rb
174 miliseconds 41% Trend
spec/lib/data_update_scripts/populate_explicit_follow_points_spec.rb
172 miliseconds 31% Trend
spec/policies/organization_policy_spec.rb
171 miliseconds 30% Trend
spec/models/ahoy/store_spec.rb
170 miliseconds 34% Trend
spec/decorators/application_decorator_spec.rb
170 miliseconds 34% Trend
spec/requests/stories/articles_search_spec.rb
168 miliseconds 43% Trend
spec/lib/data_update_scripts/remove_dangling_user_reactions_spec.rb
165 miliseconds 35% Trend
spec/requests/api/v1/docs/podcast_episodes_spec.rb
164 miliseconds 37% Trend
spec/requests/incoming_webhooks/mailchimp/unsubscribe_spec.rb
161 miliseconds 45% Trend
spec/requests/api/v1/docs/readinglist_spec.rb
160 miliseconds 32% Trend
spec/services/tag_moderators/add_trusted_role_spec.rb
160 miliseconds 34% Trend
spec/mailers/application_mailer_spec.rb
158 miliseconds 49% Trend
spec/workers/segmented_user_refresh_worker_spec.rb
157 miliseconds 41% Trend
spec/liquid_tags/unified_embed/tag_spec.rb
156 miliseconds 28% Trend
spec/services/profile_fields/import_from_csv_spec.rb
155 miliseconds 22% Trend
spec/models/user_block_spec.rb
154 miliseconds 41% Trend
spec/workers/feeds/import_articles_worker_spec.rb
150 miliseconds 48% Trend
spec/services/notifications/reactions/reaction_data_spec.rb
148 miliseconds 52% Trend
spec/views/comments/_comment.html.erb_spec.rb
147 miliseconds 48% Trend
spec/models/discussion_lock_spec.rb
143 miliseconds 31% Trend
spec/workers/broadcasts/send_welcome_notifications_worker_spec.rb
142 miliseconds 49% Trend
spec/services/edge_cache/bust_spec.rb
142 miliseconds 50% Trend
spec/mailers/verification_mailer_spec.rb
141 miliseconds 13% Trend
spec/serializers/search/listing_serializer_spec.rb
138 miliseconds 45% Trend
spec/requests/notification_counts_spec.rb
138 miliseconds 38% Trend
spec/system/authentication/user_request_confirmation_spec.rb
138 miliseconds 47% Trend
spec/views/credits/new.html.erb_spec.rb
138 miliseconds 42% Trend
spec/requests/api/v1/docs/profile_images_spec.rb
136 miliseconds 44% Trend
spec/models/user_visit_context_spec.rb
135 miliseconds 48% Trend
spec/requests/user/user_suggestions_spec.rb
135 miliseconds 40% Trend
spec/requests/articles/articles_feed_spec.rb
135 miliseconds 38% Trend
spec/services/payments/customer_spec.rb
135 miliseconds 33% Trend
spec/workers/comments/calculate_score_worker_spec.rb
133 miliseconds 36% Trend
spec/services/feature_flag_spec.rb
131 miliseconds 45% Trend
spec/workers/listings/expire_old_listings_worker_spec.rb
128 miliseconds 45% Trend
spec/workers/notifications/notifiable_action_worker_spec.rb
126 miliseconds 51% Trend
spec/lib/data_update_scripts/update_each_articles_privileged_user_point_count_spec.rb
126 miliseconds 56% Trend
spec/views/podcast_episodes/index.html.erb_spec.rb
124 miliseconds 42% Trend
spec/models/podcast_ownership_spec.rb
124 miliseconds 42% Trend
spec/policies/api_secret_policy_spec.rb
124 miliseconds 41% Trend
spec/models/navigation_link_spec.rb
122 miliseconds 55% Trend
spec/services/users/delete_podcasts_spec.rb
121 miliseconds 51% Trend
spec/lib/data_update_scripts/set_onboarding_profile_fields_for_existing_forems_spec.rb
121 miliseconds 47% Trend
spec/services/tag_adjustment_update_service_spec.rb
121 miliseconds 50% Trend
spec/services/follows/check_cached_spec.rb
119 miliseconds 41% Trend
spec/workers/users/resave_articles_worker_spec.rb
119 miliseconds 47% Trend
spec/models/role_spec.rb
114 miliseconds 48% Trend
spec/liquid_tags/user_subscription_tag_spec.rb
113 miliseconds 52% Trend
spec/services/notification_subscriptions/update_spec.rb
112 miliseconds 60% Trend
spec/system/admin/admin_creates_new_page_spec.rb
112 miliseconds 54% Trend
spec/lib/data_update_scripts/update_article_main_image_path_spec.rb
107 miliseconds 47% Trend
spec/models/badge_spec.rb
106 miliseconds 52% Trend
spec/system/banned_user_interactions_spec.rb
105 miliseconds 48% Trend
spec/requests/liquid_tags_request_spec.rb
101 miliseconds 24% Trend
spec/workers/notifications/welcome_notification_worker_spec.rb
100 miliseconds 53% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free