Skip to content

CI: slow tests — ranking, triage and tracking #14460

Open

Description

@brett19

Tracking issue for CI test time. The "Native Linux tests" (NLT) job sets the length of the required ci check. When this issue was opened it took about 32 min in the merge queue (14-35 min on PRs); it took about 18 min after the first fixes and now takes about 19.7 min: the tests got faster again (nextest median 374 s), but since #14835 the job's build step recompiles every crate (row 19). A few tests set its length, and most of them were slow because of kernel or product performance bugs, not because the tests are too big.

Method. "Then" is the triage of 2026-11-10 (main at 7e902aa): JUnit artifacts from 14 NLT runs (medians), and 3 job logs for "SolidCore checks (tests)", which uploads no JUnit. "Now" is a re-rank on 2026-11-11 from the 10 latest merge-group runs plus 2 push runs (NLT, JUnit), and 10 job logs (SolidCore checks), parsed with the same scripts. Profiles come from local runs with SolidCraft's and solidcore's own profiling spans. Local times are shares and scaling, not CI times.

Classes: (a) genuinely heavy, right-sized; (b) the test is oversized for what it asserts; (c) a performance bug in product/kernel code; (d) harness or profile cost.

Job times

job then now
Native Linux tests, merge queue 32.0 min (29.7-37.3) 19.7 min (18.8-21.3; was 18.3 in the earlier now sample); nextest 1106-1323 s → 345-431 s (median 374); build 6m41-7m00 → 7m43-8m30 and the labels step ~3m45 → 4m19, because since #14835 (Rust pinned to 1.98.0) every run compiles 587 crates with 0 sccache hits (66 crates before)
SolidCore checks (tests), merge queue 10.8 min (9.8-13.6) 8.4 min (7.4-9.0; was 11.8); nextest ~260 s → 128 s, build 4m38 → 5m15 (6m39 in the earlier now sample)
merge-queue CI run (whole workflow) 28 min 20.9 min (19.6-22.1, 2 outliers at 39 and 49 min; was 23)

From ready to merged

Medians per stage. "Original": 50 PRs merged (all authors) from 2026-11-08 to 2026-11-10 12:00 UTC, before the test-time fixes landed. "Current": 110 PRs merged from 2026-11-10 20:00 UTC to 2026-11-11 ~15:00 UTC.

stage original current what happens
ready → merged 2.4 h 2.2 h
ready → approved-for-ci 10 min 10 min waiting for the maintainer bot's label; heavy jobs don't start before it
label → PR CI green 49 min 51 min the PR's CI run plus runs cancelled when the bot removes and re-adds approved-for-ci (after ready to merge, after auto-merge), and pushes after ready
PR CI run (final head) 18 min 19 min a PR run tests only the packages the change touches, so the test-time fixes barely show here
CI green → added to the merge queue 29 min 8 min the bot's approval and ready to merge
queued → merged 32 min 36 min waiting for a slot plus the merge-queue run; a PR needs another run when a batch ahead of it fails
merge-queue CI run (whole workflow) 28 min 22 min the full workspace; 20.9 min in the runs after the last test-time merge (see above)
PRs needing 2+ queue runs 26 of 49 24 of 106
cancelled PR runs per PR (mean) 0.9 0.3

The gain is mostly in the merge queue: each run is about 7 min shorter (28 → 21 min), and far fewer PRs need a second run (24 of 106 against 26 of 49). Between the bot's label and green CI there is still about 30 min more than one CI run needs: cancelled runs and pushes after "ready". Since #14835 (Rust pinned to 1.98.0) the NLT build gets 0 sccache hits and recompiles 587 crates per run, which costs about 1.5 min of the NLT job (row 19).

1. Issues found

# finding class tests affected (CI then → now) issue PR(s) status
1 The long-thread test's premise (#1250's BSP depth) was gone since #11351, so it measured a 50-turn exact boolean b kernel a_long_thread… 945 → 38 s — #14449 merged
2 find_limits tested all triangle pairs per motion sample c find_limits_sees_arms_meet… 164 → 36 s #14450 #14455 (BVH, bit-identical) merged
3 Variable-round G^n certificate enclosures were loose on wide pieces, so levels split far too often c variable_radius_on_a_box_edge 314 → 96 s, fillet_variable_and_chord 212 → 59 s, chord_and_variable_fillets 163 → 44 s, preselect variable_fillet_round_trip 140 → 73 s, SolidCore issue_2406…the_size… 150 → 31 s #14405 #14458 (arc terms), #14535 (feet Taylor models), #14740 (incremental series, bit-identical) merged; #14740 not yet in the "now" sample; follow-ups: equal-area rows, #13584 level policy
4 naming_corpus built its heaviest design twice in one worker d naming_corpus 404 → 63 s (with #3) — #14709 merged
5 Linear extrude and check grew N² in face count c measure_of_a_body_with_many_faces 284 → 30 s, join_onto_a_finely_faceted_import 268 → 47 s #14381 #14408, #14065 merged (#14445, our stack of #14065, is now redundant)
6 A railed sweep along a dense polyline mitres every vertex (180 corners, 895 booleans) b + c a_parallel_rail_along_a_curved_path… 209 → 1.6 s #14451 #14693 (test side) test side merged; product side (fit dense polylines, or balanced union) open
7 The tight bounding box re-read the whole 129 × 131 spline net for every cell c corner_g2 ×2: 175 → 96 s, 166 → 73 s; probably dense dialogs 115-130 → 56-59 s #14452 #14692 (bit-identical) merged
8 Exact mass properties integrate across every knot span per sample: cost per face grows with spans² c thread tests since #11737 (one face per flank): every_form 49 → 200 s, flat_shoulder 114 → 194 s, left_handed 37 → 88 s; corner_g2 mass properties 5-8 s per call #14452 #14808: banded integration at knot lines (locally every_form 212 → 31 s, left_handed 43 → 19 s, flat_shoulder 152 → 137 s; corner_g2's G2 patch is a separate per-cell cost) regression (2026-11-10, #11737); fixed by #14808 (merged); G2 patch per-cell cost: #14875 merged (corner_g2 about 30% faster)
9 A setback corner's G1-fill certification recomputed the same cofactors and binomials per unknown (219,140 binomials against 406) c issue1557_connected_rounds… 117 → 103 s, engine sibling 62 → 60 s (locally 118 → 22-35 s) — #14754 (bit-identical) merged after the "now" sample
10 The sheet's balanced union read its regions back and rebuilt them every round (44,434 2D booleans for 1000 holes) c perforated_sheet… 200 → 177 s; possibly batch_cuts… #13596 (related) #14758 (draft; overlaps #10356) draft
11 atomic_commands fuzz seed 2: each refused fillet bisected 11 sizes for the largest that fits (2-7 s each, 87% G^n certificate) c atomic_commands ×3: 258-265 → 110-114 s (other merges); locally 87-89 → 53-59 s with the fix — #14784 (search starts from the size the refusal names; 11+11 → 9+2 candidates, same messages) merged
11a A refusal names 2.99 mm as fitting for an r=3 chain, and that round runs 834 s before failing (status 1001): on main the certificate takes ~500 s and succeeds at 1295 stations (not the 4096 cap); the size comes from the second overflow pass. The source of the triage's 834 s c (and a wrong size named) atomic_commands seed 2 (avoided by #14784) — — #14846 (decisions pending; draft #14832)
12 Faceted thread boolean grows about N² in turns c a_multi_start_thread… 146 → 129 s, faceted_flange_thread… 95 → 99 s #14453 — held (overlaps #14382 / #13596)
13 Many-edge booleans: coincident-edge culls c perforated_sheet, thread tests #13596, #14382 — open (not ours)
14 Cold lavapipe pipeline compile in a UI test d progressive_image_controls… 221 → 334 s (now NLT's longest) #7337 #3434 (pipeline cache, idle) CI config: needs a decision
15 A render test can hang and take the whole 60-minute job harness retained_request_tests::cancelled_gpu_options… #14500 #14508 (thocsmith) open
16 issue_2406 rollover (after #3): one round, 97.6% in the certificate a SolidCore the_size… 150 → 31 s — — right-sized now; #14740 took a further ~20%
17 "Command labels" rebuilds the CLI after nextest d NLT job: about 4 min per run — — not started
18 A thread's tight bounding box halved every cell in both directions, so a screw wall with 197 u spans and one v span split into ~910 cells per direction (flat_shoulder bounds 1.6 s per box) c flat_shoulder 210 → 141 s locally (one box 1.62 → 0.08 s, same box) — #14887 merged
19 After #14835 pinned Rust to 1.98.0, NLT ran with a cold cache (0 of 611 sccache hits, 587 crates rebuilt) until the 14:25Z nightly: only main saves these caches, and main pushes skip NLT when the merge queue already passed the commit, so nothing saved a 1.98.0 cache for 10 h. Runs after the nightly hit again (19 hits, 58 compilations). Separately, the g2 fillet and some curvature/spline tests run 1.5-2.5× slower since that merge (1.98 vs 1.99 being measured) d cold NLT build ~411 → 480 s, labels 225 → 259 s (transient); g2_fillet_meets_sloped_planar_ends 16 → 35 s — — cache recovered; any toolchain/lockfile change re-opens the gap until the next nightly; test slowdown under investigation

2. Test times: then and now

Every test in the original ranking (NLT tests over 30 s, SolidCore checks tests over 30 s). "Earlier now" is the 2026-11-11 re-rank (bases 2026-11-10 20:12-23:32 UTC). "Now" is a fresh sample after #14740, #14754, #14784, #14808, #14875 and #14887 had all merged: the 14 successful merge-queue runs created 2026-11-11 11:50-14:09 UTC (NLT JUnit), and 13 "SolidCore checks (tests)" logs (2 merge-queue, 2 main push, 9 PR runs whose merge base includes every fix; SolidCore checks run only when solidcore changes). Medians; CI runs vary about ±15% with runner load. Fixes are attributed from intermediate merge-queue runs. The per-run min/max and per-test investigations are in the collapsed triage below.

Native Linux tests

test then (s) earlier now (s) now (s) change since earlier now note
solidcraft-kernel :: thread_tests::a_long_thread_cuts_without_a_deep_tree 945 38 38 -907 +0 renamed a_long_thread_cuts_to_its_groove_volume; #14449
solidcraft-cli::naming_corpus :: corpus_designs_name_alike_every_build_and_fail_where_a_reference_is_gone 404 63 62 -342 -1 #14709 scheduling + certificate PRs
solidcraft-kernel :: blend_variable::tests::variable_radius_on_a_box_edge 314 96 100 -214 +4 #14458, #14535; #14740 shows no further CI change
solidcraft-kernel :: tests::measure_of_a_body_with_many_faces 284 30 30 -254 +0 #14408, #14065
solidcraft-engine :: tests::join_onto_a_finely_faceted_import 268 47 50 -218 +3 #14408, #14065
solidcraft-engine::atomic_commands :: same_commands_same_design 265 114 72 -193 -42 #14784 (fit search), after #14740/#14754
solidcraft-engine::atomic_commands :: undo_all_then_redo_all_round_trips 263 113 70 -193 -43 #14784 (fit search), after #14740/#14754
solidcraft-engine::atomic_commands :: failed_commands_leave_the_design_unchanged 258 110 67 -191 -42 #14784 (fit search), after #14740/#14754
solidcraft-ui-egui :: render_workspace::tests::progressive_image_controls_route_to_the_registered_host 221 334 322 +101 -13 cold lavapipe compile; #7337 (CI config)
solidcraft-kernel :: modify_history_tests::fillet_variable_and_chord 212 59 60 -152 +1 certificate PRs
solidcraft-kernel :: sweep_rails_tests::a_parallel_rail_along_a_curved_path_keeps_the_section 209 2 2 -207 +0 #14693
solidcraft-cli::action_matrix :: action_matrix_sample 203 165 157 -46 -8
solidcraft-engine :: cmd::sheet::tests::perforated_sheet_takes_a_thousand_round_holes 200 177 189 -11 +13 #14758 (draft); run-to-run spread 167-224 s
solidcraft-kernel :: corner_g2::tests::a_box_with_every_edge_rounded_has_eight_g2_corners 175 96 60 -115 -35 #14692; #14808 (banded mass) 95 → 75 s, #14875 (G2 patch mass) → 61 s
solidcraft-kernel :: corner_g2::tests::a_long_setback_keeps_the_g2_patch_inside_the_box 166 73 57 -109 -16 #14692; #14808, #14875
solidcraft-engine :: cmd::joints::tests::motion_sweep::find_limits_sees_arms_meet_behind_pins_already_in_each_other 164 36 39 -125 +3 #14455
solidcraft-engine :: tests::chord_and_variable_fillets 163 44 47 -116 +4 certificate PRs
solidcraft-engine :: thread_tests::a_multi_start_thread_takes_the_volume_of_one_start 146 129 87 -59 -42 #14887 (thread tight box)
solidcraft-ui-egui :: preselect_tests::variable_fillet_round_trip 140 73 74 -66 +1
solidcraft-ui-egui :: dialogs::dense::tests::a_saved_smooth_patch_reopens_with_its_setback 130 59 41 -89 -18 #14754
solidcraft-kernel :: blend_corner::tests::issue1557_connected_rounds_keep_their_radii 117 103 47 -70 -56 #14754
solidcraft-ui-egui :: dialogs::dense::tests::no_reachable_fillet_option_state_is_refused_for_its_options 115 56 53 -62 -3
solidcraft-engine :: thread_tests::a_thread_reaches_a_flat_shoulder_at_every_angle_and_leaves_it_whole 114 194 100 -14 -94 #14808 (225 → 156 s), #14887 (→ 109 s)
solidcraft-engine :: thread_tests::faceted_flange_thread_preserves_thin_crest_boundaries 95 99 99 +4 -0
solidcraft-smlib::ssi_corpus :: solidcore_global_intersect_at_1e_6 92 80 82 -10 +3
solidcraft-kernel :: body::display_mesh_tests::a_face_crowded_with_holes_gets_a_coarser_angle_and_bounded_work 80 71 74 -6 +3
solidcraft-engine :: cmd::sheet::batch_cuts_tests::labels_in_one_sketch_and_holes_in_one_feature_match_cutting_them_one_by_one 80 91 89 +9 -2
solidcraft-engine :: cmd::features_more::tests::a_tapered_text_joins_a_block_on_its_face_or_hanging_over_its_edge 66 63 57 -9 -5
solidcraft-kernel :: tests::fillet_tabbed_plate_outer_loop_and_partial_selection_after_hole 65 62 62 -3 -1
solidcraft-engine :: cmd::features::fillet_connected_rounds_tests::issue1557_fillet_recomputes_and_survives_undo_and_reload 62 60 22 -40 -38 #14754
solidcraft-sketch :: construct_tests::fan_polygons_mirror_without_the_seed 59 53 52 -7 -0
solidcraft-sketch :: construct_tests::fan_polygons_keep_every_triangle_on_dimension_edits 58 52 51 -7 -1
solidcraft-ui-egui::icon_audit :: requested_menu_icons_have_artwork_and_match_manifest 58 50 52 -6 +2
solidcraft-engine :: thread_tests::a_modelled_thread_leaves_the_next_hole_a_cylinder_to_thread 55 76 50 -5 -26 #14887
solidcraft-ui-egui :: gpu::tests::blur_full_egui_composition 52 48 48 -4 -0
solidcraft-engine :: thread_tests::every_form_cuts_its_standard_profile 49 200 52 +3 -148 #14808 (banded mass)
solidcraft-engine :: cmd::features::patterns_tests::pattern_of_512_hole_cuts_finishes_in_reasonable_time 47 39 40 -7 +2
solidcraft-engine :: tests::hostile_params_never_panic 47 57 58 +11 +1
solidcraft-ui-egui :: file_load_ui_tests::opening_a_large_design_never_stalls_the_window 44 42 43 -1 +1
solidcraft-cli::model_cache :: thinned_models_open_as_evaluated 42 30 30 -12 +0
solidcraft-engine :: thread_tests::pipe_threads_cut_their_standard_profiles_and_tapers 40 50 42 +2 -7 #14808
solidcraft-engine :: cmd::features::corner_tests::the_default_corner_is_the_rolling_ball_and_g2_sets_it_back_for_its_patch 39 19 11 -28 -8 #14754
solidcraft-kernel :: mesh_convert::tests::many_holes_are_refused_promptly_instead_of_stalling 38 12 11 -27 -1
solidcraft-engine :: thread_tests::a_left_handed_thread_turns_the_other_way 37 88 45 +8 -43 #14808
solidcraft-kernel :: chamfer_sides_curved_tests::spline_outline_rim_by_two_distances 36 24 20 -16 -4
solidcraft-kernel :: face_source_tests::hollow_tool_booleans_keep_planar_support_certificates 35 42 43 +8 +1
solidcraft-kernel :: step_in::tests::tee_fillet_exports_byte_identical 33 14 12 -21 -2
solidcraft-cli::rebuild_topology :: a_parameter_edit_rebuilds_like_a_fresh_build_and_reverts_exactly 33 18 19 -14 +1
solidcraft-cli::model_cache :: a_later_round_after_opening_blends_the_saved_rounds_again 32 25 9 -23 -16 #14740/#14754 (between the samples)
solidcraft-engine :: thread_tests::a_chamfered_tip_tapers_the_last_teeth 32 44 35 +3 -9 #14808, #14887
solidcraft-kernel :: blend_corner::tests::three_rounds_at_a_corner 31 30 12 -19 -19 #14754
solidcraft-engine :: thread_tests::a_thread_at_a_shoulder_that_is_not_flat_still_builds 30 49 34 +4 -16 #14887
total of rows with both 6943 3800 3081 -3862 -719

SolidCore checks (tests)

test then (s) earlier now (s) now (s) change since earlier now note
solidcore::issue_2406_end_rail_rollover :: the_size_the_collapsed_offset_names_builds 150 31 20 -130 -12 #14535, #14740
solidcore-ops::kernel_cases :: variable_fillet_replay_maps_the_copy_and_keeps_the_operand 128 15 12 -116 -3
solidcore-ops::blend :: a_variable_round_with_a_corner_in_its_law_is_its_balls_union 114 19 15 -99 -4
solidcore-ops::blend :: a_record_ordered_variable_round_keeps_the_near_end_and_tie_rule 96 14 10 -86 -4
solidcore::issue_2905_revolved_vase :: closed_vase_chamfer_has_its_meridian_geometry_and_volume 65 14 9 -56 -4
solidcore::issue_2343_curved_setback :: the_named_setback_builds 61 66 52 -9 -13
solidcore::wr685_law_corners :: law_peak 56 2 2 -54 -1
solidcore::issue_2406_end_rail_rollover :: the_middle_edge_just_short_of_r_42_23_rolls_over_onto_the_top_face_before_its_end 54 12 8 -46 -4
solidcore::fork_7959c0e_round_on_a_round :: round_on_a_definition_is_its_definition 54 29 24 -30 -5
solidcore::wr698_gn_round_is_its_definition :: a_reopened_round_measurably_off_its_net_is_the_operand_on_s 46 41 30 -16 -10
solidcore :: blend::blend_setback::scale::tests::thousandth_scales_and_attempt_budget 46 54 15 -31 -39
solidcore::wr685_gn_equal_area_per_station :: equal_area_roots_and_sums_are_solved_once_each 42 22 16 -26 -6
solidcore::issue_2111_offset_patch_sheet_gaps :: kept_source_tolerances_check_clean 40 42 37 -3 -5
solidcore::issue_2406_end_rail_rollover :: the_middle_edge_r1_75_rolls_over_onto_the_top_face_before_its_end 40 9 6 -34 -3
solidcore::issue_2907c_rim_chamfer :: a_chamfered_rim_on_a_curved_face_builds 39 56 40 +1 -16
solidcore::fork_64e5632_variable_round_definitions :: the_variable_round_of_a_quadratic_law_is_its_definition 36 2 1 -35 -0
solidcore::wr685_law_corners :: a_law_that_dips_then_peaks_is_its_balls_union 36 2 1 -35 -0
total of rows with both 1103 429 300 -803 -129

SolidCore checks are about 25% faster across the board, including tests no fix touched; the cause is not attributed (the Rust pin in #14835 is the main candidate).

Newly slow (over 60 s in NLT or 30 s in SolidCore checks; not in the original ranking)

test job then (s) earlier now (s) now (s)
solidcraft-engine :: thread_tests::modelled_external_threads_m3_to_m20 NLT <30 68 67
solidcraft-engine :: cmd::file::tests::a_design_opened_a_feature_at_a_time_is_checked_under_the_sessions_mode NLT <30 76 57
solidcore::wr697_end_and_join :: a_closed_convex_rim_meeting_itself_at_an_angle_is_rounded SolidCore <30 64 50
solidcore::wr697_end_and_join :: a_closed_edge_meeting_itself_at_an_angle_is_the_closed_turn SolidCore <30 51 37
solidcore::issue_2652_ball_on_a_bspline_round :: the_twisted_disc_s_top_round_below_its_side_rounds_radius_is_clean SolidCore <30 42 33
solidcore::issue_2489_blend_faces_are_definitions :: every_bare_blend_face_is_of_a_kind_the_ledger_lists SolidCore <30 30 15

Slower since the earlier now sample

test job earlier now (s) now (s) cause
solidcraft-kernel :: blend::tests::g2_fillet_meets_sloped_planar_ends NLT 16 35 #14835 (Rust 1.99.1 → 1.98.0): 2.3× at that merge, no other change
solidcraft-engine :: cmd::edit::tests::redefining_a_fillet_as_g2_on_sloped_ends_survives_undo_and_reopen NLT 8 19 #14835, 2.5×
solidcraft-engine :: cmd::sketch_project::tests::a_free_form_edge_projects_as_one_spline_with_its_own_knots NLT 6 8 #14835, 2.2× at that merge (other G2/curvature tests 1.5-2.5×, 2-13 s each)
solidcraft-engine :: tests::pleat_join::the_pleats_join_at_every_wall_from_2_4_to_2_6_mm NLT 2 32 #14348 (pleats join the case walls again): the test now does the real join; already ~30 s in the last 5 runs of the earlier sample
solidcraft-engine::pleat_regressions :: pleat_built_at_the_far_end_joins_the_finished_case NLT 2 23 #14348, as above

The NLT job itself is 1.4 min slower than in the earlier sample although its tests are faster: the nextest step fell by about 45 s, while the build and labels steps grew by about 1.7 min (+69 s and +34 s) with the cold dependency builds since #14835.

Full triage: ranking and per-test investigations (2026-11-10, main at 7e902aa)

1. Ranking: Native Linux tests, tests with a median over 30 s (seconds)

# test median min max runs
1 solidcraft-kernel :: thread_tests::a_long_thread_cuts_without_a_deep_tree 945.1 918.8 1003.7 11
2 solidcraft-cli::naming_corpus :: corpus_designs_name_alike_every_build_and_fail_where_a_reference_is_gone 404.1 273.7 503.7 13
3 solidcraft-kernel :: blend_variable::tests::variable_radius_on_a_box_edge 314.0 299.9 386.9 11
4 solidcraft-kernel :: tests::measure_of_a_body_with_many_faces 284.2 250.3 319.1 11
5 solidcraft-engine :: tests::join_onto_a_finely_faceted_import 267.5 187.9 297.0 12
6 solidcraft-engine::atomic_commands :: same_commands_same_design 264.8 242.4 307.8 8
7 solidcraft-engine::atomic_commands :: undo_all_then_redo_all_round_trips 263.0 237.7 320.9 8
8 solidcraft-engine::atomic_commands :: failed_commands_leave_the_design_unchanged 258.4 234.6 310.6 8
9 solidcraft-ui-egui :: render_workspace::tests::progressive_image_controls_route_to_the_registered_host 221.0 171.9 252.3 14
10 solidcraft-kernel :: modify_history_tests::fillet_variable_and_chord 212.3 188.7 264.6 11
11 solidcraft-kernel :: sweep_rails_tests::a_parallel_rail_along_a_curved_path_keeps_the_section 208.7 179.6 260.8 11
12 solidcraft-cli::action_matrix :: action_matrix_sample 202.6 180.8 238.6 8
13 solidcraft-engine :: cmd::sheet::tests::perforated_sheet_takes_a_thousand_round_holes 200.3 174.2 247.0 12
14 solidcraft-kernel :: corner_g2::tests::a_box_with_every_edge_rounded_has_eight_g2_corners 175.0 151.1 212.9 11
15 solidcraft-kernel :: corner_g2::tests::a_long_setback_keeps_the_g2_patch_inside_the_box 165.9 145.0 210.0 11
16 solidcraft-engine :: cmd::joints::tests::motion_sweep::find_limits_sees_arms_meet_behind_pins_already_in_each_other 163.8 147.9 191.4 12
17 solidcraft-engine :: tests::chord_and_variable_fillets 163.4 147.1 202.3 12
18 solidcraft-engine :: thread_tests::a_multi_start_thread_takes_the_volume_of_one_start 145.9 124.4 185.3 12
19 solidcraft-ui-egui :: preselect_tests::variable_fillet_round_trip 140.1 122.5 173.3 14
20 solidcraft-ui-egui :: dialogs::dense::tests::a_saved_smooth_patch_reopens_with_its_setback 129.7 99.9 171.0 14
21 solidcraft-kernel :: blend_corner::tests::issue1557_connected_rounds_keep_their_radii 117.3 102.0 144.0 11
22 solidcraft-ui-egui :: dialogs::dense::tests::no_reachable_fillet_option_state_is_refused_for_its_options 115.0 93.6 157.4 14
23 solidcraft-engine :: thread_tests::a_thread_reaches_a_flat_shoulder_at_every_angle_and_leaves_it_whole 114.2 98.6 142.9 12
24 solidcraft-engine :: thread_tests::faceted_flange_thread_preserves_thin_crest_boundaries 94.9 81.1 113.5 12
25 solidcraft-smlib::ssi_corpus :: solidcore_global_intersect_at_1e_6 92.4 76.6 118.9 11
26 solidcraft-kernel :: body::display_mesh_tests::a_face_crowded_with_holes_gets_a_coarser_angle_and_bounded_work 80.4 63.5 92.2 11
27 solidcraft-engine :: cmd::sheet::batch_cuts_tests::labels_in_one_sketch_and_holes_in_one_feature_match_cutting_them_one_by_one 79.5 66.1 100.6 12
28 solidcraft-engine :: cmd::features_more::tests::a_tapered_text_joins_a_block_on_its_face_or_hanging_over_its_edge 65.5 56.8 78.7 12
29 solidcraft-kernel :: tests::fillet_tabbed_plate_outer_loop_and_partial_selection_after_hole 64.6 57.8 80.8 11
30 solidcraft-engine :: cmd::features::fillet_connected_rounds_tests::issue1557_fillet_recomputes_and_survives_undo_and_reload 61.9 53.3 74.6 12
31 solidcraft-sketch :: construct_tests::fan_polygons_mirror_without_the_seed 58.8 47.9 76.2 11
32 solidcraft-sketch :: construct_tests::fan_polygons_keep_every_triangle_on_dimension_edits 58.1 46.2 76.5 11
33 solidcraft-ui-egui::icon_audit :: requested_menu_icons_have_artwork_and_match_manifest 57.8 51.2 71.2 14
34 solidcraft-engine :: thread_tests::a_modelled_thread_leaves_the_next_hole_a_cylinder_to_thread 55.4 48.9 66.8 12
35 solidcraft-ui-egui :: gpu::tests::blur_full_egui_composition 52.4 46.4 58.7 14
36 solidcraft-engine :: thread_tests::every_form_cuts_its_standard_profile 49.1 43.5 61.4 12
37 solidcraft-engine :: cmd::features::patterns_tests::pattern_of_512_hole_cuts_finishes_in_reasonable_time 47.4 39.7 61.8 12
38 solidcraft-engine :: tests::hostile_params_never_panic 46.6 41.5 57.2 8
39 solidcraft-ui-egui :: file_load_ui_tests::opening_a_large_design_never_stalls_the_window 44.4 35.5 63.7 14
40 solidcraft-cli::model_cache :: thinned_models_open_as_evaluated 41.7 36.4 50.0 13
41 solidcraft-engine :: thread_tests::pipe_threads_cut_their_standard_profiles_and_tapers 39.5 34.9 51.2 12
42 solidcraft-engine :: cmd::features::corner_tests::the_default_corner_is_the_rolling_ball_and_g2_sets_it_back_for_its_patch 38.6 31.4 45.4 12
43 solidcraft-kernel :: mesh_convert::tests::many_holes_are_refused_promptly_instead_of_stalling 38.3 30.2 47.0 11
44 solidcraft-engine :: thread_tests::a_left_handed_thread_turns_the_other_way 37.2 29.9 47.2 12
45 solidcraft-kernel :: chamfer_sides_curved_tests::spline_outline_rim_by_two_distances 35.6 31.7 43.1 11
46 solidcraft-kernel :: face_source_tests::hollow_tool_booleans_keep_planar_support_certificates 34.6 31.3 47.0 11
47 solidcraft-kernel :: step_in::tests::tee_fillet_exports_byte_identical 33.1 28.3 39.0 11
48 solidcraft-cli::rebuild_topology :: a_parameter_edit_rebuilds_like_a_fresh_build_and_reverts_exactly 32.6 28.9 39.6 13
49 solidcraft-cli::model_cache :: a_later_round_after_opening_blends_the_saved_rounds_again 32.4 29.6 41.1 13
50 solidcraft-engine :: thread_tests::a_chamfered_tip_tapers_the_last_teeth 32.3 26.7 39.7 12
51 solidcraft-kernel :: blend_corner::tests::three_rounds_at_a_corner 30.8 26.9 37.7 11
52 solidcraft-engine :: thread_tests::a_thread_at_a_shoulder_that_is_not_flat_still_builds 30.1 22.8 35.3 12

The atomic_commands tests (rows 6-8) and action_matrix_sample run only on pushes and merge groups. #14362 (ancientastronauttheorist)
already reports rows 1-19 against the stale nextest priority list.

SolidCore checks (tests), over 30 s (goldens profile; 3 job logs, no JUnit)

# test median min max runs
1 solidcore::issue_2406_end_rail_rollover :: the_size_the_collapsed_offset_names_builds 149.5 146.3 177.2 3
2 solidcore-ops::kernel_cases :: variable_fillet_replay_maps_the_copy_and_keeps_the_operand 128.2 114.4 144.3 3
3 solidcore-ops::blend :: a_variable_round_with_a_corner_in_its_law_is_its_balls_union 113.9 104.4 129.1 3
4 solidcore-ops::blend :: a_record_ordered_variable_round_keeps_the_near_end_and_tie_rule 96.5 89.3 112.2 3
5 solidcore::issue_2905_revolved_vase :: closed_vase_chamfer_has_its_meridian_geometry_and_volume 65.2 63.6 71.8 3
6 solidcore::issue_2343_curved_setback :: the_named_setback_builds 60.6 54.4 63.1 3
7 solidcore::wr685_law_corners :: law_peak 56.0 54.8 62.7 3
8 solidcore::issue_2406_end_rail_rollover :: the_middle_edge_just_short_of_r_42_23_rolls_over_onto_the_top_face_before_its_end 54.5 52.3 57.0 3
9 solidcore::fork_7959c0e_round_on_a_round :: round_on_a_definition_is_its_definition 53.8 50.2 57.2 3
10 solidcore::wr698_gn_round_is_its_definition :: a_reopened_round_measurably_off_its_net_is_the_operand_on_s 46.3 45.2 48.4 3
11 solidcore :: blend::blend_setback::scale::tests::thousandth_scales_and_attempt_budget 46.1 42.3 47.0 3
12 solidcore::wr685_gn_equal_area_per_station :: equal_area_roots_and_sums_are_solved_once_each 41.8 39.5 42.5 3
13 solidcore::issue_2111_offset_patch_sheet_gaps :: kept_source_tolerances_check_clean 40.4 33.8 41.8 3
14 solidcore::issue_2406_end_rail_rollover :: the_middle_edge_r1_75_rolls_over_onto_the_top_face_before_its_end 39.8 39.4 43.8 3
15 solidcore::issue_2907c_rim_chamfer :: a_chamfered_rim_on_a_curved_face_builds 38.7 35.6 42.4 3
16 solidcore::fork_64e5632_variable_round_definitions :: the_variable_round_of_a_quadratic_law_is_its_definition 36.1 33.8 37.4 3
17 solidcore::wr685_law_corners :: a_law_that_dips_then_peaks_is_its_balls_union 35.9 34.0 37.6 3

2. Investigations, worst first

Classes: (a) genuinely heavy, right-sized; (b) oversized for what it asserts; (c) performance bug in product or kernel
code; (d) harness or profile cost. One test can carry two classes. The first is the one that matters.

2.1 kernel thread_tests::a_long_thread_cuts_without_a_deep_tree: 945 s, (b) + (c)

2.2 cli naming_corpus::corpus_designs_name_alike_…: 404 s, (c) via one design, then (b)/(d) scheduling

  • What it does. It loads all 154 corpus designs twice (examples, regressions, demo, action-matrix designs, 90 oracle recipes,
    samples) on available_parallelism() worker threads, which is 32 on CI beside nextest's own 32. It compares the names.
  • Measured. Each design built once with the ci CLI (run, one at a time; corpus_times.tsv):
    • oracle/77-fillet-variable-linear 229.8 s;
    • oracle/35-fillet-curved-curved 36.6 s;
    • examples/regressions/closed_sweep_torus_cut 10.4 s;
    • every other design under 8.5 s; 147 of 154 are under 3 s.
    • The test builds design 77 twice, serially, in one worker: that one design is the test's wall time, about 2 × 130 s on CI plus
      its place in the queue. It is the variable-round certificate again (2.3).
  • Fix.
    1. The variable-round cost (2.3).
    2. Cheap and harness-only: hand out the designs heaviest first (tests/action_matrix/costs.json exists, but its load column is
      stale: it lists oracle/41 at 131 s, which now builds in 2.5-4 s), and run the second build of the heaviest designs on another
      worker.
  • Saving. About 150 s, from the scheduling alone. About 350 s once 2.3 is fixed.
  • Overlap: 2.3's tickets.

2.3 kernel blend_variable::tests::variable_radius_on_a_box_edge: 314 s, (c)

2.4 kernel tests::measure_of_a_body_with_many_faces: 284 s, (c), and (b) for what it asserts

2.5 engine tests::join_onto_a_finely_faceted_import: 267 s, (c)

2.6 engine atomic_commands::* (3 tests, 258-265 s each, push and MG only): (a) + one heavy fuzz design, step not isolated

  • What it does. 4 fuzz seeds (fuzz::run(seed, 8)), each built by the fuzzer and then replayed command by command, plus
    undo/redo or a second replay.
  • Measured with the CLI fuzzer (ci):
    • seeds 0, 1 and 3 take 14.3, 1.0 and 1.0 s;
    • seed 2 takes 120 s at the default timeout, and 834 s CPU with --timeout 1200. Its steps: box, cut cylinder, fillet,
      cut sphere, chamfer, rectangular pattern, with 2 fillets refused.
    • The slow step is not isolated: the CLI fuzzer prints no per-step time.
    • The CLI run is slower than the in-test seed must be, since the test takes 260 s for two builds of it, so the fuzzer CLI also does
      extra work (its boolean identity checks).
  • Class. (a) for the contract tests. Seed 2's step deserves a per-step timing (run --timings on its command list) before
    calling it (c).
  • Saving. Off the PR path already. Not counted.

2.7 ui-egui render_workspace::…progressive_image_controls_route_to_the_registered_host: 221 s, (d)

  • What it does. Two 16 × 16, 4-sample GPU path renders (mapped/coat, then glass) through the real registered host. On CI that
    is lavapipe, the CPU Vulkan.
  • Where the time goes. In the comment's words: "the first mapped render compiles a separate pipeline on a cold Vulkan cache".
    The time is lavapipe's LLVM compile of the path-tracing pipelines while 32 other tests compete for the cores. Not profiled
    (there is no GPU path here).
  • Fix. A persistent Vulkan pipeline cache in CI (lavapipe honours VK_PIPELINE_CACHE/the Mesa disk cache dir; cache it as
    the job caches sccache), or a priority entry so it starts early. Not a product bug.
  • Saving. Probably most of the 221 s with a warm cache. That is untested.

2.8 kernel modify_history_tests::fillet_variable_and_chord: 212 s, (c) = 2.3

  • Measured. fillet_variable 236 s (smlib_fillet_variable 225 s, check 11 s); fillet_chord 0.02 s.
  • Fix, saving and overlap: as 2.3. The history assertions need any variable round, so a shorter law changes nothing.

2.9 kernel sweep_rails_tests::a_parallel_rail_along_a_curved_path_keeps_the_section: 209 s, (b) + (c)

  • What it does. It sweeps an r5 circle along a quarter arc given as 181 points (a polyline), with a scale rail. It checks
    the volume against Pappus within 2e-3.
  • Measured (scratch, ci):
    • sweep_path_with 128.7 s, of which 895 SmApiBoolean calls take 109 s, plus 538 smlib_sweep_stations and 358
      smlib_extrude;
    • measure 28.5 s, of which mass_properties 23.7 s on a 361-face body;
    • check 15.2 s.
  • Cause.
    • smooth_runs (crates/kernel/src/smlib_sweeps.rs:780) treats a turn over 1e-3 rad as a corner. A polyline arc turns 0.5°
      (8.7e-3 rad) at every point, so the path is 180 corners.
    • cornered_controlled (smlib_sweeps.rs:1449) sweeps each run on its own, cuts it back to its mitre planes and unions it on.
      That is about 5 booleans per point, and the unions grow with the accumulated body, so the cost is O(points²).
  • Class. (b): the test means "a curved path", and a 181-segment polyline is the costly way to say it. (c): a densely sampled
    smooth path from an import or a sketch spline converted to lines hits the same mitre-per-vertex chain in the app.
  • Fix.
    • Test: pass the arc as one arc/spline PathSeg, or fit the points first. The volume tolerance already allows the chord error.
    • Product: fit near-tangent polyline runs into one smooth run (a spline through the points), or union the run pieces in one
      multi-lump boolean. Either would change results, so each needs its own math check.
  • Saving. Most of 209 s.
  • Overlap: none found (searched "sweep polyline corner", "mitre").

2.10 cli action_matrix::action_matrix_sample: 203 s, (a)

  • More than 300 actions over the sample designs, 12 workers, priority 100. Right-sized by design. Its cost tracks the per-design
    costs; the variable-round designs are among them.

2.11 engine cmd::sheet::tests::perforated_sheet_takes_a_thousand_round_holes: 200 s, (c)

2.12 kernel corner_g2::tests::a_box_with_every_edge_rounded_has_eight_g2_corners: 175 s, (c)

  • What it does. 12 edges rounded r2 with 8 G2 setback patches, then validity twice and measure.
  • Measured (scratch, ci; 107 s):
    • fillet_g2_corners 91.3 s, of which solidcore bounds 46.0 s in ONE call (smlib_brep_bounds →
      SmBrep::CalculateTightBoundingBox, brep_bounding_box(k, b, true));
    • kernel fillet_g2_corners self time 22.9 s (app-side patch construction at opt 1);
    • blend_call 13.6 s;
    • mass_properties 23.0 s over 3 calls (7.9 s each on a 26-face body);
    • Body::validity 7.9 s;
    • measure 7.6 s.
  • Cause. A tight bounding box that takes 46 s, and mass properties that take 8 s, on 26 faces, are performance bugs in the
    exact measures of spline (G2 patch) faces. Cheap evidence: in other runs bounds takes 1.2 s on a 2-start thread and 4.6 s on the
    railed sweep. The 22.9 s of kernel self time is code built at opt 1 in CI; a (d) share is likely. Not split further.
  • Fix.
    • Profile brep_bounding_box(tight) on the patch faces (solidcore profile feature), and find the kernel caller that needs a
      tight box: ops.rs exact_bounds for the apart test would do with a loose box grown by the tolerance.
    • Then do the same for mass_properties' accuracy loop on spline faces.
  • Saving. About 100 s here and in 2.13 and ui a_saved_smooth_patch….
  • Overlap: none found for tight bounds or mass properties ("bounding box slow", "CalculateTightBoundingBox": nothing).
    Help wanted: G2 (curvature-continuous) setback corner fill, certified convex #13775 and Blend corner: a G2 setback fill beside circular rounds (from smlib#112) #13830 are the G2 corner features, not their cost.

2.13 kernel corner_g2::tests::a_long_setback_keeps_the_g2_patch_inside_the_box: 166 s, (c) = 2.12, (b) minor

  • Five setbacks (11-15), each a full fillet_g2_corners of 24 s (s=11 measured). Same costs as 2.12.
  • Three setbacks would test the same property. The local run at f46eae2 failed this test's assertion: past the box by 5.9e-4 at
    s=11. It may be a known failure at that commit; not checked.

2.14 engine cmd::joints::…motion_sweep::find_limits_sees_arms_meet_behind_pins_already_in_each_other: 164 s, (c)

  • What it does. Two parts with pins already inside each other; joint.find_limits with refine 0.001.
  • Measured (CLI ci): 199 s, all self time in joint.find_limits (no kernel spans; the bodies build in 0.3 s).
  • Cause. run (crates/engine/src/cmd/motion_sweep.rs) calls resting.depths() at every sample. For the overlapping pins pair
    that is mesh_overlap → deepest (cmd/motion.rs:357), which for each sample point and edge of mesh A loops over every
    triangle of B
    (closest, inside, crossing): O(T_a × T_b) per sample, with no BVH.
    • gaps() beside it already builds a Bvh.
    • The work budget comment (motion_sweep.rs:61) prices it at "about 20 M a sample, some 500 samples a turn".
  • Fix. Use the BVH (or a sorted-axis prune) in deepest/crossing: the same distances, O(T log T) per sample. Results are
    unchanged by construction, since it is an exact nearest-triangle query.
  • Saving. Most of 164 s, and the app's find-limits on curved parts.
  • Overlap: none found (Interference: Compute checks in the background, so the window no longer freezes (#11483) #11541 moved interference checking to the background; it did not make it faster).

2.15 engine tests::chord_and_variable_fillets: 163 s, (c) = 2.3

  • Five variable-round builds (four fillets plus a parameters.change recompute) and one chord. Fix and overlap as 2.3.
  • The local run (143 s CPU) failed an assertion with the f46eae2 binary. It may be a known failure at that commit; not checked.

2.16 engine thread_tests::a_multi_start_thread_takes_the_volume_of_one_start: 146 s, (a)

2.17 ui-egui preselect_tests::variable_fillet_round_trip (140 s) and dialogs::dense::tests::* (115-130 s): (c) = 2.3 / 2.12

  • variable_fillet_round_trip applies one variable fillet through the dialog: a variable round, 2.3.
  • no_reachable_fillet_option_state_is_refused_for_its_options executes solid.fillet once for each distinct option state,
    variable types included: 2.3.
  • a_saved_smooth_patch_reopens_with_its_setback builds a G2 smooth-patch corner twice per case: 2.12.
  • Not run locally.

2.18 kernel blend_corner::tests::issue1557_connected_rounds_keep_their_radii: 117 s, (a)/(c) unresolved

  • Measured (scratch, ci; 65 s): six constant fillets (a reference and the actual one, at three radii), each 9-13 s in
    blend_call
    , on a 25 × 25 × 10 box whose bottom is already rounded. Everything else is under 0.6 s.
  • 10 s for two edges at a rounded corner is high, but the cost inside the blend was not profiled. It is left unclassified
    between (a) and (c).

2.19 Under 100 s, by inspection only

2.20 SolidCore checks (tests), not profiled separately

  • kernel_cases::variable_fillet_replay… (128 s), blend::a_variable_round_with_a_corner… (114 s) and
    blend::a_record_ordered_variable_round… (97 s): the variable-round certificate (2.3), at opt 3.
  • issue_2406_end_rail_rollover::the_size_the_collapsed_offset_names_builds (150 s): not investigated.

2.21 Rig case fillets/cov-fillet-section-curvature-boss-root-r2 (coordinator's request): (c), inferred, not profiled

Written by Claude Code (Anthropic) on behalf of @brett19.

Activity

  1. added
    needs-triage
    on Nov 10, 2026
  2. brett19 commented on Nov 11, 2026

    @brett19
    CollaboratorAuthor

    Row 17 (Command labels step rebuilds the CLI): claimed in draft #15096.

    Written by Claude Code (Anthropic) on behalf of @brett19.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions