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 8 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 101 - 200 of 927 in total files) Execution time
spec/system/user/trusted_user_flags_user_spec.rb
3.88 seconds 3% Trend
spec/requests/notification_subscriptions_spec.rb
3.84 seconds 6% Trend
spec/requests/onboardings_spec.rb
3.83 seconds 13% Trend
spec/requests/admin/billboards_spec.rb
3.83 seconds 6% Trend
spec/system/authentication/user_logs_in_with_twitter_spec.rb
3.71 seconds 11% Trend
spec/services/articles/feeds/article_score_calculator_for_user_spec.rb
3.67 seconds Trend
spec/services/images/generate_social_image_magickally_spec.rb
3.61 seconds 5% Trend
spec/queries/homepage/articles_query_spec.rb
3.51 seconds Trend
spec/queries/billboards/filtered_ads_query_spec.rb
3.38 seconds 6% Trend
spec/system/articles/moderator_moderates_an_article_spec.rb
3.29 seconds 22% Trend
spec/requests/admin/articles_spec.rb
3.29 seconds 7% Trend
spec/queries/organizations/suggest_prominent_spec.rb
3.27 seconds 2% Trend
spec/system/comments/user_delete_a_comment_spec.rb
3.26 seconds 12% Trend
spec/requests/admin/overview_spec.rb
3.22 seconds 1% Trend
spec/system/authentication/user_logs_in_with_apple_spec.rb
3.19 seconds 12% Trend
spec/requests/registrations_spec.rb
3.18 seconds 5% Trend
spec/requests/admin/listings_categories_spec.rb
3.1 seconds 38% Trend
spec/requests/user/user_organization_spec.rb
2.98 seconds 5% Trend
spec/requests/admin/html_variants_spec.rb
2.92 seconds 7% Trend
spec/models/feed_event_spec.rb
2.82 seconds 1% Trend
spec/system/articles/feeds/large_forem_experimental_spec.rb
2.77 seconds 43% Trend
spec/initializers/rack_attack_spec.rb
2.73 seconds 23% Trend
spec/policies/comment_policy_spec.rb
2.72 seconds 3% Trend
spec/services/notifications/notifiable_action/send_spec.rb
2.69 seconds 32% Trend
spec/system/admin/admin_manages_pages_spec.rb
2.69 seconds 5% Trend
spec/system/search/display_articles_search_spec.rb
2.68 seconds 43% Trend
spec/services/moderator/unpublish_all_articles_spec.rb
2.67 seconds 6% Trend
spec/queries/comments/count_spec.rb
2.67 seconds 8% Trend
spec/services/feed_events/bulk_upsert_spec.rb
2.65 seconds 1% Trend
spec/system/user/user_edits_profile_spec.rb
2.63 seconds 2% Trend
spec/requests/api/v1/docs/articles_spec.rb
2.58 seconds 10% Trend
spec/workers/metrics/record_daily_usage_worker_spec.rb
2.57 seconds 3% Trend
spec/requests/admin/consumer_apps_spec.rb
2.56 seconds 4% Trend
spec/requests/admin/badge_achievements_spec.rb
2.52 seconds 9% Trend
spec/system/articles/user_deletes_an_article_spec.rb
2.51 seconds 21% Trend
spec/requests/page_views_spec.rb
2.49 seconds 3% Trend
spec/requests/pages_spec.rb
2.49 seconds 5% Trend
spec/models/tag_adjustment_spec.rb
2.44 seconds 4% Trend
spec/requests/admin/broadcasts_spec.rb
2.44 seconds 2% Trend
spec/requests/api/v1/docs/organizations_spec.rb
2.43 seconds 1% Trend
spec/requests/response_templates_spec.rb
2.4 seconds 2% Trend
spec/requests/api/v0/organizations_spec.rb
2.36 seconds 4% Trend
spec/requests/api/v1/docs/user_roles_spec.rb
2.35 seconds 8% Trend
spec/requests/search_spec.rb
2.35 seconds Trend
spec/requests/user_subscriptions_spec.rb
2.34 seconds 15% Trend
spec/system/admin/config/admin_updates_smtp_settings_spec.rb
2.29 seconds 3% Trend
spec/requests/stories/feeds_spec.rb
2.28 seconds 17% Trend
spec/services/search/article_spec.rb
2.24 seconds 1% Trend
spec/services/notifications/moderation/send_spec.rb
2.21 seconds 3% Trend
spec/system/user/user_settings_response_templates_spec.rb
2.21 seconds 35% Trend
spec/requests/articles/articles_create_spec.rb
2.2 seconds 2% Trend
spec/requests/tag_adjustments_spec.rb
2.17 seconds 7% Trend
spec/requests/feedback_messages_spec.rb
2.11 seconds 20% Trend
spec/requests/admin/organization_memberships_spec.rb
2.07 seconds 4% Trend
spec/policies/reaction_policy_spec.rb
2.06 seconds 3% Trend
spec/services/search/comment_spec.rb
2.05 seconds 3% Trend
spec/system/search/display_users_search_spec.rb
2.01 seconds 39% Trend
spec/services/search/username_spec.rb
1.99 seconds 3% Trend
spec/requests/billboard_events_spec.rb
1.99 seconds 30% Trend
spec/requests/comments_with_cache_spec.rb
1.95 seconds 5% Trend
spec/queries/comments/tree_spec.rb
1.9 seconds 8% Trend
spec/services/podcasts/feed_spec.rb
1.87 seconds 14% Trend
spec/decorators/article_decorator_spec.rb
1.84 seconds 2% Trend
spec/services/organizations/delete_spec.rb
1.83 seconds 56% Trend
spec/system/articles/user_visits_article_stats_spec.rb
1.83 seconds 40% Trend
spec/requests/admin/bulk_assign_role_spec.rb
1.82 seconds 6% Trend
spec/requests/user/user_show_spec.rb
1.81 seconds 15% Trend
spec/services/articles/feeds/basic_spec.rb
1.8 seconds 2% Trend
spec/requests/api/v1/pages_spec.rb
1.79 seconds Trend
spec/models/poll_spec.rb
1.75 seconds 7% Trend
spec/requests/stories/pinned_articles_spec.rb
1.72 seconds Trend
spec/system/organization/user_leaves_an_organization_spec.rb
1.72 seconds 32% Trend
spec/requests/api/v1/readinglist_spec.rb
1.71 seconds 27% Trend
spec/models/rating_vote_spec.rb
1.69 seconds 3% Trend
spec/workers/moderator/banish_user_worker_spec.rb
1.69 seconds 4% Trend
spec/services/users/update_spec.rb
1.67 seconds 7% Trend
spec/requests/stripe_active_cards_spec.rb
1.61 seconds 10% Trend
spec/requests/credits_spec.rb
1.58 seconds 8% Trend
spec/system/link_for_tags_in_posts_in_notifications_spec.rb
1.56 seconds 11% Trend
spec/requests/admin/feedback_messages_spec.rb
1.56 seconds 42% Trend
spec/requests/sidebars_spec.rb
1.55 seconds 10% Trend
spec/requests/api/v0/videos_spec.rb
1.53 seconds 11% Trend
spec/requests/api/v1/videos_spec.rb
1.52 seconds 10% Trend
spec/requests/profile_pins_spec.rb
1.48 seconds 51% Trend
spec/system/user/user_edits_extensions_spec.rb
1.47 seconds 16% Trend
spec/services/notifications/new_follower/send_spec.rb
1.46 seconds 2% Trend
spec/system/admin/admin_manages_reports_spec.rb
1.46 seconds 62% Trend
spec/queries/articles/api_search_query_spec.rb
1.46 seconds 2% Trend
spec/system/admin/admin_invites_user_spec.rb
1.44 seconds 66% Trend
spec/requests/profile_preview_cards_spec.rb
1.44 seconds 4% Trend
spec/requests/admin/badges_spec.rb
1.43 seconds 5% Trend
spec/requests/articles/articles_destroy_spec.rb
1.43 seconds 3% Trend
spec/requests/admin/privileged_reactions_spec.rb
1.43 seconds 31% Trend
spec/requests/admin/reactions_spec.rb
1.42 seconds 6% Trend
spec/services/notifications/milestone/send_spec.rb
1.42 seconds 46% Trend
spec/requests/podcasts/podcast_episodes_show_spec.rb
1.42 seconds 5% Trend
spec/models/user_subscription_spec.rb
1.39 seconds 6% Trend
spec/requests/admin/pages_spec.rb
1.37 seconds 8% Trend
spec/services/notification_subscriptions/subscribe_spec.rb
1.36 seconds 5% Trend
spec/requests/image_uploads_spec.rb
1.35 seconds 17% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free