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 401 - 500 of 923 in total files) Execution time
spec/services/search/user_spec.rb
461 miliseconds 19% Trend
spec/requests/user/user_changes_password_spec.rb
459 miliseconds 7% Trend
spec/services/mailchimp/bot_spec.rb
452 miliseconds 13% Trend
spec/services/articles/feeds/find_featured_story_spec.rb
451 miliseconds 7% Trend
spec/services/podcasts/create_episode_spec.rb
450 miliseconds 22% Trend
spec/queries/users/suggest_prominent_spec.rb
448 miliseconds 4% Trend
spec/models/article_destroy_spec.rb
447 miliseconds 17% Trend
spec/requests/admin/moderator_actions_spec.rb
447 miliseconds 18% Trend
spec/requests/articles/articles_admin_unpublish_spec.rb
446 miliseconds 19% Trend
spec/mailers/devise_mailer_spec.rb
441 miliseconds 22% Trend
spec/system/admin/admin_visits_overview_spec.rb
440 miliseconds 12% Trend
spec/queries/audit_log/unpublish_alls_query_spec.rb
438 miliseconds 14% Trend
spec/services/articles/feeds/tag_spec.rb
436 miliseconds 10% Trend
spec/liquid_tags/forem_tag_spec.rb
431 miliseconds 18% Trend
spec/models/mention_spec.rb
429 miliseconds 14% Trend
spec/services/tag_moderators/add_spec.rb
427 miliseconds 17% Trend
spec/lib/data_update_scripts/add_single_resource_role_to_tech_admins_spec.rb
423 miliseconds 9% Trend
spec/services/push_notifications/send_spec.rb
416 miliseconds 12% Trend
spec/services/segmented_users/bulk_delete_spec.rb
415 miliseconds 17% Trend
spec/requests/social_previews_spec.rb
407 miliseconds 13% Trend
spec/requests/podcasts/podcast_episodes_index_spec.rb
404 miliseconds 18% Trend
spec/view_objects/cloud_cover_url_spec.rb
401 miliseconds 17% Trend
spec/helpers/social_image_helper_spec.rb
401 miliseconds 17% Trend
spec/requests/profile_field_groups_request_spec.rb
396 miliseconds 18% Trend
spec/requests/articles/articles_admin_feature_spec.rb
395 miliseconds 12% Trend
spec/models/feedback_message_spec.rb
393 miliseconds 24% Trend
spec/lib/data_update_scripts/rename_moderator_to_super_moderator_spec.rb
387 miliseconds 4% Trend
spec/uploaders/badge_uploader_spec.rb
385 miliseconds 22% Trend
spec/models/credit_spec.rb
383 miliseconds 17% Trend
spec/requests/api_secrets_create_spec.rb
378 miliseconds 19% Trend
spec/services/homepage/fetch_tag_flares_spec.rb
376 miliseconds 15% Trend
spec/services/articles/unpublish_spec.rb
375 miliseconds 14% Trend
spec/services/badges/award_yearly_club_spec.rb
370 miliseconds 12% Trend
spec/requests/async_info_spec.rb
367 miliseconds 20% Trend
spec/requests/admin/permissions_spec.rb
366 miliseconds 16% Trend
spec/services/images/generate_social_image_spec.rb
361 miliseconds 14% Trend
spec/services/users/remove_role_spec.rb
349 miliseconds 1% Trend
spec/services/search/podcast_episode_spec.rb
348 miliseconds 20% Trend
spec/services/credits/buy_spec.rb
346 miliseconds 18% Trend
spec/requests/admin/tools_spec.rb
341 miliseconds 26% Trend
spec/services/articles/attributes_spec.rb
335 miliseconds 11% Trend
spec/services/badges/award_beloved_comment_spec.rb
334 miliseconds 18% Trend
spec/services/comment_creator_spec.rb
328 miliseconds 21% Trend
spec/requests/user/user_notification_settings_spec.rb
320 miliseconds 29% Trend
spec/requests/email_subscriptions_spec.rb
318 miliseconds 18% Trend
spec/requests/rating_votes_spec.rb
316 miliseconds 24% Trend
spec/models/podcast_episode_appearance_spec.rb
315 miliseconds 17% Trend
spec/helpers/authentication_helper_spec.rb
311 miliseconds 29% Trend
spec/requests/follows_bulk_show_spec.rb
310 miliseconds 38% Trend
spec/services/re_captcha/check_enabled_spec.rb
308 miliseconds 18% Trend
spec/models/html_variant_spec.rb
306 miliseconds 25% Trend
spec/workers/mentions/send_email_notification_worker_spec.rb
306 miliseconds 20% Trend
spec/services/notifications/new_badge_achievement/send_spec.rb
303 miliseconds 22% Trend
spec/liquid_tags/katex_tag_spec.rb
301 miliseconds 20% Trend
spec/views/users/settings_spec.rb
299 miliseconds 33% Trend
spec/services/badges/award_thumbs_up_spec.rb
299 miliseconds 18% Trend
spec/workers/reactions/bust_homepage_cache_worker_spec.rb
299 miliseconds 21% Trend
spec/requests/video_states_update_spec.rb
299 miliseconds 22% Trend
spec/services/users/suggest_for_sidebar_spec.rb
293 miliseconds 28% Trend
spec/services/admin/charts_data_spec.rb
293 miliseconds 21% Trend
spec/models/email_authorization_spec.rb
292 miliseconds 17% Trend
spec/workers/organizations/update_organization_articles_paths_worker_spec.rb
291 miliseconds 11% Trend
spec/services/user_subscriptions/is_subscribed_cache_checker_spec.rb
289 miliseconds 22% Trend
spec/liquid_tags/unified_embed/registry_spec.rb
288 miliseconds 34% Trend
spec/requests/api/v1/tags_spec.rb
288 miliseconds 25% Trend
spec/workers/audience_segment_refresh_all_worker_spec.rb
286 miliseconds 26% Trend
spec/requests/api/v0/admin/users_spec.rb
284 miliseconds 30% Trend
spec/requests/profiles_request_spec.rb
283 miliseconds 14% Trend
spec/services/homepage/fetch_articles_spec.rb
283 miliseconds 16% Trend
spec/requests/api/v0/tags_spec.rb
281 miliseconds 18% Trend
spec/models/page_spec.rb
281 miliseconds 22% Trend
spec/requests/api/v1/instances_spec.rb
277 miliseconds 28% Trend
spec/lib/data_update_scripts/profile_website_url_format_spec.rb
277 miliseconds 18% Trend
spec/services/html/parser_spec.rb
273 miliseconds 24% Trend
spec/models/settings/general_spec.rb
270 miliseconds 23% Trend
spec/models/github_issue_spec.rb
270 miliseconds 17% Trend
spec/models/api_secret_spec.rb
268 miliseconds 20% Trend
spec/requests/api/v0/instances_spec.rb
264 miliseconds 22% Trend
spec/requests/api/v1/docs/followers_spec.rb
263 miliseconds 26% Trend
spec/services/edge_cache/bust_comment_spec.rb
262 miliseconds 26% Trend
spec/models/poll_vote_spec.rb
262 miliseconds 25% Trend
spec/lib/data_update_scripts/profile_website_url_format_fixup_spec.rb
261 miliseconds 23% Trend
spec/workers/moderator/unpublish_all_articles_worker_spec.rb
260 miliseconds 26% Trend
spec/requests/podcasts/podcast_show_spec.rb
259 miliseconds 30% Trend
spec/models/poll_skip_spec.rb
256 miliseconds 27% Trend
spec/services/notification_subscriptions/unsubscribe_spec.rb
255 miliseconds 31% Trend
spec/requests/ahoy/email_clicks_spec.rb
252 miliseconds 35% Trend
spec/workers/mentions/create_all_worker_spec.rb
250 miliseconds 32% Trend
spec/requests/articles/org_redirect_spec.rb
246 miliseconds 23% Trend
spec/lib/data_update_scripts/coerce_identity_auth_data_format_spec.rb
244 miliseconds 28% Trend
spec/requests/api/v0/feature_flags_spec.rb
240 miliseconds 35% Trend
spec/services/articles/destroyer_spec.rb
240 miliseconds 32% Trend
spec/services/notifications/remove_all_by_action_spec.rb
238 miliseconds 10% Trend
spec/helpers/profile_helper_spec.rb
237 miliseconds 21% Trend
spec/liquid_tags/listing_tag_spec.rb
236 miliseconds 21% Trend
spec/services/search/tag_spec.rb
235 miliseconds 27% Trend
spec/policies/authorizer_spec.rb
234 miliseconds 27% Trend
spec/models/billboard_event_spec.rb
234 miliseconds 26% Trend
spec/services/notifications/remove_all_spec.rb
233 miliseconds 26% Trend
spec/requests/api/v1/feature_flags_spec.rb
230 miliseconds 38% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free