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 11 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 401 - 500 of 927 in total files) Execution time
spec/models/tweet_spec.rb
464 miliseconds 11% Trend
spec/workers/github_repos/repo_sync_worker_spec.rb
459 miliseconds 9% Trend
spec/queries/users/suggest_prominent_spec.rb
453 miliseconds 2% Trend
spec/requests/admin/moderator_actions_spec.rb
452 miliseconds 17% Trend
spec/models/badge_achievement_spec.rb
452 miliseconds 9% Trend
spec/services/badges/award_spec.rb
438 miliseconds 24% Trend
spec/requests/admin/users/users_change_reputation_modifier_spec.rb
432 miliseconds 16% Trend
spec/queries/audit_log/unpublish_alls_query_spec.rb
429 miliseconds 16% Trend
spec/models/mention_spec.rb
429 miliseconds 14% Trend
spec/requests/devices_spec.rb
428 miliseconds 21% Trend
spec/services/badges/award_streak_spec.rb
425 miliseconds 17% Trend
spec/requests/api_secrets_destroy_spec.rb
421 miliseconds 21% Trend
spec/services/notifications/remove_all_spec.rb
421 miliseconds 33% Trend
spec/view_objects/cloud_cover_url_spec.rb
417 miliseconds 13% Trend
spec/services/podcasts/create_episode_spec.rb
416 miliseconds 28% Trend
spec/requests/api/v0/follows_spec.rb
414 miliseconds 20% Trend
spec/services/tag_moderators/add_spec.rb
405 miliseconds 22% Trend
spec/services/push_notifications/send_spec.rb
400 miliseconds 16% Trend
spec/requests/follows_create_spec.rb
399 miliseconds 18% Trend
spec/services/articles/unpublish_spec.rb
398 miliseconds 9% Trend
spec/models/feedback_message_spec.rb
398 miliseconds 23% Trend
spec/liquid_tags/forem_tag_spec.rb
398 miliseconds 26% Trend
spec/mailers/devise_mailer_spec.rb
397 miliseconds 31% Trend
spec/services/segmented_users/bulk_delete_spec.rb
386 miliseconds 22% Trend
spec/requests/podcasts/podcast_episodes_index_spec.rb
375 miliseconds 24% Trend
spec/system/admin/admin_manages_organizations_spec.rb
374 miliseconds 5% Trend
spec/lib/data_update_scripts/cleanup_articles_with_invalid_feed_source_url_spec.rb
369 miliseconds 9% Trend
spec/workers/organizations/update_organization_articles_paths_worker_spec.rb
369 miliseconds 12% Trend
spec/requests/async_info_spec.rb
368 miliseconds 19% Trend
spec/models/credit_spec.rb
363 miliseconds 20% Trend
spec/lib/data_update_scripts/add_single_resource_role_to_tech_admins_spec.rb
357 miliseconds 24% Trend
spec/services/search/podcast_episode_spec.rb
356 miliseconds 18% Trend
spec/helpers/authentication_helper_spec.rb
354 miliseconds 19% Trend
spec/requests/auth_passes_spec.rb
350 miliseconds 25% Trend
spec/requests/articles/articles_admin_feature_spec.rb
350 miliseconds 23% Trend
spec/lib/data_update_scripts/rename_moderator_to_super_moderator_spec.rb
346 miliseconds 14% Trend
spec/requests/admin/permissions_spec.rb
340 miliseconds 22% Trend
spec/requests/follows_bulk_show_spec.rb
339 miliseconds 31% Trend
spec/services/badges/award_yearly_club_spec.rb
339 miliseconds 20% Trend
spec/services/re_captcha/check_enabled_spec.rb
336 miliseconds 10% Trend
spec/requests/admin/tools_spec.rb
334 miliseconds 25% Trend
spec/requests/rating_votes_spec.rb
333 miliseconds 20% Trend
spec/services/badges/award_beloved_comment_spec.rb
332 miliseconds 18% Trend
spec/requests/api_secrets_create_spec.rb
332 miliseconds 32% Trend
spec/services/edge_cache/bust_article_spec.rb
332 miliseconds 20% Trend
spec/services/comment_creator_spec.rb
332 miliseconds 19% Trend
spec/views/users/settings_spec.rb
331 miliseconds 27% Trend
spec/requests/user/user_notification_settings_spec.rb
331 miliseconds 26% Trend
spec/models/discussion_lock_spec.rb
330 miliseconds 57% Trend
spec/services/notifications/new_badge_achievement/send_spec.rb
326 miliseconds 18% Trend
spec/requests/admin/users/users_update_email_spec.rb
326 miliseconds 14% Trend
spec/requests/email_subscriptions_spec.rb
320 miliseconds 17% Trend
spec/services/articles/attributes_spec.rb
315 miliseconds 16% Trend
spec/models/poll_vote_spec.rb
315 miliseconds 10% Trend
spec/policies/user_policy_spec.rb
310 miliseconds 23% Trend
spec/services/credits/buy_spec.rb
309 miliseconds 27% Trend
spec/liquid_tags/unified_embed/registry_spec.rb
309 miliseconds 29% Trend
spec/services/users/suggest_for_sidebar_spec.rb
308 miliseconds 23% Trend
spec/models/page_spec.rb
306 miliseconds 15% Trend
spec/services/slack/messengers/comment_user_warned_spec.rb
303 miliseconds 14% Trend
spec/lib/data_update_scripts/update_articles_cached_entities_spec.rb
303 miliseconds 21% Trend
spec/system/collections/user_views_collection_articles_spec.rb
300 miliseconds 7% Trend
spec/requests/api/v1/tags_spec.rb
296 miliseconds 23% Trend
spec/liquid_tags/katex_tag_spec.rb
294 miliseconds 23% Trend
spec/uploaders/badge_uploader_spec.rb
294 miliseconds 40% Trend
spec/requests/video_states_update_spec.rb
293 miliseconds 24% Trend
spec/models/html_variant_spec.rb
292 miliseconds 28% Trend
spec/requests/api/v1/docs/followers_spec.rb
292 miliseconds 16% Trend
spec/lib/data_update_scripts/profile_website_url_format_spec.rb
290 miliseconds 16% Trend
spec/requests/api/v0/tags_spec.rb
289 miliseconds 15% Trend
spec/lib/string_attribute_cleaner_spec.rb
284 miliseconds 15% Trend
spec/workers/audience_segment_refresh_all_worker_spec.rb
283 miliseconds 27% Trend
spec/services/admin/charts_data_spec.rb
282 miliseconds 23% Trend
spec/services/badges/award_thumbs_up_spec.rb
281 miliseconds 23% Trend
spec/models/github_issue_spec.rb
281 miliseconds 13% Trend
spec/workers/reactions/bust_homepage_cache_worker_spec.rb
280 miliseconds 26% Trend
spec/requests/api/v0/feature_flags_spec.rb
279 miliseconds 24% Trend
spec/requests/articles/org_redirect_spec.rb
279 miliseconds 14% Trend
spec/services/homepage/fetch_articles_spec.rb
279 miliseconds 15% Trend
spec/services/html/parser_spec.rb
277 miliseconds 23% Trend
spec/models/settings/general_spec.rb
276 miliseconds 21% Trend
spec/models/poll_skip_spec.rb
276 miliseconds 19% Trend
spec/serializers/search/reading_list_article_serializer_spec.rb
274 miliseconds 20% Trend
spec/requests/api/v1/feature_flags_spec.rb
273 miliseconds 28% Trend
spec/lib/data_update_scripts/profile_website_url_format_fixup_spec.rb
270 miliseconds 20% Trend
spec/requests/podcasts/podcast_show_spec.rb
270 miliseconds 27% Trend
spec/workers/mentions/create_all_worker_spec.rb
263 miliseconds 29% Trend
spec/services/edge_cache/bust_comment_spec.rb
263 miliseconds 24% Trend
spec/requests/api/v1/instances_spec.rb
262 miliseconds 29% Trend
spec/requests/api/v0/instances_spec.rb
254 miliseconds 25% Trend
spec/services/articles/destroyer_spec.rb
251 miliseconds 31% Trend
spec/lib/data_update_scripts/coerce_identity_auth_data_format_spec.rb
251 miliseconds 23% Trend
spec/models/email_authorization_spec.rb
250 miliseconds 32% Trend
spec/workers/moderator/unpublish_all_articles_worker_spec.rb
248 miliseconds 29% Trend
spec/requests/ahoy/email_clicks_spec.rb
247 miliseconds 36% Trend
spec/liquid_tags/github_tag/github_readme_tag_spec.rb
246 miliseconds 28% Trend
spec/models/billboard_event_spec.rb
246 miliseconds 20% Trend
spec/services/credits/ledger_spec.rb
245 miliseconds 16% Trend
spec/helpers/moderations/actions_panel_helper_spec.rb
242 miliseconds 28% Trend
spec/liquid_tags/listing_tag_spec.rb
241 miliseconds 19% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free