My organization (openfoodnetwork.org) / Open Food Network / knapsack_rspec_test_the_rest / Build ID a5e89bb0-9ad7-4c33-ab10-01d247d87991

Public     Back to CI builds

Build Details

Commit hash Branch Parallel nodes Created at Updated at
d45d26810d26fd12a09a5d477aa8ad4ec1caa769 refs/pull/9850/merge 5 2023-01-20 10:41:51 UTC 2023-01-20 10:43:15 UTC

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

Loading...

Parallel CI nodes

The first CI node finished its work at 2023-01-20 10:41:51 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 2 minutes 27.603 seconds.

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

Node index Finish time Execution time
0 Finished First 2023-01-20 10:41:51 UTC 1 minute 57.194 seconds
1 2023-01-20 10:42:41 UTC 2 minutes 28.509 seconds
2 2023-01-20 10:42:53 UTC 2 minutes 40.288 seconds
3 2023-01-20 10:43:06 UTC 2 minutes 34.155 seconds
4 Finished Last 2023-01-20 10:43:11 UTC 2 minutes 37.868 seconds

Build Distribution
(the most recent for the build)

Build distribution ID Parallel nodes Total execution time Ideal node execution time Distance
5b726513-d949-4de8-8aa6-2b670f39288d 5 12 minutes 18.013 seconds 2 minutes 27.603 seconds 0.002 seconds

Test Files recorded on parallel CI nodes

You can likely decrease your CI build time by around 43 seconds by running more parallel CI nodes.

Running 7 parallel nodes should result in an optimal build time (~1.76 minutes)


Test file path (Displaying entries 1 - 100 of 130 in total files) Execution time
spec/helpers/injection_helper_spec.rb 1 minute 4.399 seconds
spec/mailers/producer_mailer_spec.rb 1 minute 0.249 seconds
spec/services/order_syncer_spec.rb 51.447 seconds
spec/jobs/subscription_confirm_job_spec.rb 44.891 seconds
spec/mailers/subscription_mailer_spec.rb 37.967 seconds
spec/requests/api/orders_spec.rb 26.979 seconds
spec/mailers/order_mailer_spec.rb 26.476 seconds
spec/services/products_renderer_spec.rb 20.315 seconds
spec/services/permissions/order_spec.rb 19.599 seconds
spec/services/order_factory_spec.rb 17.684 seconds
spec/services/order_tax_adjustments_fetcher_spec.rb 15.934 seconds
spec/services/paypal_items_builder_spec.rb 15.868 seconds
spec/services/place_proxy_order_spec.rb 14.842 seconds
spec/jobs/subscription_placement_job_spec.rb 14.621 seconds
spec/requests/checkout/routes_spec.rb 13.97 seconds
spec/services/process_payment_intent_spec.rb 13.7 seconds
spec/views/spree/admin/orders/invoice.html.haml_spec.rb 13.657 seconds
spec/views/layouts/registration.html.haml_spec.rb 13.326 seconds
spec/views/spree/admin/orders/edit.html.haml_spec.rb 12.726 seconds
spec/requests/checkout/stripe_sca_spec.rb 12.36 seconds
spec/views/layouts/darkswarm.html.haml_spec.rb 12.247 seconds
spec/services/order_fees_handler_spec.rb 11.842 seconds
spec/services/exchange_products_renderer_spec.rb 11.814 seconds
spec/requests/home_controller_spec.rb 10.685 seconds
spec/requests/api/v1/customers_spec.rb 10.051 seconds
spec/services/invoice_renderer_spec.rb 9.785 seconds
spec/services/cart_service_spec.rb 8.052 seconds
spec/services/order_available_payment_methods_spec.rb 6.997 seconds
spec/views/spree/shared/_order_details.html.haml_spec.rb 6.688 seconds
spec/views/spree/orders/show.html.haml_spec.rb 6.153 seconds
spec/services/order_available_shipping_methods_spec.rb 6.108 seconds
spec/services/order_workflow_spec.rb 6.0 seconds
spec/helpers/admin/reports_helper_spec.rb 5.932 seconds
spec/services/order_cycle_distributed_products_spec.rb 5.784 seconds
spec/services/cap_quantity_spec.rb 5.702 seconds
spec/services/sets/product_set_spec.rb 5.497 seconds
spec/services/order_cycle_form_spec.rb 5.244 seconds
spec/services/variants_stock_levels_spec.rb 5.128 seconds
spec/helpers/checkout_helper_spec.rb 4.698 seconds
spec/services/tax_rate_finder_spec.rb 4.187 seconds
spec/jobs/order_cycle_closing_job_spec.rb 4.093 seconds
spec/services/checkout/payment_method_fetcher_spec.rb 3.944 seconds
spec/requests/checkout/concurrency_spec.rb 3.816 seconds
spec/services/bulk_invoice_service_spec.rb 3.712 seconds
spec/queries/customers_with_balance_spec.rb 3.382 seconds
spec/requests/checkout/failed_checkout_spec.rb 3.21 seconds
spec/helpers/tax_helper_spec.rb 3.092 seconds
spec/services/order_cart_reset_spec.rb 2.925 seconds
spec/services/variant_overrides_indexed_spec.rb 2.843 seconds
spec/mailers/shipment_mailer_spec.rb 2.768 seconds
spec/services/shop/order_cycles_list_spec.rb 2.746 seconds
spec/services/search_orders_spec.rb 2.658 seconds
spec/requests/api/routes_spec.rb 2.381 seconds
spec/services/exchange_variant_bulk_updater_spec.rb 2.317 seconds
spec/views/spree/orders/edit.html.haml_spec.rb 2.236 seconds
spec/jobs/order_cycle_notification_job_spec.rb 2.216 seconds
spec/services/product_tag_rules_filterer_spec.rb 2.127 seconds
spec/services/order_checkout_restart_spec.rb 1.686 seconds
spec/queries/outstanding_balance_spec.rb 1.655 seconds
spec/requests/checkout/paypal_spec.rb 1.654 seconds
spec/helpers/admin/subscriptions_helper_spec.rb 1.578 seconds
spec/services/order_payment_finder_spec.rb 1.547 seconds
spec/views/spree/admin/payment_methods/index.html.haml_spec.rb 1.512 seconds
spec/services/order_cycle_clone_spec.rb 1.503 seconds
spec/services/checkout/post_checkout_actions_spec.rb 1.471 seconds
spec/helpers/admin/orders_helper_spec.rb 1.303 seconds
spec/helpers/order_cycles_helper_spec.rb 0.998 seconds
spec/services/stripe_payment_status_spec.rb 0.972 seconds
spec/services/checkout/form_data_adapter_spec.rb 0.78 seconds
spec/services/order_data_masker_spec.rb 0.63 seconds
spec/services/terms_of_service_spec.rb 0.545 seconds
spec/queries/complete_visible_orders_spec.rb 0.537 seconds
spec/queries/complete_orders_with_balance_spec.rb 0.536 seconds
spec/services/order_cycle_warning_spec.rb 0.509 seconds
spec/services/sets/model_set_spec.rb 0.487 seconds
spec/services/checkout/stripe_redirect_spec.rb 0.458 seconds
spec/mailers/user_mailer_spec.rb 0.449 seconds
spec/services/image_importer_spec.rb 0.448 seconds
spec/services/job_processor_spec.rb 0.444 seconds
spec/queries/payments_requiring_action_spec.rb 0.441 seconds
spec/services/user_default_address_setter_spec.rb 0.434 seconds
spec/queries/batch_taggable_tags_query_spec.rb 0.425 seconds
spec/helpers/i18n_helper_spec.rb 0.412 seconds
spec/helpers/shop_helper_spec.rb 0.339 seconds
spec/routing/stripe_spec.rb 0.336 seconds
spec/mailers/enterprise_mailer_spec.rb 0.332 seconds
spec/services/user_locale_setter_spec.rb 0.327 seconds
spec/views/spree/admin/orders/index.html.haml_spec.rb 0.308 seconds
spec/jobs/report_job_spec.rb 0.24 seconds
spec/services/customer_order_cancellation_spec.rb 0.228 seconds
spec/services/variant_units/option_value_namer_spec.rb 0.219 seconds
spec/requests/omniauth_callbacks_controller_spec.rb 0.158 seconds
spec/helpers/spree/admin/orders_helper_spec.rb 0.142 seconds
spec/mailers/test_mailer_spec.rb 0.134 seconds
spec/helpers/spree/base_helper_spec.rb 0.128 seconds
spec/jobs/bulk_invoice_job_spec.rb 0.11 seconds
spec/services/unit_prices_spec.rb 0.098 seconds
spec/services/weights_and_measures_spec.rb 0.096 seconds
spec/helpers/navigation_helper_spec.rb 0.095 seconds
spec/views/spree/admin/shared/_order_links.html.haml_spec.rb 0.094 seconds

Start using Knapsack Pro

Sign up and speed up your tests.