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 401 - 500 of 922 in total files) Execution time
spec/services/segmented_users/bulk_delete_spec.rb
424 miliseconds 15% Trend
spec/requests/articles/articles_admin_unpublish_spec.rb
423 miliseconds 24% Trend
spec/models/mention_spec.rb
421 miliseconds 16% Trend
spec/requests/social_previews_spec.rb
419 miliseconds 11% Trend
spec/requests/admin/users/users_change_max_score_spec.rb
418 miliseconds 18% Trend
spec/lib/data_update_scripts/touch_articles_with_capitalized_paths_spec.rb
415 miliseconds 21% Trend
spec/models/listing_spec.rb
415 miliseconds 19% Trend
spec/queries/audit_log/unpublish_alls_query_spec.rb
414 miliseconds 19% Trend
spec/services/articles/feeds/tag_spec.rb
413 miliseconds 15% Trend
spec/services/push_notifications/send_spec.rb
408 miliseconds 14% Trend
spec/helpers/social_image_helper_spec.rb
408 miliseconds 15% Trend
spec/services/tag_moderators/add_spec.rb
407 miliseconds 21% Trend
spec/services/badges/award_streak_spec.rb
407 miliseconds 20% Trend
spec/models/badge_achievement_spec.rb
404 miliseconds 18% Trend
spec/queries/users/suggest_prominent_spec.rb
403 miliseconds 13% Trend
spec/view_objects/cloud_cover_url_spec.rb
401 miliseconds 16% Trend
spec/models/feedback_message_spec.rb
400 miliseconds 23% Trend
spec/requests/api/v0/follows_spec.rb
400 miliseconds 22% Trend
spec/requests/articles/articles_admin_feature_spec.rb
396 miliseconds 12% Trend
spec/services/articles/feeds/find_featured_story_spec.rb
395 miliseconds 19% Trend
spec/decorators/mention_decorator_spec.rb
388 miliseconds 19% Trend
spec/services/search/podcast_episode_spec.rb
385 miliseconds 11% Trend
spec/requests/podcasts/podcast_episodes_index_spec.rb
383 miliseconds 22% Trend
spec/models/credit_spec.rb
375 miliseconds 18% Trend
spec/requests/profile_field_groups_request_spec.rb
373 miliseconds 23% Trend
spec/services/billboard_event_rollup_spec.rb
369 miliseconds 39% Trend
spec/services/articles/attributes_spec.rb
366 miliseconds 2% Trend
spec/lib/data_update_scripts/add_single_resource_role_to_tech_admins_spec.rb
365 miliseconds 22% Trend
spec/requests/rating_votes_spec.rb
363 miliseconds 13% Trend
spec/system/admin/admin_visits_overview_spec.rb
354 miliseconds 29% Trend
spec/services/images/generate_social_image_spec.rb
350 miliseconds 17% Trend
spec/requests/notifications/reads_spec.rb
348 miliseconds 26% Trend
spec/requests/async_info_spec.rb
346 miliseconds 23% Trend
spec/lib/data_update_scripts/cleanup_articles_with_invalid_feed_source_url_spec.rb
346 miliseconds 15% Trend
spec/helpers/authentication_helper_spec.rb
345 miliseconds 21% Trend
spec/services/articles/unpublish_spec.rb
344 miliseconds 21% Trend
spec/services/credits/buy_spec.rb
343 miliseconds 19% Trend
spec/services/edge_cache/bust_article_spec.rb
342 miliseconds 18% Trend
spec/lib/data_update_scripts/rename_moderator_to_super_moderator_spec.rb
342 miliseconds 15% Trend
spec/services/homepage/fetch_tag_flares_spec.rb
341 miliseconds 23% Trend
spec/services/comment_creator_spec.rb
338 miliseconds 18% Trend
spec/requests/admin/tools_spec.rb
336 miliseconds 24% Trend
spec/views/users/settings_spec.rb
325 miliseconds 29% Trend
spec/services/slack/messengers/comment_user_warned_spec.rb
321 miliseconds 9% Trend
spec/requests/api/v1/tags_spec.rb
320 miliseconds 17% Trend
spec/requests/user/user_notification_settings_spec.rb
319 miliseconds 29% Trend
spec/requests/email_subscriptions_spec.rb
315 miliseconds 19% Trend
spec/models/github_issue_spec.rb
314 miliseconds 3% Trend
spec/workers/reactions/bust_homepage_cache_worker_spec.rb
313 miliseconds 17% Trend
spec/services/re_captcha/check_enabled_spec.rb
312 miliseconds 16% Trend
spec/uploaders/badge_uploader_spec.rb
311 miliseconds 37% Trend
spec/workers/mentions/send_email_notification_worker_spec.rb
307 miliseconds 19% Trend
spec/requests/api/v0/tags_spec.rb
307 miliseconds 10% Trend
spec/requests/video_states_update_spec.rb
304 miliseconds 21% Trend
spec/services/articles/destroyer_spec.rb
304 miliseconds 16% Trend
spec/liquid_tags/unified_embed/registry_spec.rb
301 miliseconds 31% Trend
spec/services/html/parser_spec.rb
297 miliseconds 17% Trend
spec/services/badges/award_beloved_comment_spec.rb
295 miliseconds 27% Trend
spec/liquid_tags/katex_tag_spec.rb
295 miliseconds 23% Trend
spec/models/page_spec.rb
293 miliseconds 18% Trend
spec/requests/api/v1/feature_flags_spec.rb
290 miliseconds 24% Trend
spec/services/users/suggest_for_sidebar_spec.rb
286 miliseconds 28% Trend
spec/liquid_tags/github_tag/github_readme_tag_spec.rb
285 miliseconds 17% Trend
spec/models/settings/general_spec.rb
280 miliseconds 19% Trend
spec/lib/data_update_scripts/update_articles_cached_entities_spec.rb
279 miliseconds 27% Trend
spec/services/users/remove_role_spec.rb
278 miliseconds 21% Trend
spec/services/badges/award_thumbs_up_spec.rb
277 miliseconds 24% Trend
spec/services/admin/charts_data_spec.rb
276 miliseconds 24% Trend
spec/models/html_variant_spec.rb
275 miliseconds 32% Trend
spec/services/notifications/new_badge_achievement/send_spec.rb
274 miliseconds 31% Trend
spec/system/collections/user_views_collection_articles_spec.rb
274 miliseconds 15% Trend
spec/models/email_authorization_spec.rb
268 miliseconds 27% Trend
spec/services/content_renderer_spec.rb
266 miliseconds 11% Trend
spec/models/api_secret_spec.rb
265 miliseconds 22% Trend
spec/services/homepage/fetch_articles_spec.rb
265 miliseconds 19% Trend
spec/requests/api/v0/admin/users_spec.rb
265 miliseconds 35% Trend
spec/policies/user_policy_spec.rb
263 miliseconds 35% Trend
spec/requests/podcasts/podcast_show_spec.rb
263 miliseconds 29% Trend
spec/lib/data_update_scripts/profile_website_url_format_spec.rb
262 miliseconds 24% Trend
spec/requests/api/v0/instances_spec.rb
259 miliseconds 23% Trend
spec/requests/articles/org_redirect_spec.rb
256 miliseconds 21% Trend
spec/services/edge_cache/bust_comment_spec.rb
256 miliseconds 26% Trend
spec/system/user_views_logo_spec.rb
253 miliseconds 24% Trend
spec/requests/api/v0/feature_flags_spec.rb
251 miliseconds 32% Trend
spec/requests/api/v1/instances_spec.rb
251 miliseconds 32% Trend
spec/models/podcast_episode_appearance_spec.rb
249 miliseconds 33% Trend
spec/workers/mentions/create_all_worker_spec.rb
248 miliseconds 33% Trend
spec/services/badges/award_contributor_spec.rb
247 miliseconds 59% Trend
spec/requests/api/v1/docs/followers_spec.rb
245 miliseconds 29% Trend
spec/models/poll_vote_spec.rb
244 miliseconds 30% Trend
spec/workers/organizations/update_organization_articles_paths_worker_spec.rb
241 miliseconds 26% Trend
spec/lib/string_attribute_cleaner_spec.rb
241 miliseconds 28% Trend
spec/services/credits/ledger_spec.rb
240 miliseconds 18% Trend
spec/serializers/search/reading_list_article_serializer_spec.rb
239 miliseconds 30% Trend
spec/workers/moderator/unpublish_all_articles_worker_spec.rb
236 miliseconds 32% Trend
spec/requests/profiles_request_spec.rb
236 miliseconds 27% Trend
spec/services/notification_subscriptions/unsubscribe_spec.rb
235 miliseconds 38% Trend
spec/routing/all_routes_spec.rb
233 miliseconds 15% Trend
spec/liquid_tags/listing_tag_spec.rb
231 miliseconds 23% Trend
spec/services/notifications/remove_all_spec.rb
228 miliseconds 27% Trend

Start using Knapsack Pro

Sign up and speed up your tests.

Get started free