# cargo-nextest profiles for this workspace (nextest reads `.config/nextest.toml` # beside the workspace's Cargo.toml). # # THE SLOW SET. The tests that build the synthetic version-48 folder # (`cotton_mover::fixture`) and move it, and the dev-household seed, took # 70–190 s each on an idle runner (runs 4539, 4547) and 443–1170 s each under # load (run 4564), so verify-main's `rust` job passed an hour with half the # workspace still to run and main went days without a completed verify. # # EIGHT MORE JOINED IT (architect, 17 Oct 2026): the fast Rust jobs on main # hit their 40-minute cap, and the ruling kept the cap and split the jobs by # crate, with "anything over a few minutes moved into rust-slow". Each of # these took minutes under load on the CI runner — median of runs 8104 and # 8117: cotton-tools' a_mail_page_reads_its_own_threads (387 s), # blocking_a_sender_reads_their_own_mail (338 s) and mail_sender_kinds' # a_stack_page_costs_its_own_threads (310 s); cotton-server's two-thousand- # thread browser-source ceiling (259 s) and large first connect (183 s); # cotton-store's forty-thousand-receipt exchange (172 s) and million-receipt # name sweep (154 s); cotton-ffi's nine-row controller serve (144 s). A whole # test file is a `binary_id(crate::file)`; one test in a shared binary is # `(binary_id(crate[::file]) & test(=module::path::name))`, exact. # # fast — guards-main's `rust-N` jobs: every test EXCEPT the slow set. # slow — `rust-slow.yml`: ONLY the slow set, on every main push and nightly. # # The offered_writes_are_taken household walks took 390–530 seconds on run # 4786; the owner's five-minute rule keeps the entire household walk slow. # The four flavours' fresh-install walk (`pnpm check:fresh-install`) seeds # and reads four databases, about 180 s locally, so it is slow too. # mcp_generic_records' a_record_and_its_change_sync_to_another_copy takes # about 440 s alone on this repo's Mac (24 Oct 2026), past the fast profile's # timeout, so it is slow too. shell.deck's two-thousand-card deck builds 2,000 # todos before it pages them: past 300 s on the box beside another job # (rust-main 7228, 5 Nov 2026), so it is slow too. # mcp_records_2_memory's briefing-overflow refusal writes about fifty 260-character # entries one remember at a time to reach the 4,000-token budget: 76 s on an # idle box, past 300 s beside the verifier's rust jobs (rust-main #10223, # 14 Nov 2026), so it is slow too. # personal_object's a_copy_is_not_made_again_until_the_object_holds_every_row_of_it # signs in three times and writes RESTORE_BATCH + 5 sealed todos one create at a # time: 199-224 s on the box beside other jobs (rust-main #11949, #11871, # #11984) and past 300 s on #12007, so it is slow too. # launch_speed_tests' story_reaches_first_content_inside_the_budget seeds 100 # scenes of 40 lines through story.scene.write, each laying its 40 line rows # one write at a time (desk::adopted, 1.7-3.9 s a scene in a debug build at # load 69): about 330 s to seed before the launch it times, which stays under # its 1.5 s budget. Past 300 s on rust-main 16644 (23 Nov 2026), so it is slow # too; days seeds in seconds and stays fast. # launch_speed_tests' notes_reaches_first_content_inside_the_budget seeds 1,000 # notes one write at a time: 17 s on an idle box, 194-279 s beside the other # jobs and past 300 s on rust-main 17065 (24 Nov 2026), so it is slow too; its # 1.5 s budget is unchanged. # Three more past 300 s on rust-main 17168 (24 Nov 2026, box load ~50), none of # their code changed since rust-main 17065: cotton-client's # money_rows_served_before_their_accounts_land_with_them_in_seconds folds 2,000 # money rows under a whole genesis kit (95 s on 17065, 1,124 s alone at load 50; # its own assertion compares two pages of one run, not the wall clock), and # cotton-ffi's adopt every_way_out_of_the_bin_reaches_the_object and # personal_object signed_in_lists_open_as_decks_in_every_app_with_lists (each # passes alone at load 50), so they are slow too. # # The two filters are one expression written twice, `fast` as `not ()`, # because nextest has no named filtersets. The rust-slow test # fails when they differ or when `rust-slow.yml` skips a main push. `cargo nextest run` with no profile still runs EVERYTHING. # # Fail-fast is nextest's default and neither profile changes it. Nextest never # runs doctests; `rust-deep.yml` runs the workspace's one doctest. [profile.fast] default-filter = "not (package(cotton-mover) | binary_id(cotton-tools::offered_writes_are_taken) | binary_id(cotton-tools::fresh_install_flavours) | (binary_id(cotton-tools::mcp_generic_records) & test(=a_record_and_its_change_sync_to_another_copy)) | binary_id(cotton-tools::a_mail_page_reads_its_own_threads) | binary_id(cotton-tools::blocking_a_sender_reads_their_own_mail) | (binary_id(cotton-tools::mail_sender_kinds) & test(=a_stack_page_costs_its_own_threads)) | (binary_id(cotton-store) & test(=exchange::tests::forty_thousand_fresh_receipts_reach_a_replica_through_bounded_answers)) | (binary_id(cotton-store) & test(=media_keys::name_sweep::tests::million_receipts_rebuild_in_indexed_writer_pages)) | (binary_id(cotton-ffi) & test(=methods::shell_deck::tests::two_thousand_cards_page_without_a_stall)) | (binary_id(cotton-tools::mcp_records_2_memory) & test(=an_entry_that_would_overflow_the_briefing_is_refused_with_the_numbers)) | (binary_id(cotton-ffi) & test(=phone::personal_object::tests::a_copy_is_not_made_again_until_the_object_holds_every_row_of_it)) | (binary_id(cotton-ffi) & test(=phone::launch_speed_tests::story_reaches_first_content_inside_the_budget)) | (binary_id(cotton-ffi) & test(=phone::launch_speed_tests::notes_reaches_first_content_inside_the_budget)) | (binary_id(cotton-client) & test(=transport::object::tests::money_rows_served_before_their_accounts_land_with_them_in_seconds)) | (binary_id(cotton-ffi) & test(=phone::adopt::tests::every_way_out_of_the_bin_reaches_the_object)) | (binary_id(cotton-ffi) & test(=phone::personal_object::tests::signed_in_lists_open_as_decks_in_every_app_with_lists)))" # Main jobs have fifteen minutes; a test past five belongs in the slow set. # Report each minute and stop at five so an overrun names the test. slow-timeout = { period = "60s", terminate-after = 5 } [profile.slow] default-filter = "package(cotton-mover) | binary_id(cotton-tools::offered_writes_are_taken) | binary_id(cotton-tools::fresh_install_flavours) | (binary_id(cotton-tools::mcp_generic_records) & test(=a_record_and_its_change_sync_to_another_copy)) | binary_id(cotton-tools::a_mail_page_reads_its_own_threads) | binary_id(cotton-tools::blocking_a_sender_reads_their_own_mail) | (binary_id(cotton-tools::mail_sender_kinds) & test(=a_stack_page_costs_its_own_threads)) | (binary_id(cotton-store) & test(=exchange::tests::forty_thousand_fresh_receipts_reach_a_replica_through_bounded_answers)) | (binary_id(cotton-store) & test(=media_keys::name_sweep::tests::million_receipts_rebuild_in_indexed_writer_pages)) | (binary_id(cotton-ffi) & test(=methods::shell_deck::tests::two_thousand_cards_page_without_a_stall)) | (binary_id(cotton-tools::mcp_records_2_memory) & test(=an_entry_that_would_overflow_the_briefing_is_refused_with_the_numbers)) | (binary_id(cotton-ffi) & test(=phone::personal_object::tests::a_copy_is_not_made_again_until_the_object_holds_every_row_of_it)) | (binary_id(cotton-ffi) & test(=phone::launch_speed_tests::story_reaches_first_content_inside_the_budget)) | (binary_id(cotton-ffi) & test(=phone::launch_speed_tests::notes_reaches_first_content_inside_the_budget)) | (binary_id(cotton-client) & test(=transport::object::tests::money_rows_served_before_their_accounts_land_with_them_in_seconds)) | (binary_id(cotton-ffi) & test(=phone::adopt::tests::every_way_out_of_the_bin_reaches_the_object)) | (binary_id(cotton-ffi) & test(=phone::personal_object::tests::signed_in_lists_open_as_decks_in_every_app_with_lists))" # Under load one move case took 1170 s; report at 5 minutes, kill at 40. slow-timeout = { period = "300s", terminate-after = 8 }