Knapsack Pro

DEV Community (dev.to) / dev.to / Forem / Build ID ef07c4aa-3780-4e82-aacd-12ce793577b3

Build Details

Back to CI builds

Public
Commit hash Branch Nodes Start Wall time Tests execution time
a668509 refs/pull/21247/merge 8 3 months ago 4 minutes 59.58 seconds 28 minutes 1.06 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 minute 27.74 seconds. The shorter this time is, the better.

Parallel CI nodes

The first CI node finished its work at 2024-08-30 16:03:22 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.14 seconds.

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

Node index Finish time Tests execution time (28 minutes 1.06 seconds) Test files
0 2024-08-30 16:03:23 UTC 3 minutes 21.04 seconds
1 Finished Last 2024-08-30 16:04:49 UTC 4 minutes 49.96 seconds
2 2024-08-30 16:03:22 UTC 3 minutes 18.96 seconds
3 2024-08-30 16:03:24 UTC 3 minutes 18.76 seconds
4 2024-08-30 16:03:23 UTC 3 minutes 22.57 seconds
5 Finished First 2024-08-30 16:03:22 UTC 3 minutes 14.39 seconds
6 2024-08-30 16:03:24 UTC 3 minutes 18.49 seconds
7 2024-08-30 16:03:24 UTC 3 minutes 16.92 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 30.14 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 401 - 500 of 922 in total files) Execution time
spec/requests/admin/users/users_change_max_score_spec.rb
425 miliseconds 17% Trend
spec/mailers/devise_mailer_spec.rb
425 miliseconds 26% Trend
spec/liquid_tags/forem_tag_spec.rb
424 miliseconds 21% Trend
spec/queries/audit_log/unpublish_alls_query_spec.rb
424 miliseconds 17% Trend
spec/models/credit_spec.rb
423 miliseconds 7% Trend
spec/requests/user/user_changes_password_spec.rb
422 miliseconds 14% Trend
spec/models/tweet_spec.rb
421 miliseconds 19% Trend
spec/uploaders/badge_uploader_spec.rb
420 miliseconds 15% Trend
spec/lib/data_update_scripts/touch_articles_with_capitalized_paths_spec.rb
415 miliseconds 21% Trend
spec/services/podcasts/create_episode_spec.rb
413 miliseconds 29% Trend
spec/helpers/social_image_helper_spec.rb
412 miliseconds 14% Trend
spec/models/badge_achievement_spec.rb
406 miliseconds 18% Trend
spec/requests/articles/articles_admin_unpublish_spec.rb
406 miliseconds 27% Trend
spec/services/articles/unpublish_spec.rb
405 miliseconds 7% Trend
spec/view_objects/cloud_cover_url_spec.rb
404 miliseconds 16% Trend
spec/services/articles/feeds/tag_spec.rb
403 miliseconds 17% Trend
spec/services/mailchimp/bot_spec.rb
401 miliseconds 23% Trend
spec/models/feedback_message_spec.rb
399 miliseconds 23% Trend
spec/requests/profile_field_groups_request_spec.rb
396 miliseconds 19% Trend
spec/decorators/mention_decorator_spec.rb
388 miliseconds 19% Trend
spec/services/search/podcast_episode_spec.rb
386 miliseconds 11% Trend
spec/services/push_notifications/send_spec.rb
384 miliseconds 19% Trend
spec/services/segmented_users/bulk_delete_spec.rb
381 miliseconds 23% Trend
spec/requests/social_previews_spec.rb
380 miliseconds 19% Trend
spec/services/tag_moderators/add_spec.rb
375 miliseconds 28% Trend
spec/services/billboard_event_rollup_spec.rb
366 miliseconds 39% Trend
spec/services/homepage/fetch_tag_flares_spec.rb
365 miliseconds 18% Trend
spec/requests/articles/articles_admin_feature_spec.rb
364 miliseconds 20% Trend
spec/lib/data_update_scripts/add_single_resource_role_to_tech_admins_spec.rb
363 miliseconds 22% Trend
spec/requests/follows_create_spec.rb
362 miliseconds 26% Trend
spec/requests/admin/tools_spec.rb
360 miliseconds 19% Trend
spec/requests/api_secrets_create_spec.rb
353 miliseconds 27% Trend
spec/services/badges/award_yearly_club_spec.rb
350 miliseconds 17% Trend
spec/requests/user/user_notification_settings_spec.rb
350 miliseconds 22% Trend
spec/requests/admin/permissions_spec.rb
349 miliseconds 20% Trend
spec/lib/data_update_scripts/cleanup_articles_with_invalid_feed_source_url_spec.rb
348 miliseconds 14% Trend
spec/system/admin/admin_manages_organizations_spec.rb
348 miliseconds 11% Trend
spec/services/articles/attributes_spec.rb
348 miliseconds 7% Trend
spec/services/credits/buy_spec.rb
346 miliseconds 18% Trend
spec/services/badges/award_beloved_comment_spec.rb
343 miliseconds 15% Trend
spec/services/comment_creator_spec.rb
338 miliseconds 18% Trend
spec/services/images/generate_social_image_spec.rb
338 miliseconds 19% Trend
spec/lib/data_update_scripts/rename_moderator_to_super_moderator_spec.rb
337 miliseconds 16% Trend
spec/helpers/authentication_helper_spec.rb
336 miliseconds 23% Trend
spec/requests/follows_bulk_show_spec.rb
325 miliseconds 33% Trend
spec/requests/rating_votes_spec.rb
325 miliseconds 22% Trend
spec/services/re_captcha/check_enabled_spec.rb
325 miliseconds 13% Trend
spec/models/html_variant_spec.rb
312 miliseconds 23% Trend
spec/requests/api/v0/admin/users_spec.rb
306 miliseconds 25% Trend
spec/services/slack/messengers/comment_user_warned_spec.rb
304 miliseconds 14% Trend
spec/views/users/settings_spec.rb
302 miliseconds 34% Trend
spec/requests/api/v0/feature_flags_spec.rb
300 miliseconds 19% Trend
spec/lib/data_update_scripts/profile_website_url_format_spec.rb
299 miliseconds 14% Trend
spec/services/notifications/new_badge_achievement/send_spec.rb
298 miliseconds 25% Trend
spec/services/users/remove_role_spec.rb
297 miliseconds 15% Trend
spec/workers/reactions/bust_homepage_cache_worker_spec.rb
296 miliseconds 21% Trend
spec/requests/video_states_update_spec.rb
295 miliseconds 23% Trend
spec/services/badges/award_thumbs_up_spec.rb
291 miliseconds 20% Trend
spec/system/collections/user_views_collection_articles_spec.rb
291 miliseconds 10% Trend
spec/requests/api/v1/feature_flags_spec.rb
290 miliseconds 24% Trend
spec/models/settings/general_spec.rb
282 miliseconds 19% Trend
spec/policies/user_policy_spec.rb
282 miliseconds 30% Trend
spec/workers/mentions/send_email_notification_worker_spec.rb
282 miliseconds 26% Trend
spec/services/user_subscriptions/is_subscribed_cache_checker_spec.rb
281 miliseconds 24% Trend
spec/models/page_spec.rb
280 miliseconds 22% Trend
spec/requests/api/v1/instances_spec.rb
279 miliseconds 25% Trend
spec/requests/api/v0/tags_spec.rb
275 miliseconds 19% Trend
spec/lib/data_update_scripts/profile_website_url_format_fixup_spec.rb
273 miliseconds 19% Trend
spec/workers/mentions/create_all_worker_spec.rb
271 miliseconds 26% Trend
spec/models/podcast_episode_appearance_spec.rb
268 miliseconds 28% Trend
spec/services/html/parser_spec.rb
267 miliseconds 26% Trend
spec/services/users/suggest_for_sidebar_spec.rb
267 miliseconds 33% Trend
spec/services/edge_cache/bust_comment_spec.rb
265 miliseconds 23% Trend
spec/liquid_tags/unified_embed/registry_spec.rb
265 miliseconds 39% Trend
spec/models/email_authorization_spec.rb
264 miliseconds 28% Trend
spec/models/billboard_event_spec.rb
263 miliseconds 15% Trend
spec/requests/api/v1/docs/followers_spec.rb
261 miliseconds 24% Trend
spec/requests/articles/org_redirect_spec.rb
260 miliseconds 19% Trend
spec/models/poll_skip_spec.rb
259 miliseconds 24% Trend
spec/services/homepage/fetch_articles_spec.rb
258 miliseconds 22% Trend
spec/models/poll_vote_spec.rb
258 miliseconds 26% Trend
spec/lib/string_attribute_cleaner_spec.rb
255 miliseconds 24% Trend
spec/requests/ahoy/email_clicks_spec.rb
255 miliseconds 34% Trend
spec/models/github_issue_spec.rb
254 miliseconds 21% Trend
spec/services/articles/destroyer_spec.rb
253 miliseconds 30% Trend
spec/models/api_secret_spec.rb
252 miliseconds 26% Trend
spec/workers/organizations/update_organization_articles_paths_worker_spec.rb
250 miliseconds 23% Trend
spec/services/notification_subscriptions/unsubscribe_spec.rb
247 miliseconds 35% Trend
spec/services/notifications/remove_all_spec.rb
246 miliseconds 22% Trend
spec/requests/api/v0/instances_spec.rb
240 miliseconds 29% Trend
spec/system/authentication/user_with_suspended_username_spec.rb
239 miliseconds 26% Trend
spec/workers/audience_segment_refresh_all_worker_spec.rb
239 miliseconds 38% Trend
spec/liquid_tags/github_tag/github_readme_tag_spec.rb
238 miliseconds 30% Trend
spec/system/user_views_logo_spec.rb
232 miliseconds 30% Trend
spec/helpers/profile_helper_spec.rb
232 miliseconds 25% Trend
spec/serializers/search/reading_list_article_serializer_spec.rb
229 miliseconds 33% Trend
spec/lib/data_update_scripts/coerce_identity_auth_data_format_spec.rb
228 miliseconds 30% Trend
spec/workers/moderator/unpublish_all_articles_worker_spec.rb
227 miliseconds 35% Trend
spec/liquid_tags/listing_tag_spec.rb
225 miliseconds 25% Trend
spec/lib/url_spec.rb
222 miliseconds 23% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free