Knapsack Pro

DEV Community (dev.to) / dev.to / Forem / Build ID 993ef752-2780-4f78-9c7f-11f8d9143108

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
bea9fa5 refs/pull/21362/merge 8 9 days ago 6 minutes 41.36 seconds 28 minutes 4.32 seconds   1%

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

Parallel CI nodes

The first CI node finished its work at 2024-11-12 19:20:58 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 30.54 seconds.

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

Node index Finish time Tests execution time (28 minutes 4.32 seconds) Test files
0 Finished First 2024-11-12 19:20:58 UTC 5 minutes 24.46 seconds
1 2024-11-12 19:21:01 UTC 5 minutes 27.71 seconds
2 2024-11-12 19:21:00 UTC 5 minutes 17.15 seconds
3 2024-11-12 19:20:59 UTC 5 minutes 3.91 seconds
4 2024-11-12 19:20:59 UTC 3 minutes 31.79 seconds
5 2024-11-12 19:21:00 UTC 3 minutes 19.33 seconds
6 2024-11-12 19:21:33 UTC 0 seconds None
7 Finished Last 2024-11-12 19:22: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 30.54 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 101 - 200 of 927 in total files) Execution time
spec/requests/tag_adjustments_spec.rb
3.58 seconds 53% Trend
spec/system/authentication/user_logs_in_with_twitter_spec.rb
3.53 seconds 15% Trend
spec/system/articles/user_deletes_an_article_spec.rb
3.5 seconds 9% Trend
spec/requests/admin/billboards_spec.rb
3.48 seconds 3% Trend
spec/system/authentication/user_logs_in_with_apple_spec.rb
3.34 seconds 8% Trend
spec/requests/onboardings_spec.rb
3.31 seconds 1% Trend
spec/queries/homepage/articles_query_spec.rb
3.3 seconds 5% Trend
spec/queries/organizations/suggest_prominent_spec.rb
3.29 seconds 2% Trend
spec/requests/api/v1/user_roles_spec.rb
3.28 seconds 8% Trend
spec/requests/registrations_spec.rb
3.24 seconds 3% Trend
spec/queries/comments/count_spec.rb
3.24 seconds 11% Trend
spec/services/images/generate_social_image_magickally_spec.rb
3.22 seconds 5% Trend
spec/system/search/display_articles_search_spec.rb
3.1 seconds 33% Trend
spec/requests/admin/overview_spec.rb
2.93 seconds 7% Trend
spec/system/comments/user_delete_a_comment_spec.rb
2.86 seconds 23% Trend
spec/queries/billboards/filtered_ads_query_spec.rb
2.85 seconds 9% Trend
spec/requests/admin/html_variants_spec.rb
2.84 seconds 10% Trend
spec/system/user/user_edits_extensions_spec.rb
2.8 seconds 58% Trend
spec/system/articles/feeds/basic_spec.rb
2.73 seconds 37% Trend
spec/services/moderator/unpublish_all_articles_spec.rb
2.66 seconds 6% Trend
spec/system/admin/admin_manages_pages_spec.rb
2.64 seconds 7% Trend
spec/policies/comment_policy_spec.rb
2.56 seconds 8% Trend
spec/models/feed_event_spec.rb
2.54 seconds 8% Trend
spec/requests/api/v1/docs/articles_spec.rb
2.53 seconds 11% Trend
spec/services/notifications/new_comment/send_spec.rb
2.53 seconds 13% Trend
spec/services/feed_events/bulk_upsert_spec.rb
2.5 seconds 7% Trend
spec/system/user/user_edits_profile_spec.rb
2.48 seconds 3% Trend
spec/models/tag_adjustment_spec.rb
2.44 seconds 4% Trend
spec/requests/search_spec.rb
2.42 seconds 3% Trend
spec/requests/user/user_organization_spec.rb
2.42 seconds 14% Trend
spec/requests/pages_spec.rb
2.42 seconds 2% Trend
spec/requests/api/v1/docs/user_roles_spec.rb
2.35 seconds 8% Trend
spec/workers/metrics/record_daily_usage_worker_spec.rb
2.34 seconds 6% Trend
spec/requests/admin/broadcasts_spec.rb
2.33 seconds 6% Trend
spec/requests/api/v1/docs/organizations_spec.rb
2.32 seconds 6% Trend
spec/system/user/user_settings_response_templates_spec.rb
2.32 seconds 31% Trend
spec/requests/page_views_spec.rb
2.3 seconds 4% Trend
spec/requests/response_templates_spec.rb
2.29 seconds 6% Trend
spec/services/search/comment_spec.rb
2.29 seconds 7% Trend
spec/requests/articles/articles_create_spec.rb
2.29 seconds 1% Trend
spec/requests/admin/consumer_apps_spec.rb
2.28 seconds 7% Trend
spec/requests/admin/badge_achievements_spec.rb
2.27 seconds 1% Trend
spec/requests/stories/feeds_spec.rb
2.27 seconds 18% Trend
spec/services/notifications/moderation/send_spec.rb
2.26 seconds Trend
spec/requests/api/v0/organizations_spec.rb
2.2 seconds 2% Trend
spec/workers/notifications/create_round_robin_moderation_notifications_worker_spec.rb
2.2 seconds 50% Trend
spec/system/admin/config/admin_updates_smtp_settings_spec.rb
2.17 seconds 1% Trend
spec/initializers/rack_attack_spec.rb
2.16 seconds 2% Trend
spec/requests/stories/pinned_articles_spec.rb
2.16 seconds 25% Trend
spec/services/search/article_spec.rb
2.12 seconds 6% Trend
spec/requests/admin/listings_categories_spec.rb
2.1 seconds 6% Trend
spec/views/dashboards/show.html.erb_spec.rb
2.09 seconds 1728% Trend
spec/policies/reaction_policy_spec.rb
2.02 seconds 5% Trend
spec/requests/credits_spec.rb
2.01 seconds 16% Trend
spec/requests/api/v0/videos_spec.rb
2.01 seconds 45% Trend
spec/system/search/display_users_search_spec.rb
1.99 seconds 39% Trend
spec/requests/admin/organization_memberships_spec.rb
1.98 seconds 8% Trend
spec/services/notifications/update_spec.rb
1.95 seconds 67% Trend
spec/requests/feedback_messages_spec.rb
1.95 seconds 11% Trend
spec/services/search/username_spec.rb
1.94 seconds 6% Trend
spec/services/notifications/notifiable_action/send_spec.rb
1.94 seconds 4% Trend
spec/requests/admin/response_templates_spec.rb
1.93 seconds 48% Trend
spec/services/edge_cache/bust_commentable_spec.rb
1.91 seconds 1478% Trend
spec/queries/comments/tree_spec.rb
1.91 seconds 7% Trend
spec/system/link_for_tags_in_posts_in_notifications_spec.rb
1.9 seconds 7% Trend
spec/workers/segmented_user_refresh_worker_spec.rb
1.9 seconds 603% Trend
spec/models/user_subscription_spec.rb
1.87 seconds 26% Trend
spec/requests/user_subscriptions_spec.rb
1.86 seconds 7% Trend
spec/models/notification_subscription_spec.rb
1.85 seconds 237% Trend
spec/requests/api/v1/pages_spec.rb
1.85 seconds 3% Trend
spec/requests/comments_with_cache_spec.rb
1.84 seconds 11% Trend
spec/decorators/article_decorator_spec.rb
1.84 seconds 2% Trend
spec/policies/github_repo_policy_spec.rb
1.81 seconds 821% Trend
spec/services/articles/feeds/basic_spec.rb
1.8 seconds 1% Trend
spec/models/rating_vote_spec.rb
1.79 seconds 1% Trend
spec/lib/liquid/echo_spec.rb
1.78 seconds 3758% Trend
spec/models/poll_option_spec.rb
1.77 seconds 547% Trend
spec/workers/moderator/banish_user_worker_spec.rb
1.75 seconds Trend
spec/services/users/suggest_for_sidebar_spec.rb
1.75 seconds 324% Trend
spec/requests/admin/comments_spec.rb
1.74 seconds 34% Trend
spec/system/articles/user_visits_article_stats_spec.rb
1.74 seconds 33% Trend
spec/requests/api/v1/docs/comments_spec.rb
1.72 seconds 132% Trend
spec/requests/admin/bulk_assign_role_spec.rb
1.69 seconds 13% Trend
spec/requests/user/user_destroy_spec.rb
1.68 seconds 26% Trend
spec/requests/stripe_active_cards_spec.rb
1.67 seconds 7% Trend
spec/requests/admin/nested_sidebar_spec.rb
1.66 seconds 106% Trend
spec/services/open_graph_spec.rb
1.65 seconds 468% Trend
spec/services/segmented_users/bulk_delete_spec.rb
1.64 seconds 227% Trend
spec/system/search/user_searches_users_spec.rb
1.63 seconds 26% Trend
spec/models/pinned_article_spec.rb
1.59 seconds 22% Trend
spec/models/poll_spec.rb
1.58 seconds 2% Trend
spec/services/notification_subscriptions/unsubscribe_spec.rb
1.55 seconds 314% Trend
spec/requests/comments_destroy_spec.rb
1.55 seconds 51% Trend
spec/services/podcasts/feed_spec.rb
1.55 seconds 5% Trend
spec/workers/articles/publish_worker_spec.rb
1.54 seconds 9% Trend
spec/helpers/admin/users_helper_spec.rb
1.53 seconds 66% Trend
spec/requests/sidebars_spec.rb
1.53 seconds 11% Trend
spec/services/moderator/sink_articles_spec.rb
1.5 seconds 68% Trend
spec/requests/podcasts/podcast_episodes_show_spec.rb
1.49 seconds 1% Trend
spec/requests/user/user_show_spec.rb
1.45 seconds 7% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free