Knapsack Pro

DEV Community (dev.to) / dev.to / Forem / Build ID f1ba9658-9f4b-45d1-ab4e-d7a2e0c39fa9

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
16999c9 refs/pull/21362/merge 8 9 days ago 5 minutes 46.85 seconds 27 minutes 48.7 seconds   2%

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

Parallel CI nodes

The first CI node finished its work at 2024-11-12 19:40:53 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 28.59 seconds.

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

Node index Finish time Tests execution time (27 minutes 48.7 seconds) Test files
0 2024-11-12 19:40:54 UTC 4 minutes 37.18 seconds
1 2024-11-12 19:40:53 UTC 4 minutes 40.09 seconds
2 Finished First 2024-11-12 19:40:53 UTC 4 minutes 38.35 seconds
3 2024-11-12 19:40:53 UTC 4 minutes 28.6 seconds
4 2024-11-12 19:40:53 UTC 4 minutes 23.42 seconds
5 2024-11-12 19:40:55 UTC 2 minutes 24.19 seconds
6 2024-11-12 19:40:54 UTC 2 minutes 36.92 seconds
7 Finished Last 2024-11-12 19:59:04 UTC 0 seconds None

Test Files recorded on parallel CI nodes

The slow test files are highlighted in yellow.

Test files with higher execution time than 3 minutes 28.59 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 201 - 300 of 927 in total files) Execution time
spec/services/search/user_spec.rb
1.38 seconds 139% Trend
spec/system/admin/admin_awards_badges_spec.rb
1.38 seconds 32% Trend
spec/requests/api/v1/billboards_spec.rb
1.37 seconds 1% Trend
spec/requests/admin/users/users_export_spec.rb
1.36 seconds 109% Trend
spec/requests/feed_events_spec.rb
1.36 seconds 83% Trend
spec/lib/data_update_scripts/remove_dangling_user_reactions_spec.rb
1.36 seconds 412% Trend
spec/system/authentication/redirects_using_referer_spec.rb
1.35 seconds 3% Trend
spec/requests/articles/articles_destroy_spec.rb
1.35 seconds 8% Trend
spec/services/notifications/new_follower/send_spec.rb
1.35 seconds 10% Trend
spec/requests/admin/reactions_spec.rb
1.32 seconds 13% Trend
spec/requests/podcasts/podcast_episodes_show_spec.rb
1.32 seconds 11% Trend
spec/requests/billboard_events_spec.rb
1.32 seconds 13% Trend
spec/services/credits/manage_spec.rb
1.32 seconds 343% Trend
spec/requests/admin/pages_spec.rb
1.31 seconds 12% Trend
spec/requests/api/v1/docs/comments_spec.rb
1.31 seconds 77% Trend
spec/system/admin/admin_deletes_user_spec.rb
1.31 seconds 16% Trend
spec/lib/data_update_scripts/remove_apple_auth_feature_flag_spec.rb
1.31 seconds 1450% Trend
spec/requests/notifications/reads_spec.rb
1.31 seconds 177% Trend
spec/services/spam/handler_spec.rb
1.3 seconds 4% Trend
spec/workers/rating_votes/assign_rating_worker_spec.rb
1.3 seconds 114% Trend
spec/requests/admin/mods_spec.rb
1.29 seconds 12% Trend
spec/requests/api/v1/docs/billboards_spec.rb
1.29 seconds 7% Trend
spec/services/notification_subscriptions/unsubscribe_spec.rb
1.28 seconds 242% Trend
spec/workers/notifications/create_round_robin_moderation_notifications_worker_spec.rb
1.28 seconds 11% Trend
spec/services/notifications/reactions/reaction_data_spec.rb
1.28 seconds 325% Trend
spec/requests/admin/response_templates_spec.rb
1.27 seconds 2% Trend
spec/requests/api/v0/videos_spec.rb
1.26 seconds 8% Trend
spec/decorators/mention_decorator_spec.rb
1.26 seconds 159% Trend
spec/requests/admin/comments_spec.rb
1.26 seconds 3% Trend
spec/requests/api/v1/readinglist_spec.rb
1.25 seconds 7% Trend
spec/services/users/remove_role_spec.rb
1.25 seconds 252% Trend
spec/services/articles/suggest_spec.rb
1.25 seconds Trend
spec/requests/articles/video_player_show_spec.rb
1.24 seconds 1% Trend
spec/models/pinned_article_spec.rb
1.24 seconds 4% Trend
spec/models/users/suspended_username_spec.rb
1.24 seconds 465% Trend
spec/services/authentication/providers/github_spec.rb
1.24 seconds 3139% Trend
spec/workers/follows/update_points_worker_spec.rb
1.2 seconds 1% Trend
spec/requests/admin/profile_fields_spec.rb
1.2 seconds 50% Trend
spec/views/layouts/signup_modal.html.erb_spec.rb
1.2 seconds 577% Trend
spec/mailers/custom_mailer_spec.rb
1.2 seconds 351% Trend
spec/policies/discussion_lock_policy_spec.rb
1.19 seconds 290% Trend
spec/requests/podcasts/podcast_create_spec.rb
1.19 seconds 4% Trend
spec/requests/api/v1/recommended_articles_lists_spec.rb
1.18 seconds 3% Trend
spec/models/follow_spec.rb
1.17 seconds 9% Trend
spec/models/collection_spec.rb
1.17 seconds 1% Trend
spec/system/feedback_message_spec.rb
1.17 seconds 1% Trend
spec/requests/user_blocks_spec.rb
1.16 seconds 7% Trend
spec/lib/data_update_scripts/nullify_empty_tag_colors_spec.rb
1.15 seconds 784% Trend
spec/services/organizations/delete_spec.rb
1.14 seconds 2% Trend
spec/services/user_subscriptions/is_subscribed_cache_checker_spec.rb
1.14 seconds 212% Trend
spec/queries/tags/suggested_for_onboarding_spec.rb
1.13 seconds 584% Trend
spec/requests/admin/invitations_spec.rb
1.09 seconds Trend
spec/requests/articles/articles_admin_unpublish_spec.rb
1.08 seconds 92% Trend
spec/system/search/user_searches_users_spec.rb
1.07 seconds 51% Trend
spec/workers/mentions/send_email_notification_worker_spec.rb
1.07 seconds 177% Trend
spec/services/badges/award_tag_spec.rb
1.07 seconds 4% Trend
spec/services/calculate_reaction_points_spec.rb
1.06 seconds 13% Trend
spec/requests/admin/listings_spec.rb
1.05 seconds 10% Trend
spec/system/organization/user_leaves_an_organization_spec.rb
1.04 seconds 20% Trend
spec/requests/admin/creator_settings_spec.rb
1.04 seconds 9% Trend
spec/models/listing_spec.rb
1.04 seconds 94% Trend
spec/services/exporter/service_spec.rb
1.03 seconds 11% Trend
spec/requests/article_approvals_spec.rb
1.03 seconds 9% Trend
spec/requests/admin/tags/moderators_spec.rb
1.03 seconds 15% Trend
spec/requests/image_uploads_spec.rb
1.02 seconds 10% Trend
spec/system/authentication/creator_config_edit_spec.rb
1.02 seconds 59% Trend
spec/requests/api/v1/docs/pages_spec.rb
1.02 seconds 6% Trend
spec/models/api_secret_spec.rb
1.01 seconds 198% Trend
spec/services/badges/award_contributor_spec.rb
1.01 seconds 593% Trend
spec/services/users/delete_articles_spec.rb
995 miliseconds 4% Trend
spec/requests/github_repos_spec.rb
994 miliseconds 7% Trend
spec/models/users/setting_spec.rb
992 miliseconds 7% Trend
spec/requests/admin/podcasts_spec.rb
992 miliseconds 10% Trend
spec/requests/followings_spec.rb
973 miliseconds 6% Trend
spec/requests/api/v1/docs/users_spec.rb
970 miliseconds 6% Trend
spec/services/exporter/comments_spec.rb
966 miliseconds 9% Trend
spec/system/admin/admin_manages_profile_fields_spec.rb
961 miliseconds 5% Trend
spec/models/articles/feeds/variant_assembler_spec.rb
960 miliseconds 4% Trend
spec/system/podcasts/user_visits_podcasts_root_page_spec.rb
956 miliseconds 12% Trend
spec/views/articles_spec.rb
943 miliseconds 10% Trend
spec/models/application_record_spec.rb
943 miliseconds 9% Trend
spec/requests/stripe_subscriptions_spec.rb
943 miliseconds 13% Trend
spec/services/podcasts/get_episode_spec.rb
942 miliseconds 193% Trend
spec/services/bulk_sql_delete_spec.rb
942 miliseconds 6% Trend
spec/requests/admin_user_marks_user_as_spam_spec.rb
939 miliseconds 12% Trend
spec/workers/emails/drip_email_worker_spec.rb
939 miliseconds 5% Trend
spec/requests/api/v0/readinglist_spec.rb
927 miliseconds 22% Trend
spec/requests/admin/feedback_messages_spec.rb
926 miliseconds 15% Trend
spec/requests/invitations_spec.rb
924 miliseconds 342% Trend
spec/services/users/confirm_flag_reactions_spec.rb
916 miliseconds 5% Trend
spec/system/tags/user_updates_a_tag_spec.rb
906 miliseconds 5% Trend
spec/services/markdown_processor/parser_spec.rb
900 miliseconds 12% Trend
spec/system/podcasts/user_visits_podcast_page_spec.rb
896 miliseconds 9% Trend
spec/system/authentication/conditional_registration_spec.rb
894 miliseconds 8% Trend
spec/requests/profile_pins_spec.rb
886 miliseconds 8% Trend
spec/liquid_tags/link_tag_spec.rb
874 miliseconds 8% Trend
spec/requests/discussion_locks_spec.rb
874 miliseconds 6% Trend
spec/services/homepage/fetch_tag_flares_spec.rb
870 miliseconds 95% Trend
spec/workers/pages/bust_cache_worker_spec.rb
867 miliseconds 997% Trend
spec/system/admin/admin_manages_reports_spec.rb
863 miliseconds 3% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free