Knapsack Pro

DEV Community (dev.to) / dev.to / Forem / Build ID aa64ac5b-8c63-4284-8215-817694f8d4a5

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
03bdd2f refs/pull/21230/merge 8 3 months ago 7 minutes 52.51 seconds 27 minutes 7.38 seconds   4%

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 2 minutes 36.77 seconds. The shorter this time is, the better.

Parallel CI nodes

The first CI node finished its work at 2024-08-26 16:12:37 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 23.43 seconds.

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

Node index Finish time Tests execution time (27 minutes 7.38 seconds) Test files
0 2024-08-26 16:12:37 UTC 2 minutes 7.99 seconds
1 2024-08-26 16:12:39 UTC 5 minutes 6.78 seconds
2 Finished First 2024-08-26 16:12:37 UTC 4 minutes 58.97 seconds
3 2024-08-26 16:14:23 UTC 0 seconds None
4 Finished Last 2024-08-26 16:15:13 UTC 0 seconds None
5 2024-08-26 16:12:38 UTC 5 minutes 0.99 seconds
6 2024-08-26 16:12:39 UTC 4 minutes 48.9 seconds
7 2024-08-26 16:12:40 UTC 5 minutes 3.77 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 23.43 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 922 in total files) Execution time
spec/requests/admin/articles_spec.rb
3.44 seconds 3% Trend
spec/requests/notification_subscriptions_spec.rb
3.33 seconds 8% Trend
spec/workers/metrics/record_daily_usage_worker_spec.rb
3.31 seconds 33% Trend
spec/queries/homepage/articles_query_spec.rb
3.31 seconds 5% Trend
spec/system/comments/user_delete_a_comment_spec.rb
3.27 seconds 12% Trend
spec/requests/api/v1/user_roles_spec.rb
3.27 seconds 8% Trend
spec/requests/admin/html_variants_spec.rb
3.25 seconds 2% Trend
spec/services/images/generate_social_image_magickally_spec.rb
3.23 seconds 6% Trend
spec/requests/registrations_spec.rb
3.23 seconds 3% Trend
spec/system/user/user_settings_response_templates_spec.rb
3.22 seconds 5% Trend
spec/system/authentication/user_logs_in_with_apple_spec.rb
3.18 seconds 12% Trend
spec/requests/api/v1/docs/articles_spec.rb
3.06 seconds 6% Trend
spec/requests/admin/billboards_spec.rb
3.05 seconds 15% Trend
spec/requests/user_subscriptions_spec.rb
3.0 seconds 48% Trend
spec/queries/organizations/suggest_prominent_spec.rb
2.97 seconds 12% Trend
spec/requests/admin/overview_spec.rb
2.89 seconds 9% Trend
spec/system/articles/feeds/large_forem_experimental_spec.rb
2.85 seconds 42% Trend
spec/queries/billboards/filtered_ads_query_spec.rb
2.81 seconds 11% Trend
spec/requests/articles/articles_create_spec.rb
2.68 seconds 19% Trend
spec/queries/comments/count_spec.rb
2.63 seconds 9% Trend
spec/services/notifications/new_comment/send_spec.rb
2.6 seconds 10% Trend
spec/models/feed_event_spec.rb
2.58 seconds 6% Trend
spec/system/admin/admin_manages_pages_spec.rb
2.56 seconds 9% Trend
spec/services/moderator/unpublish_all_articles_spec.rb
2.55 seconds 10% Trend
spec/services/feed_events/bulk_upsert_spec.rb
2.51 seconds 6% Trend
spec/policies/comment_policy_spec.rb
2.51 seconds 10% Trend
spec/models/tag_adjustment_spec.rb
2.48 seconds 2% Trend
spec/requests/api/v1/docs/organizations_spec.rb
2.48 seconds Trend
spec/requests/user/user_organization_spec.rb
2.41 seconds 14% Trend
spec/system/search/display_articles_search_spec.rb
2.4 seconds 48% Trend
spec/requests/admin/broadcasts_spec.rb
2.36 seconds 4% Trend
spec/requests/admin/badge_achievements_spec.rb
2.36 seconds 3% Trend
spec/requests/response_templates_spec.rb
2.34 seconds 4% Trend
spec/requests/admin/pages_spec.rb
2.33 seconds 56% Trend
spec/requests/admin/consumer_apps_spec.rb
2.31 seconds 5% Trend
spec/requests/api/v1/docs/user_roles_spec.rb
2.3 seconds 10% Trend
spec/requests/pages_spec.rb
2.28 seconds 3% Trend
spec/requests/api/v0/organizations_spec.rb
2.27 seconds Trend
spec/requests/page_views_spec.rb
2.2 seconds 8% Trend
spec/requests/comments_with_cache_spec.rb
2.15 seconds 3% Trend
spec/requests/stories/feeds_spec.rb
2.14 seconds 28% Trend
spec/models/poll_spec.rb
2.13 seconds 29% Trend
spec/requests/search_spec.rb
2.13 seconds 8% Trend
spec/policies/reaction_policy_spec.rb
2.12 seconds 1% Trend
spec/services/search/article_spec.rb
2.08 seconds 8% Trend
spec/requests/tag_adjustments_spec.rb
2.08 seconds 11% Trend
spec/initializers/rack_attack_spec.rb
2.06 seconds 6% Trend
spec/services/search/comment_spec.rb
2.06 seconds 3% Trend
spec/services/notifications/moderation/send_spec.rb
2.05 seconds 10% Trend
spec/system/user/user_edits_profile_spec.rb
2.04 seconds 19% Trend
spec/system/admin/config/admin_updates_smtp_settings_spec.rb
2.02 seconds 8% Trend
spec/services/search/username_spec.rb
1.99 seconds 4% Trend
spec/services/rate_limit_checker_spec.rb
1.98 seconds 35% Trend
spec/requests/admin/organization_memberships_spec.rb
1.98 seconds 8% Trend
spec/lib/data_update_scripts/nullify_empty_string_for_alias_for_spec.rb
1.97 seconds 12187% Trend
spec/requests/admin/listings_categories_spec.rb
1.97 seconds 12% Trend
spec/services/notifications/notifiable_action/send_spec.rb
1.97 seconds 3% Trend
spec/queries/comments/tree_spec.rb
1.94 seconds 6% Trend
spec/services/exporter/service_spec.rb
1.94 seconds 65% Trend
spec/system/articles/user_deletes_an_article_spec.rb
1.92 seconds 40% Trend
spec/services/users/delete_articles_spec.rb
1.86 seconds 78% Trend
spec/queries/articles/active_threads_query_spec.rb
1.85 seconds 51% Trend
spec/system/search/display_users_search_spec.rb
1.8 seconds 45% Trend
spec/models/settings/authentication_spec.rb
1.78 seconds 1402% Trend
spec/queries/articles/api_search_query_spec.rb
1.75 seconds 17% Trend
spec/requests/admin/bulk_assign_role_spec.rb
1.75 seconds 9% Trend
spec/system/admin/admin_manages_organizations_spec.rb
1.74 seconds 339% Trend
spec/liquid_tags/youtube_tag_spec.rb
1.72 seconds 2020% Trend
spec/requests/articles/articles_destroy_spec.rb
1.7 seconds 15% Trend
spec/lib/release_phase_notifier_spec.rb
1.7 seconds 2157% Trend
spec/liquid_tags/stackblitz_tag_spec.rb
1.69 seconds 1621% Trend
spec/workers/moderator/banish_user_worker_spec.rb
1.69 seconds 4% Trend
spec/services/search/listing_spec.rb
1.69 seconds 109% Trend
spec/decorators/article_decorator_spec.rb
1.67 seconds 8% Trend
spec/services/articles/feeds/basic_spec.rb
1.65 seconds 10% Trend
spec/services/admin/data_counts_spec.rb
1.65 seconds 1749% Trend
spec/requests/editor_spec.rb
1.63 seconds 143% Trend
spec/requests/feed_events_spec.rb
1.62 seconds 118% Trend
spec/requests/credits_spec.rb
1.62 seconds 7% Trend
spec/services/organizations/delete_spec.rb
1.62 seconds 38% Trend
spec/services/exporter/comments_spec.rb
1.62 seconds 51% Trend
spec/models/rating_vote_spec.rb
1.61 seconds 8% Trend
spec/requests/stories/pinned_articles_spec.rb
1.61 seconds 7% Trend
spec/workers/articles/publish_worker_spec.rb
1.6 seconds 6% Trend
spec/services/edge_cache/bust_commentable_spec.rb
1.6 seconds 1118% Trend
spec/services/notifications/new_mention/send_spec.rb
1.59 seconds 112% Trend
spec/requests/api/v1/pages_spec.rb
1.59 seconds 11% Trend
spec/helpers/profile_helper_spec.rb
1.59 seconds 410% Trend
spec/services/notifications/welcome_notification/send_spec.rb
1.58 seconds 827% Trend
spec/requests/poll_votes_spec.rb
1.57 seconds 88% Trend
spec/requests/sidebars_spec.rb
1.57 seconds 10% Trend
spec/requests/admin/permissions_spec.rb
1.54 seconds 252% Trend
spec/policies/github_repo_policy_spec.rb
1.54 seconds 657% Trend
spec/services/podcasts/feed_spec.rb
1.54 seconds 5% Trend
spec/policies/space_policy_spec.rb
1.54 seconds 506% Trend
spec/requests/admin/badges_spec.rb
1.53 seconds 1% Trend
spec/services/user_subscriptions/is_subscribed_cache_checker_spec.rb
1.52 seconds 308% Trend
spec/requests/user/user_show_spec.rb
1.52 seconds 2% Trend
spec/requests/stripe_active_cards_spec.rb
1.51 seconds 16% Trend
spec/requests/universal_links_spec.rb
1.5 seconds 494% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free