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 101 - 200 of 927 in total files) Execution time
spec/requests/api/v1/docs/audience_segments_spec.rb
3.51 seconds 12% Trend
spec/services/images/generate_social_image_magickally_spec.rb
3.5 seconds 2% Trend
spec/system/authentication/user_logs_in_with_twitter_spec.rb
3.44 seconds 17% Trend
spec/requests/admin/overview_spec.rb
3.39 seconds 6% Trend
spec/requests/registrations_spec.rb
3.32 seconds 1% Trend
spec/services/notifications/reactions/send_spec.rb
3.24 seconds 8% Trend
spec/requests/admin/billboards_spec.rb
3.18 seconds 11% Trend
spec/queries/homepage/articles_query_spec.rb
3.15 seconds 9% Trend
spec/queries/billboards/filtered_ads_query_spec.rb
3.07 seconds 3% Trend
spec/system/articles/feeds/basic_spec.rb
3.02 seconds 31% Trend
spec/system/authentication/user_logs_in_with_apple_spec.rb
3.0 seconds 17% Trend
spec/models/feed_event_spec.rb
2.99 seconds 7% Trend
spec/models/tag_adjustment_spec.rb
2.99 seconds 17% Trend
spec/requests/api/v1/docs/articles_spec.rb
2.97 seconds 3% Trend
spec/requests/admin/html_variants_spec.rb
2.96 seconds 6% Trend
spec/system/search/display_articles_search_spec.rb
2.91 seconds 38% Trend
spec/system/admin/admin_manages_pages_spec.rb
2.87 seconds Trend
spec/policies/comment_policy_spec.rb
2.8 seconds Trend
spec/queries/comments/count_spec.rb
2.79 seconds 4% Trend
spec/services/notifications/new_comment/send_spec.rb
2.78 seconds 4% Trend
spec/system/articles/feeds/large_forem_experimental_spec.rb
2.78 seconds 43% Trend
spec/system/user/user_edits_extensions_spec.rb
2.69 seconds 52% Trend
spec/services/feed_events/bulk_upsert_spec.rb
2.65 seconds 2% Trend
spec/requests/onboardings_spec.rb
2.65 seconds 21% Trend
spec/requests/user/user_organization_spec.rb
2.6 seconds 8% Trend
spec/requests/page_views_spec.rb
2.6 seconds 7% Trend
spec/services/search/comment_spec.rb
2.49 seconds 16% Trend
spec/system/user/user_edits_profile_spec.rb
2.48 seconds 3% Trend
spec/requests/api/v1/docs/organizations_spec.rb
2.48 seconds Trend
spec/requests/api/v1/docs/user_roles_spec.rb
2.39 seconds 7% Trend
spec/workers/metrics/record_daily_usage_worker_spec.rb
2.38 seconds 4% Trend
spec/requests/admin/broadcasts_spec.rb
2.38 seconds 4% Trend
spec/requests/admin/consumer_apps_spec.rb
2.36 seconds 3% Trend
spec/requests/stories/feeds_spec.rb
2.3 seconds 17% Trend
spec/requests/response_templates_spec.rb
2.27 seconds 7% Trend
spec/decorators/article_decorator_spec.rb
2.26 seconds 25% Trend
spec/requests/sidebars_spec.rb
2.26 seconds 29% Trend
spec/requests/search_spec.rb
2.22 seconds 5% Trend
spec/requests/pages_spec.rb
2.21 seconds 6% Trend
spec/requests/stories/pinned_articles_spec.rb
2.2 seconds 27% Trend
spec/workers/emails/send_user_digest_worker_spec.rb
2.13 seconds 66% Trend
spec/requests/tag_adjustments_spec.rb
2.12 seconds 9% Trend
spec/services/notifications/moderation/send_spec.rb
2.11 seconds 7% Trend
spec/system/user/user_settings_response_templates_spec.rb
2.11 seconds 37% Trend
spec/requests/admin/badge_achievements_spec.rb
2.1 seconds 8% Trend
spec/queries/comments/tree_spec.rb
2.09 seconds Trend
spec/requests/articles/articles_create_spec.rb
2.09 seconds 7% Trend
spec/services/notifications/notifiable_action/send_spec.rb
2.08 seconds 2% Trend
spec/services/search/article_spec.rb
2.05 seconds 9% Trend
spec/system/articles/user_deletes_an_article_spec.rb
2.03 seconds 36% Trend
spec/requests/admin/listings_categories_spec.rb
2.03 seconds 9% Trend
spec/system/admin/config/admin_updates_smtp_settings_spec.rb
2.01 seconds 8% Trend
spec/requests/api/v0/organizations_spec.rb
1.98 seconds 12% Trend
spec/queries/articles/active_threads_query_spec.rb
1.94 seconds 58% Trend
spec/policies/reaction_policy_spec.rb
1.93 seconds 9% Trend
spec/requests/admin/organization_memberships_spec.rb
1.93 seconds 10% Trend
spec/queries/articles/api_search_query_spec.rb
1.93 seconds 29% Trend
spec/initializers/rack_attack_spec.rb
1.91 seconds 14% Trend
spec/system/search/display_users_search_spec.rb
1.88 seconds 43% Trend
spec/services/search/username_spec.rb
1.87 seconds 9% Trend
spec/workers/reactions/update_relevant_scores_worker_spec.rb
1.87 seconds 62% Trend
spec/system/user_logs_in_with_password_spec.rb
1.87 seconds 35% Trend
spec/requests/admin/privileged_reactions_spec.rb
1.86 seconds 71% Trend
spec/requests/comments_with_cache_spec.rb
1.81 seconds 12% Trend
spec/requests/admin/bulk_assign_role_spec.rb
1.81 seconds 7% Trend
spec/requests/user_subscriptions_spec.rb
1.8 seconds 10% Trend
spec/services/articles/feeds/basic_spec.rb
1.8 seconds 2% Trend
spec/system/articles/user_visits_article_stats_spec.rb
1.75 seconds 34% Trend
spec/requests/api/v1/pages_spec.rb
1.73 seconds 2% Trend
spec/requests/feedback_messages_spec.rb
1.72 seconds 1% Trend
spec/models/rating_vote_spec.rb
1.72 seconds 2% Trend
spec/workers/moderator/banish_user_worker_spec.rb
1.71 seconds 3% Trend
spec/requests/user/user_destroy_spec.rb
1.67 seconds 26% Trend
spec/system/user/user_edits_customization_spec.rb
1.62 seconds 52% Trend
spec/requests/stripe_active_cards_spec.rb
1.61 seconds 10% Trend
spec/requests/admin/emails_spec.rb
1.59 seconds 134% Trend
spec/helpers/organization_helper_spec.rb
1.57 seconds 1339% Trend
spec/services/podcasts/feed_spec.rb
1.57 seconds 4% Trend
spec/workers/articles/publish_worker_spec.rb
1.56 seconds 8% Trend
spec/uploaders/logo_uploader_spec.rb
1.56 seconds 88% Trend
spec/views/users/main_feed_spec.rb
1.55 seconds 22% Trend
spec/services/notifications/milestone/send_spec.rb
1.54 seconds 58% Trend
spec/requests/credits_spec.rb
1.53 seconds 11% Trend
spec/services/notifications/update_spec.rb
1.51 seconds 29% Trend
spec/models/poll_spec.rb
1.5 seconds 7% Trend
spec/requests/user/user_show_spec.rb
1.5 seconds 4% Trend
spec/decorators/podcast_episode_decorator_spec.rb
1.49 seconds 663% Trend
spec/requests/admin/badges_spec.rb
1.48 seconds 2% Trend
spec/services/notification_subscriptions/subscribe_spec.rb
1.47 seconds 1% Trend
spec/services/rate_limit_checker_spec.rb
1.47 seconds Trend
spec/requests/profile_preview_cards_spec.rb
1.46 seconds 2% Trend
spec/models/user_subscription_spec.rb
1.44 seconds 2% Trend
spec/services/articles/feeds/find_featured_story_spec.rb
1.43 seconds 192% Trend
spec/requests/api/v0/api_controller_spec.rb
1.42 seconds 51% Trend
spec/requests/api/v1/docs/podcast_episodes_spec.rb
1.41 seconds 418% Trend
spec/requests/api/v0/admin/users_spec.rb
1.41 seconds 245% Trend
spec/system/link_for_tags_in_posts_in_notifications_spec.rb
1.41 seconds 20% Trend
spec/models/concerns/purgeable_spec.rb
1.41 seconds 836% Trend
spec/requests/api/v1/videos_spec.rb
1.4 seconds 1% Trend
spec/services/users/update_spec.rb
1.4 seconds 9% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free