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 201 - 300 of 923 in total files) Execution time
spec/helpers/admin/users_helper_spec.rb
1.37 seconds 48% Trend
spec/system/authentication/conditional_registration_spec.rb
1.37 seconds 39% Trend
spec/requests/api/v1/billboards_spec.rb
1.36 seconds 3% Trend
spec/system/authentication/redirects_using_referer_spec.rb
1.35 seconds 2% Trend
spec/requests/podcasts/podcast_episodes_show_spec.rb
1.35 seconds 9% Trend
spec/system/user_logs_in_with_password_spec.rb
1.35 seconds 2% Trend
spec/system/admin/admin_awards_badges_spec.rb
1.35 seconds 33% Trend
spec/services/spam/handler_spec.rb
1.34 seconds 2% Trend
spec/requests/admin/response_templates_spec.rb
1.33 seconds 2% Trend
spec/requests/api/v1/podcasts_episodes_spec.rb
1.24 seconds 56% Trend
spec/requests/api/v1/docs/billboards_spec.rb
1.22 seconds 11% Trend
spec/requests/devices_spec.rb
1.21 seconds 119% Trend
spec/models/pinned_article_spec.rb
1.21 seconds 6% Trend
spec/system/user/user_edits_extensions_spec.rb
1.2 seconds 32% Trend
spec/services/tag_adjustment_creation_service_spec.rb
1.2 seconds 79% Trend
spec/models/articles/feeds_spec.rb
1.19 seconds 1049% Trend
spec/requests/api/v1/recommended_articles_lists_spec.rb
1.18 seconds 3% Trend
spec/requests/podcasts/podcast_create_spec.rb
1.18 seconds 5% Trend
spec/services/organizations/delete_spec.rb
1.17 seconds Trend
spec/requests/follows_create_spec.rb
1.17 seconds 133% Trend
spec/liquid_tags/comment_tag_spec.rb
1.15 seconds 88% Trend
spec/decorators/mention_decorator_spec.rb
1.15 seconds 136% Trend
spec/workers/emails/send_user_digest_worker_spec.rb
1.15 seconds 10% Trend
spec/validators/valid_domain_csv_validator_spec.rb
1.15 seconds 1381% Trend
spec/views/users/main_feed_spec.rb
1.14 seconds 9% Trend
spec/requests/articles/video_player_show_spec.rb
1.14 seconds 8% Trend
spec/workers/reactions/update_relevant_scores_worker_spec.rb
1.13 seconds 1% Trend
spec/requests/admin/invitations_spec.rb
1.13 seconds 3% Trend
spec/requests/admin/comments_spec.rb
1.12 seconds 13% Trend
spec/workers/rating_votes/assign_rating_worker_spec.rb
1.12 seconds 84% Trend
spec/system/feedback_message_spec.rb
1.12 seconds 5% Trend
spec/requests/admin/podcasts_spec.rb
1.1 seconds Trend
spec/requests/image_uploads_spec.rb
1.1 seconds 4% Trend
spec/requests/user_blocks_spec.rb
1.1 seconds 12% Trend
spec/queries/articles/active_threads_query_spec.rb
1.1 seconds 10% Trend
spec/requests/github_repos_spec.rb
1.09 seconds Trend
spec/services/notifications/update_spec.rb
1.09 seconds 6% Trend
spec/requests/user/user_destroy_spec.rb
1.09 seconds 17% Trend
spec/requests/article_approvals_spec.rb
1.09 seconds 4% Trend
spec/system/collections/user_views_collection_articles_spec.rb
1.09 seconds 221% Trend
spec/models/collection_spec.rb
1.08 seconds 6% Trend
spec/services/users/delete_articles_spec.rb
1.08 seconds 3% Trend
spec/system/admin/admin_creates_new_tag_spec.rb
1.07 seconds 220% Trend
spec/lib/data_update_scripts/backfill_forem_consumer_app_team_id_spec.rb
1.07 seconds 1250% Trend
spec/services/badges/award_tag_spec.rb
1.06 seconds 4% Trend
spec/models/follow_spec.rb
1.05 seconds 18% Trend
spec/services/article_with_video_creation_service_spec.rb
1.05 seconds 1105% Trend
spec/requests/api/v1/docs/pages_spec.rb
1.05 seconds 4% Trend
spec/serializers/search/reading_list_article_serializer_spec.rb
1.04 seconds 201% Trend
spec/services/badges/award_streak_spec.rb
1.04 seconds 103% Trend
spec/requests/admin/listings_spec.rb
1.03 seconds 12% Trend
spec/workers/follows/update_points_worker_spec.rb
1.03 seconds 13% Trend
spec/requests/notification_counts_spec.rb
1.03 seconds 368% Trend
spec/requests/admin/creator_settings_spec.rb
1.02 seconds 10% Trend
spec/requests/notifications/reads_spec.rb
1.01 seconds 118% Trend
spec/requests/admin/feedback_messages_spec.rb
1.01 seconds 6% Trend
spec/services/edge_cache/bust_commentable_spec.rb
1.01 seconds 728% Trend
spec/services/exporter/service_spec.rb
1.01 seconds 14% Trend
spec/system/admin/admin_manages_profile_fields_spec.rb
1000 miliseconds 2% Trend
spec/requests/admin/privileged_reactions_spec.rb
996 miliseconds 7% Trend
spec/lib/data_update_scripts/cleanup_articles_with_invalid_feed_source_url_spec.rb
996 miliseconds 142% Trend
spec/lib/html_css_to_image_spec.rb
995 miliseconds 2269% Trend
spec/services/slack/messengers/comment_user_warned_spec.rb
994 miliseconds 186% Trend
spec/workers/notifications/notifiable_action_worker_spec.rb
985 miliseconds 289% Trend
spec/models/users/setting_spec.rb
980 miliseconds 8% Trend
spec/policies/video_policy_spec.rb
977 miliseconds 645% Trend
spec/system/organization/user_leaves_an_organization_spec.rb
974 miliseconds 24% Trend
spec/workers/comments/bust_cache_worker_spec.rb
972 miliseconds 1071% Trend
spec/liquid_tags/youtube_tag_spec.rb
970 miliseconds 1097% Trend
spec/services/content_renderer_spec.rb
965 miliseconds 230% Trend
spec/system/podcasts/user_visits_podcasts_root_page_spec.rb
959 miliseconds 11% Trend
spec/services/exporter/comments_spec.rb
956 miliseconds 10% Trend
spec/policies/user_policy_spec.rb
954 miliseconds 134% Trend
spec/services/articles/builder_spec.rb
951 miliseconds 197% Trend
spec/services/markdown_processor/parser_spec.rb
946 miliseconds 7% Trend
spec/services/users/confirm_flag_reactions_spec.rb
941 miliseconds 3% Trend
spec/requests/api/v1/docs/users_spec.rb
936 miliseconds 8% Trend
spec/requests/api/v0/podcasts_episodes_spec.rb
934 miliseconds 15% Trend
spec/system/admin/admin_deletes_user_spec.rb
934 miliseconds 17% Trend
spec/requests/admin_user_marks_user_as_spam_spec.rb
934 miliseconds 12% Trend
spec/requests/profile_pins_spec.rb
930 miliseconds 4% Trend
spec/lib/data_update_scripts/update_articles_cached_entities_spec.rb
928 miliseconds 141% Trend
spec/helpers/articles_helper_spec.rb
922 miliseconds 891% Trend
spec/models/users/suspended_username_spec.rb
921 miliseconds 322% Trend
spec/serializers/search/listing_serializer_spec.rb
920 miliseconds 260% Trend
spec/requests/comments_destroy_spec.rb
913 miliseconds 9% Trend
spec/system/tags/user_updates_a_tag_spec.rb
905 miliseconds 5% Trend
spec/services/bulk_sql_delete_spec.rb
901 miliseconds 10% Trend
spec/services/users/delete_podcasts_spec.rb
900 miliseconds 258% Trend
spec/views/articles_spec.rb
898 miliseconds 15% Trend
spec/system/podcasts/user_visits_podcast_page_spec.rb
897 miliseconds 9% Trend
spec/liquid_tags/details_tag_spec.rb
896 miliseconds 522% Trend
spec/helpers/admin/organizations_helper_spec.rb
894 miliseconds 378% Trend
spec/controllers/concerns/omniauth_redirect_spec.rb
893 miliseconds 697% Trend
spec/system/articles/user_visits_article_stats_spec.rb
888 miliseconds 31% Trend
spec/workers/users/delete_worker_spec.rb
883 miliseconds 9% Trend
spec/services/notifications/milestone/send_spec.rb
880 miliseconds 7% Trend
spec/requests/discussion_locks_spec.rb
877 miliseconds 5% Trend
spec/system/collections/user_views_collections_spec.rb
861 miliseconds 9% Trend
spec/requests/follows_show_spec.rb
860 miliseconds 6% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free