Knapsack Pro

DEV Community (dev.to) / dev.to / Forem / Build ID e4337fe6-3708-4ede-a46a-f0d588099e15

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
98c3c4c refs/pull/21304/merge 8 about 2 months ago 4 minutes 45.28 seconds 29 minutes 9.41 seconds   2%

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.68 seconds. The shorter this time is, the better.

Parallel CI nodes

The first CI node finished its work at 2024-10-04 14:41:13 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 38.68 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.68 seconds. The shorter this time is, the better.

Node index Finish time Tests execution time (29 minutes 9.41 seconds) Test files
0 2024-10-04 14:41:13 UTC 3 minutes 30.23 seconds
1 2024-10-04 14:41:15 UTC 3 minutes 29.36 seconds
2 2024-10-04 14:41:13 UTC 3 minutes 27.95 seconds
3 2024-10-04 14:41:14 UTC 3 minutes 31.48 seconds
4 2024-10-04 14:41:13 UTC 3 minutes 32.82 seconds
5 2024-10-04 14:41:15 UTC 3 minutes 33.22 seconds
6 Finished Last 2024-10-04 14:42:15 UTC 4 minutes 33.17 seconds
7 Finished First 2024-10-04 14:41:13 UTC 3 minutes 31.21 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 38.68 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 923 in total files) Execution time
spec/helpers/moderations/actions_panel_helper_spec.rb
226 miliseconds 31% Trend
spec/liquid_tags/github_tag/github_readme_tag_spec.rb
226 miliseconds 34% Trend
spec/services/credits/manage_spec.rb
226 miliseconds 23% Trend
spec/system/user_views_logo_spec.rb
226 miliseconds 32% Trend
spec/policies/discussion_lock_policy_spec.rb
225 miliseconds 28% Trend
spec/services/podcasts/get_episode_spec.rb
225 miliseconds 31% Trend
spec/services/credits/ledger_spec.rb
223 miliseconds 24% Trend
spec/models/device_spec.rb
222 miliseconds 27% Trend
spec/liquid_tags/github_tag/github_issue_tag_spec.rb
221 miliseconds 25% Trend
spec/lib/string_attribute_cleaner_spec.rb
219 miliseconds 35% Trend
spec/workers/follows/send_email_notification_worker_spec.rb
218 miliseconds 28% Trend
spec/workers/moderator/sink_articles_worker_spec.rb
218 miliseconds 28% Trend
spec/services/color/compare_hex_spec.rb
216 miliseconds 500% Trend
spec/lib/data_update_scripts/remove_dangling_user_reactions_spec.rb
216 miliseconds 15% Trend
spec/models/page_view_spec.rb
215 miliseconds 36% Trend
spec/services/open_graph_spec.rb
213 miliseconds 26% Trend
spec/system/search/search_title_spec.rb
212 miliseconds 28% Trend
spec/system/authentication/user_with_suspended_username_spec.rb
212 miliseconds 35% Trend
spec/requests/api/v0/profile_images_spec.rb
210 miliseconds 20% Trend
spec/requests/follows_bulk_update_spec.rb
210 miliseconds 29% Trend
spec/lib/data_update_scripts/update_article_flag_without_parsing_article_spec.rb
210 miliseconds 24% Trend
spec/queries/users/select_moderators_query_spec.rb
209 miliseconds 34% Trend
spec/models/poll_option_spec.rb
208 miliseconds 17% Trend
spec/lib/url_spec.rb
203 miliseconds 29% Trend
spec/workers/articles/score_calc_worker_spec.rb
202 miliseconds 28% Trend
spec/system/admin/admin_visits_badge_achievements_spec.rb
201 miliseconds 32% Trend
spec/decorators/application_decorator_spec.rb
198 miliseconds 23% Trend
spec/requests/api/v1/docs/videos_spec.rb
198 miliseconds 39% Trend
spec/models/data_update_script_spec.rb
197 miliseconds 39% Trend
spec/mailers/digest_mailer_spec.rb
196 miliseconds 26% Trend
spec/services/slack/messengers/article_published_spec.rb
192 miliseconds 20% Trend
spec/requests/api/v1/docs/followed_tags_spec.rb
192 miliseconds 28% Trend
spec/workers/users/follow_worker_spec.rb
192 miliseconds 40% Trend
spec/requests/api/v1/health_checks_spec.rb
190 miliseconds 35% Trend
spec/system/admin/admin_visits_extensions_spec.rb
189 miliseconds 36% Trend
spec/workers/data_update_worker_spec.rb
187 miliseconds 26% Trend
spec/models/users/notification_setting_spec.rb
187 miliseconds 32% Trend
spec/models/profile_field_spec.rb
185 miliseconds 45% Trend
spec/requests/badges_spec.rb
182 miliseconds 42% Trend
spec/lib/data_update_scripts/migrate_themes_spec.rb
182 miliseconds 39% Trend
spec/requests/api/v1/profile_images_spec.rb
182 miliseconds 51% Trend
spec/models/recommended_articles_list_spec.rb
181 miliseconds 28% Trend
spec/helpers/social_link_helper_spec.rb
180 miliseconds 37% Trend
spec/requests/admin/extensions_spec.rb
177 miliseconds 36% Trend
spec/services/images/optimizer_spec.rb
176 miliseconds 39% Trend
spec/validators/cross_model_slug_validator_spec.rb
176 miliseconds 37% Trend
spec/views/comments/_comment.html.erb_spec.rb
174 miliseconds 39% Trend
spec/policies/space_policy_spec.rb
173 miliseconds 29% Trend
spec/routing/all_routes_spec.rb
173 miliseconds 37% Trend
spec/requests/stories/articles_search_spec.rb
169 miliseconds 41% Trend
spec/services/edge_cache/bust_spec.rb
166 miliseconds 40% Trend
spec/workers/notifications/mention_worker_spec.rb
165 miliseconds 31% Trend
spec/models/ahoy/store_spec.rb
165 miliseconds 36% Trend
spec/workers/feeds/import_articles_worker_spec.rb
164 miliseconds 44% Trend
spec/requests/incoming_webhooks/mailchimp/unsubscribe_spec.rb
164 miliseconds 44% Trend
spec/system/authentication/omniauth_redirect_uri_spec.rb
163 miliseconds 46% Trend
spec/lib/data_update_scripts/populate_explicit_follow_points_spec.rb
163 miliseconds 35% Trend
spec/requests/api/v0/health_checks_spec.rb
161 miliseconds 33% Trend
spec/requests/api/v1/docs/readinglist_spec.rb
161 miliseconds 32% Trend
spec/lib/data_update_scripts/update_each_articles_privileged_user_point_count_spec.rb
159 miliseconds 45% Trend
spec/liquid_tags/unified_embed/tag_spec.rb
157 miliseconds 27% Trend
spec/requests/api/v1/docs/profile_images_spec.rb
156 miliseconds 35% Trend
spec/lib/data_update_scripts/set_onboarding_profile_fields_for_existing_forems_spec.rb
153 miliseconds 33% Trend
spec/models/user_block_spec.rb
152 miliseconds 42% Trend
spec/services/feature_flag_spec.rb
152 miliseconds 36% Trend
spec/models/podcast_ownership_spec.rb
151 miliseconds 30% Trend
spec/models/user_visit_context_spec.rb
148 miliseconds 43% Trend
spec/services/tag_moderators/add_trusted_role_spec.rb
147 miliseconds 39% Trend
spec/requests/user/user_suggestions_spec.rb
147 miliseconds 35% Trend
spec/workers/broadcasts/send_welcome_notifications_worker_spec.rb
146 miliseconds 47% Trend
spec/workers/segmented_user_refresh_worker_spec.rb
145 miliseconds 46% Trend
spec/requests/api/v1/docs/podcast_episodes_spec.rb
144 miliseconds 45% Trend
spec/views/podcast_episodes/index.html.erb_spec.rb
142 miliseconds 34% Trend
spec/mailers/application_mailer_spec.rb
141 miliseconds 54% Trend
spec/views/credits/new.html.erb_spec.rb
140 miliseconds 43% Trend
spec/workers/comments/calculate_score_worker_spec.rb
139 miliseconds 35% Trend
spec/services/notifications/reactions/reaction_data_spec.rb
136 miliseconds 56% Trend
spec/models/discussion_lock_spec.rb
133 miliseconds 36% Trend
spec/services/notifications/welcome_notification/send_spec.rb
132 miliseconds 23% Trend
spec/policies/api_secret_policy_spec.rb
131 miliseconds 37% Trend
spec/services/payments/customer_spec.rb
131 miliseconds 35% Trend
spec/workers/notifications/welcome_notification_worker_spec.rb
130 miliseconds 40% Trend
spec/models/role_spec.rb
129 miliseconds 41% Trend
spec/requests/articles/articles_feed_spec.rb
129 miliseconds 41% Trend
spec/workers/users/resave_articles_worker_spec.rb
129 miliseconds 43% Trend
spec/workers/listings/expire_old_listings_worker_spec.rb
129 miliseconds 45% Trend
spec/requests/ahoy/external_email_clicks_spec.rb
128 miliseconds 44% Trend
spec/system/authentication/user_request_confirmation_spec.rb
127 miliseconds 53% Trend
spec/services/tag_adjustment_update_service_spec.rb
126 miliseconds 49% Trend
spec/requests/invitations_spec.rb
124 miliseconds 41% Trend
spec/models/listing_category_spec.rb
121 miliseconds 35% Trend
spec/services/profile_fields/import_from_csv_spec.rb
119 miliseconds 40% Trend
spec/models/navigation_link_spec.rb
119 miliseconds 56% Trend
spec/services/follows/check_cached_spec.rb
118 miliseconds 41% Trend
spec/lib/data_update_scripts/cleanup_orphan_git_hub_repositories_spec.rb
117 miliseconds 50% Trend
spec/services/notification_subscriptions/update_spec.rb
117 miliseconds 59% Trend
spec/liquid_tags/user_subscription_tag_spec.rb
116 miliseconds 51% Trend
spec/workers/podcasts/get_episodes_worker_spec.rb
114 miliseconds 192% Trend
spec/models/badge_spec.rb
113 miliseconds 49% Trend
spec/services/feeds/assemble_article_markdown_spec.rb
113 miliseconds 40% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free