Knapsack Pro

DEV Community (dev.to) / dev.to / Forem / Build ID d91ede13-2301-4f2b-bcfc-72e3470255fd

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
782f41a refs/pull/21370/merge 8 10 days ago 4 minutes 8.75 seconds 28 minutes 55.0 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 hour 11 minutes 9.88 seconds. The shorter this time is, the better.

Parallel CI nodes

The first CI node finished its work at 2024-11-13 18:23:23 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 36.88 seconds.

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

Node index Finish time Tests execution time (28 minutes 55.0 seconds) Test files
0 2024-11-13 18:23:46 UTC 3 minutes 57.05 seconds
1 2024-11-13 18:23:23 UTC 3 minutes 33.61 seconds
2 2024-11-13 18:23:23 UTC 3 minutes 35.92 seconds
3 Finished Last 2024-11-13 19:34:32 UTC 3 minutes 48.82 seconds
4 2024-11-13 18:23:24 UTC 3 minutes 20.65 seconds
5 2024-11-13 18:23:24 UTC 3 minutes 34.53 seconds
6 Finished First 2024-11-13 18:23:23 UTC 3 minutes 28.47 seconds
7 2024-11-13 18:23:24 UTC 3 minutes 35.98 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 36.88 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/rate_limit_checker_spec.rb
1.34 seconds 8% Trend
spec/workers/articles/update_page_views_worker_spec.rb
1.33 seconds 87% Trend
spec/services/articles/suggest_spec.rb
1.32 seconds 6% Trend
spec/system/admin/admin_awards_badges_spec.rb
1.31 seconds 35% Trend
spec/workers/notifications/create_round_robin_moderation_notifications_worker_spec.rb
1.3 seconds 10% Trend
spec/system/authentication/redirects_using_referer_spec.rb
1.3 seconds 6% Trend
spec/requests/api/v1/billboards_spec.rb
1.29 seconds 7% Trend
spec/requests/user_blocks_spec.rb
1.28 seconds 1% Trend
spec/system/user_logs_in_with_password_spec.rb
1.27 seconds 8% Trend
spec/requests/api/v1/docs/billboards_spec.rb
1.26 seconds 8% Trend
spec/services/spam/handler_spec.rb
1.25 seconds 8% Trend
spec/requests/podcasts/podcast_create_spec.rb
1.24 seconds Trend
spec/liquid_tags/wikipedia_tag_spec.rb
1.24 seconds 1386% Trend
spec/system/admin/admin_deletes_user_spec.rb
1.23 seconds 8% Trend
spec/requests/admin/mods_spec.rb
1.23 seconds 16% Trend
spec/requests/admin/listings_spec.rb
1.23 seconds 4% Trend
spec/views/users/main_feed_spec.rb
1.21 seconds 5% Trend
spec/models/pinned_article_spec.rb
1.21 seconds 6% Trend
spec/requests/user/user_notification_settings_spec.rb
1.2 seconds 165% Trend
spec/requests/user/user_destroy_spec.rb
1.2 seconds 9% Trend
spec/requests/admin/response_templates_spec.rb
1.2 seconds 8% Trend
spec/requests/articles/video_player_show_spec.rb
1.19 seconds 4% Trend
spec/system/feedback_message_spec.rb
1.18 seconds Trend
spec/requests/admin_user_marks_user_as_spam_spec.rb
1.17 seconds 8% Trend
spec/services/payments/customer_spec.rb
1.17 seconds 476% Trend
spec/requests/admin/comments_spec.rb
1.17 seconds 8% Trend
spec/workers/metrics/record_daily_notifications_worker_spec.rb
1.17 seconds 1632% Trend
spec/requests/feed_events_spec.rb
1.16 seconds 56% Trend
spec/decorators/mention_decorator_spec.rb
1.16 seconds 138% Trend
spec/helpers/notifications_helper_spec.rb
1.15 seconds 1037% Trend
spec/services/notifications/update_spec.rb
1.15 seconds Trend
spec/models/listing_spec.rb
1.14 seconds 119% Trend
spec/queries/articles/active_threads_query_spec.rb
1.14 seconds 7% Trend
spec/services/credits/ledger_spec.rb
1.14 seconds 285% Trend
spec/workers/emails/send_user_digest_worker_spec.rb
1.14 seconds 11% Trend
spec/models/follow_spec.rb
1.14 seconds 12% Trend
spec/requests/api/v1/docs/followed_tags_spec.rb
1.13 seconds 317% Trend
spec/requests/api/v1/recommended_articles_lists_spec.rb
1.12 seconds 8% Trend
spec/workers/algolia_search/search_index_worker_spec.rb
1.12 seconds 782% Trend
spec/services/articles/feeds/find_featured_story_spec.rb
1.12 seconds 126% Trend
spec/services/badges/award_tag_spec.rb
1.11 seconds Trend
spec/models/collection_spec.rb
1.11 seconds 4% Trend
spec/workers/emails/drip_email_worker_spec.rb
1.1 seconds 9% Trend
spec/services/notification_subscriptions/unsubscribe_spec.rb
1.1 seconds 184% Trend
spec/workers/moderator/unpublish_all_articles_worker_spec.rb
1.09 seconds 209% Trend
spec/views/credits/new.html.erb_spec.rb
1.09 seconds 355% Trend
spec/services/notifications/remove_all_spec.rb
1.09 seconds 242% Trend
spec/liquid_tags/podcast_tag_spec.rb
1.08 seconds 614% Trend
spec/system/admin/admin_visits_badge_achievements_spec.rb
1.07 seconds 260% Trend
spec/workers/follows/update_points_worker_spec.rb
1.07 seconds 10% Trend
spec/decorators/user_decorator_spec.rb
1.07 seconds 30% Trend
spec/system/admin/admin_creates_new_tag_spec.rb
1.06 seconds 217% Trend
spec/requests/article_approvals_spec.rb
1.06 seconds 7% Trend
spec/requests/comments_destroy_spec.rb
1.06 seconds 4% Trend
spec/requests/admin/invitations_spec.rb
1.06 seconds 3% Trend
spec/models/articles/feeds/variant_assembler_spec.rb
1.05 seconds 5% Trend
spec/system/admin/admin_manages_profile_fields_spec.rb
1.05 seconds 2% Trend
spec/requests/admin/podcasts_spec.rb
1.05 seconds 5% Trend
spec/system/search/user_searches_users_spec.rb
1.05 seconds 52% Trend
spec/workers/reactions/update_relevant_scores_worker_spec.rb
1.04 seconds 8% Trend
spec/services/exporter/service_spec.rb
1.04 seconds 11% Trend
spec/workers/spaces/bust_caches_for_space_change_worker_spec.rb
1.04 seconds 1065% Trend
spec/requests/admin/creator_settings_spec.rb
1.02 seconds 11% Trend
spec/requests/github_repos_spec.rb
1.01 seconds 8% Trend
spec/models/application_record_spec.rb
997 miliseconds 4% Trend
spec/models/users/setting_spec.rb
997 miliseconds 6% Trend
spec/system/authentication/creator_config_edit_spec.rb
994 miliseconds 60% Trend
spec/services/users/delete_articles_spec.rb
991 miliseconds 4% Trend
spec/liquid_tags/forem_tag_spec.rb
988 miliseconds 83% Trend
spec/system/podcasts/user_visits_podcasts_root_page_spec.rb
987 miliseconds 9% Trend
spec/services/badges/award_top_seven_spec.rb
987 miliseconds 430% Trend
spec/system/collections/user_views_collections_spec.rb
986 miliseconds 3% Trend
spec/requests/api/v1/docs/pages_spec.rb
981 miliseconds 10% Trend
spec/services/exporter/comments_spec.rb
981 miliseconds 7% Trend
spec/workers/organizations/update_organization_articles_paths_worker_spec.rb
980 miliseconds 198% Trend
spec/services/edge_cache/bust_podcast_episode_spec.rb
973 miliseconds 835% Trend
spec/system/podcasts/user_visits_podcast_page_spec.rb
966 miliseconds 3% Trend
spec/lib/data_update_scripts/cleanup_articles_with_invalid_feed_source_url_spec.rb
961 miliseconds 134% Trend
spec/requests/ahoy/external_email_clicks_spec.rb
957 miliseconds 316% Trend
spec/uploaders/logo_uploader_spec.rb
952 miliseconds 16% Trend
spec/views/articles_spec.rb
947 miliseconds 10% Trend
spec/workers/users/delete_worker_spec.rb
946 miliseconds 3% Trend
spec/requests/followings_spec.rb
935 miliseconds 10% Trend
spec/requests/api/v1/docs/users_spec.rb
933 miliseconds 9% Trend
spec/services/notifications/new_mention/send_spec.rb
931 miliseconds 24% Trend
spec/services/bulk_sql_delete_spec.rb
925 miliseconds 8% Trend
spec/requests/stripe_subscriptions_spec.rb
919 miliseconds 15% Trend
spec/system/tags/user_updates_a_tag_spec.rb
898 miliseconds 6% Trend
spec/requests/discussion_locks_spec.rb
892 miliseconds 4% Trend
spec/services/markdown_processor/parser_spec.rb
891 miliseconds 13% Trend
spec/system/authentication/conditional_registration_spec.rb
883 miliseconds 9% Trend
spec/lib/data_update_scripts/make_tags_with_mods_supported_spec.rb
882 miliseconds 641% Trend
spec/services/users/confirm_flag_reactions_spec.rb
874 miliseconds 10% Trend
spec/liquid_tags/link_tag_spec.rb
872 miliseconds 8% Trend
spec/requests/stories/articles_search_spec.rb
868 miliseconds 192% Trend
spec/requests/universal_links_spec.rb
867 miliseconds 245% Trend
spec/requests/admin/tags_spec.rb
860 miliseconds 4% Trend
spec/services/calculate_reaction_points_spec.rb
853 miliseconds 7% Trend
spec/requests/follows_show_spec.rb
849 miliseconds 7% Trend
spec/requests/badges_spec.rb
849 miliseconds 170% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free