Repository navigation
Move 142 tests over their tier's time budget in two daily runs to daily journeys - #6038
Merged
Merged
Conversation
…ly journeys The November 13 (43412323289) and November 14 (43587194195) daily runs both measured these functions over their directory's budget (8 s in tests/browser/, 3 s in tests/model/ and tests/process/). Each moves unchanged to the same path under tests/journeys/, importing its helpers from the module it left, so the browser ones now run daily instead of on each push to main, and the model and process ones leave a pull request's broad selection. browser/drafts/test_send_corner.py lost every test, so the whole module moved. The journeys subdirectories gain empty __init__.py files so modules sharing a basename across them import under distinct names.
This was referenced Nov 15, 2026
test: update four tests to thread holders, labelledby names, full-measure cards and acked undo
#6046
Merged
leaf-agent
added a commit
that referenced
this pull request
Nov 15, 2026
…sure cards and acked undo (#6046) Four tests in [scheduled run 43706054091](https://github.com/max-sixty/leaf/actions/runs/43706054091) still expect what the page did before a merged change. Each change moved the interface on purpose, and this PR updates the tests to the new behavior. No product code changes. - **`test_an_agent_reply_can_move_a_thread_to_its_revised_visual`, `test_an_agent_reply_can_remove_a_subject_and_detach_its_open_thread`** (both platforms): #5961 added `holder` to each thread record in `page state` and updated the model tests, but not these journeys. They now expect `"holder": {"kind": "main"}`. - **`test_complete_views_restore_native_values_in_wrapped_layouts[1200|390]`** (both platforms): #6040 names a playground control with `aria-labelledby` (the textbox is still named "Title"). The test looked for `input[aria-label="Title"]`, which no longer matches, so it now uses `get_by_role("textbox", name="Title")` like the rest of the test. #6038 moved this test into the journeys tier, so #6040's own CI didn't run it. - **`test_strokes_join_one_drawing_until_it_is_sent_and_escape_leaves`** (both platforms): `git bisect` names #5846 as the first bad commit. That change opens the comment box and the sent thread's card at the full measure. In the test's window, the box (x 382–946) and then the card (x 368–960) cover `#fig`, where the test's strokes began. The press landed on the box's text field, so no second stroke was drawn. The two strokes over the figure now start at its left edge (x ≈ 262–348). They still begin over another element, which is what the test checks. - **`test_resolving_a_thread_from_threads_moves_on_to_the_next`** (macOS only): it pressed `z` as soon as the Resolve was acked, before the page held the server's reading. That's #5941's mechanism, which #5943 fixed in the sibling tests. It now uses `undo(page)`, which waits until the dispatcher would take `z`. **Verification.** On main (`9f3c6590b`), the five Linux-reproducible cases fail before this change and pass after it. The edited modules pass in full, along with `tests/model/test_suite_source.py`: 1,225 passed. The resolve test passes on Linux both before and after. Its macOS evidence is the next scheduled `test-macos` run. This leaves the run's other new failures to their own owners. Those are listed on #4225. Refs #4225 — automated triage Co-authored-by: leaf-agent <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Nov 16, 2026
Nine conflicts. In `addressable-names.js`, main's new function tail goes above the branch's reading of `label`. In `options.css`, main's `--lf-` tokens stand under the branch's `[required]` and `[selected]` selectors. Seven test files conflicted because main moved the tests the branch had edited to `tests/journeys/` (#6038); the moved copies take the branch's edits, and `test_a_widget_module_under_another_name_is_refused` stays in `tests/model/`. Main's new lines move to the branch's names: `choose` and `chosen` in the test, eval and stills sources main added or moved become `required` and `selected`. `afterScript` returns to the portable API, since main's `lf-tabs` now imports it, and leaves `check-api.js`, which had kept it for tests while nothing else read it.
This was referenced Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move 142 test functions that ran over their tier's time budget in both of the last two daily runs, November 13 (43412323289) and November 14 (43587194195), into the daily
tests/journeys/tier. 121 come fromtests/browser/(8 s budget) and 21 fromtests/model/andtests/process/(3 s budget). Each moved function's source, decorators included, is the same at both runs' commits and at this branch's base, and each has a passing over-budget case in both runs. What changes is when they run: the moved browser tests run daily instead of on each push to main, and the moved model and process tests leave a pull request's broad selection for the daily run.No test body changes. Each function moves to the same relative path under
tests/journeys/, imports its helpers from the module it left (tests/AGENTS.md: the module holding most of a subject's tests keeps the helpers), and takes that module'spytestmark.browser/drafts/test_send_corner.pylost every test, so the whole module moved with its helpers, and the one docstring that pointed at it names its new path. The journeys subdirectories gain empty__init__.pyfiles, as theirtests/browser/counterparts have, because two new modules would otherwise share a basename with another (drafts/test_reading_place.pyandnavigation/test_reading_place.py,startup/test_activity.pyandprojection/test_activity.py), which pytest refuses to import.Verification: all-tier collection gives the same test ids as
mainapart from the tier directory (onlytest_suite_source.py's per-module cases differ, since they follow the files);--setup-planresolves every moved case's fixtures;tests/model/test_suite_source.py(1,191 passed),ty check --error-on-warning testsand Ruff pass; the 21 moved model and process tests and one moved test from each of 10 new or extended journeys modules pass (32 cases).Journey promotions to
tests/browser/are not proposed: a maintainer asked for them to come out of #5081, sincetests/AGENTS.mdmoves a test to an earlier tier only by making it cheaper, and #5197 removes that step from the weekly task.Candidates left in place
Over budget in both runs but not moved, because the function changed between the measured commits and this base:
tests/browser/navigation/test_comment_marks.py::test_any_focus_on_a_note_rings_its_block_and_follows_it_redrawntests/browser/startup/test_hosting.py::test_a_sample_reached_while_loading_holds_growth_the_reader_did_not_causetests/browser/startup/test_projected_data.py::test_a_comment_on_an_identified_datum_follows_the_subject_across_replacementstests/browser/test_render_anchors.py::test_page_search_reads_a_docs_captions_title_apart_from_its_texttests/browser/test_render_application_boundary.py::test_packages_and_panel_share_threads_through_gestures_and_authored_contenttests/browser/test_render_diff_controls.py::test_file_tree_opens_current_diff_files_by_pointer_and_keyboardtests/browser/test_render_floating_panel.py::test_a_thread_s_keys_answer_in_its_viewtests/browser/widgets/test_workspaces_and_bounds.py::test_a_page_up_in_a_log_a_stream_feeds_leaves_its_endtests/model/test_server_lifetime.py::test_server_stop_closes_accepted_keep_alive_connectionsTwo more no longer exist on
main:process/test_interact_claude_code_module.py::test_a_fork_that_rewrote_the_cache_sends_later_forks_at_the_sessions_effortandprocess/test_interact_server.py::test_historical_deferred_reads_keep_the_document_revision_and_layer.The two daily readings behind each move (seconds per case, from
leaf-dev suite profile)Times are the function's over-budget passing cases in each run, as a range where several parameter cases were over. A function moves as one unit.
tests/journeys/controls/test_command_routes.py::test_native_disclosure_inherits_the_offered_control_targettests/journeys/controls/test_command_routes.py::test_offered_native_targets_keep_their_navigation_meaningtests/journeys/controls/test_focus.py::test_a_key_onto_a_control_at_a_scrollers_edge_shows_its_ringtests/journeys/controls/test_focus.py::test_a_scroll_box_inside_a_widgets_shadow_tree_takes_the_keyboardtests/journeys/controls/test_live_samples.py::test_reading_keys_page_on_from_a_sample_to_its_pagetests/journeys/controls/test_live_samples.py::test_tab_walks_into_and_out_of_a_full_view_sampletests/journeys/controls/test_live_samples.py::test_the_gutter_shows_while_keys_go_to_the_sampletests/journeys/controls/test_merge_film.py::test_merge_film_phone_holds_readable_outcomes_and_preserves_them_on_reflowtests/journeys/controls/test_press_away.py::test_a_press_survives_a_frame_return_but_ends_when_its_document_loses_inputtests/journeys/controls/test_previews.py::test_a_focus_preview_on_a_link_elsewhere_keeps_its_new_tab_descriptiontests/journeys/controls/test_previews.py::test_a_link_into_the_page_previews_where_it_pointstests/journeys/controls/test_previews.py::test_a_link_s_preview_shows_only_what_the_page_drawstests/journeys/controls/test_previews.py::test_a_preview_says_nothing_its_target_shows_wholetests/journeys/controls/test_previews.py::test_a_thread_s_words_in_a_widget_preview_it_unless_the_widget_draws_themtests/journeys/controls/test_previews.py::test_a_thread_s_words_where_something_else_takes_the_pointer_preview_thattests/journeys/controls/test_previews.py::test_a_walk_s_landing_previews_nothing_and_tab_reads_ittests/journeys/controls/test_rings.py::test_controls_show_keyboard_focus_without_ringing_pointer_activationtests/journeys/controls/test_status_and_news.py::test_a_closed_leaf_clears_itself_off_all_pagestests/journeys/controls/test_status_and_news.py::test_a_panel_row_follows_its_pages_status_livetests/journeys/drafts/test_reading_place.py::test_a_page_that_never_settles_lets_the_held_place_go_after_a_whiletests/journeys/drafts/test_revisions.py::test_a_re_vendor_waits_for_the_reply_being_writtentests/journeys/drafts/test_send_corner.py::test_send_follows_the_corner_when_an_edit_adds_or_removes_a_linetests/journeys/drafts/test_send_corner.py::test_send_leaves_the_corner_to_the_words_and_takes_a_press_after_a_resttests/journeys/interact_contract/test_authored_markup.py::test_check_takes_a_stated_height_in_whole_css_pixelstests/journeys/interact_contract/test_vocabulary.py::test_candidate_vocabulary_can_change_after_frozen_thread_actionstests/journeys/margin/test_card_placement.py::test_a_card_above_its_target_holds_news_it_would_grow_up_fortests/journeys/margin/test_card_placement.py::test_the_shipped_long_thread_keeps_the_margin_and_its_heighttests/journeys/margin/test_pins.py::test_o_hides_what_is_drawn_over_the_page_and_the_panel_says_sotests/journeys/navigation/test_command_reference.py::test_the_reference_runs_available_commands_and_explains_the_resttests/journeys/navigation/test_comment_marks.py::test_notes_of_one_passage_across_two_blocks_each_follow_their_block_redrawntests/journeys/navigation/test_go_to.py::test_global_destinations_switch_from_a_covering_workspacetests/journeys/projection/test_activity.py::test_activity_holds_arrivals_until_the_reader_reveals_themtests/journeys/projection/test_visual_review.py::test_visual_review_cases_are_independent_on_me_obligationstests/journeys/projection/test_widget_actions.py::test_a_settled_holder_in_a_reply_joins_the_panel_wearing_its_marktests/journeys/projection/test_widget_actions.py::test_a_slot_naming_two_holders_retires_under_neither_until_decidedtests/journeys/projection/test_widget_actions.py::test_withdrawing_a_custom_settlement_clears_the_layers_marktests/journeys/startup/test_activity.py::test_a_thread_says_what_the_agent_is_doing_about_ittests/journeys/startup/test_activity.py::test_an_exact_workflow_reports_stale_work_beside_a_live_page_claimtests/journeys/startup/test_activity.py::test_the_leaf_and_all_pages_say_the_served_activitytests/journeys/startup/test_hosting.py::test_a_live_page_admits_only_leaf_parents_under_its_keytests/journeys/startup/test_hosting.py::test_a_sample_counts_each_document_its_frame_loadstests/journeys/startup/test_hosting.py::test_a_sample_queued_behind_a_rollout_leaves_the_page_livetests/journeys/startup/test_hosting.py::test_a_sample_removed_during_a_rollout_stops_askingtests/journeys/startup/test_hosting.py::test_a_sample_waits_out_a_release_still_rolling_outtests/journeys/test_chrome_contracts.py::test_a_band_names_the_group_passing_under_ittests/journeys/test_chrome_contracts.py::test_shift_enter_and_tab_keep_a_draft_in_the_containers_the_message_will_holdtests/journeys/test_claims.py::test_page_list_names_each_page_and_the_session_holding_ittests/journeys/test_codex_adapter.py::test_codex_serializes_later_input_behind_the_offered_deliverytests/journeys/test_hooks.py::test_a_checkout_that_takes_over_a_held_page_starts_its_sessions_delivery_againtests/journeys/test_interact_layer.py::test_a_revision_reads_its_package_copy_after_the_selection_moves_ontests/journeys/test_interact_layer.py::test_package_check_and_page_init_refuse_an_upgraded_widget_without_its_moduletests/journeys/test_interact_layer.py::test_package_init_widget_merges_an_existing_packagetests/journeys/test_interact_layer.py::test_package_install_makes_a_source_selectable_by_nametests/journeys/test_interact_layer.py::test_package_instructions_do_not_change_a_revisions_browser_addresstests/journeys/test_interact_product.py::test_a_reply_drawn_before_posting_runs_no_script_its_thread_would_nottests/journeys/test_interact_product.py::test_the_wire_ships_a_message_as_loggedtests/journeys/test_interact_server.py::test_a_frozen_preview_keeps_package_bytes_and_addresses_after_reinittests/journeys/test_interact_server.py::test_a_page_admits_frames_only_from_live_leaf_servers_under_its_keytests/journeys/test_interact_server.py::test_a_page_runs_the_runtime_of_the_leaf_serving_ittests/journeys/test_interact_server.py::test_a_reader_retires_rows_no_server_lease_holdstests/journeys/test_interact_server.py::test_a_row_read_cannot_block_server_stoptests/journeys/test_page_inspection.py::test_diagnostics_arrival_inside_sample_stays_in_child_documenttests/journeys/test_page_inspection.py::test_sample_diagnostics_copy_failure_keeps_a_visible_manual_copy_routetests/journeys/test_public_api.py::test_render_check_keeps_departed_samples_invalid_outputstests/journeys/test_render_anchors.py::test_a_change_opens_what_it_replaced_in_a_card_over_ittests/journeys/test_render_anchors.py::test_a_revised_example_travels_between_its_own_versionstests/journeys/test_render_application_boundary.py::test_thread_presentation_waits_for_its_frozen_widgets_onlytests/journeys/test_render_code_reading.py::test_code_wrapping_keeps_source_copy_and_reader_choicetests/journeys/test_render_controls.py::test_a_leaf_served_at_a_new_address_keeps_its_row_and_focustests/journeys/test_render_controls.py::test_a_live_revision_mounts_and_resets_its_new_sampletests/journeys/test_render_controls.py::test_a_window_sample_is_a_whole_leaf_window_that_scrolls_insidetests/journeys/test_render_controls.py::test_all_pages_opens_a_neighbour_in_a_tab_of_its_owntests/journeys/test_render_controls.py::test_live_samples_keep_real_gestures_and_drafts_inside_the_childtests/journeys/test_render_controls.py::test_live_samples_release_pending_allocations_and_can_reconnecttests/journeys/test_render_controls.py::test_live_samples_retire_before_navigation_and_coalesce_resettests/journeys/test_render_controls.py::test_sample_fixture_history_presents_before_ready_and_returns_on_resettests/journeys/test_render_controls.py::test_sample_host_view_changes_leave_its_scroll_and_keyboard_positiontests/journeys/test_render_controls.py::test_sample_reset_keeps_the_keyboard_position_while_loadingtests/journeys/test_render_controls.py::test_slow_sample_state_does_not_hold_up_other_child_loadstests/journeys/test_render_diff_controls.py::test_file_tree_lands_at_the_file_start_after_reading_downtests/journeys/test_render_diff_controls.py::test_worktree_disclosures_keep_diff_reading_state_and_unknown_totalstests/journeys/test_render_drafts.py::test_an_empty_draft_survives_reload_and_a_live_revisiontests/journeys/test_render_drafts.py::test_resume_writing_keeps_editor_identity_caret_and_sent_conversationtests/journeys/test_render_drawing.py::test_a_drawing_is_pictured_in_the_window_it_was_drawn_intests/journeys/test_render_floating_panel.py::test_a_finger_reads_a_neighbouring_page_s_whole_accounttests/journeys/test_render_floating_panel.py::test_a_folded_status_keeps_its_reading_until_the_next_exposuretests/journeys/test_render_floating_panel.py::test_a_long_reply_takes_its_room_from_the_thread_s_toptests/journeys/test_render_floating_panel.py::test_a_sample_shows_its_threads_in_its_paneltests/journeys/test_render_floating_panel.py::test_a_view_s_close_ends_its_controls_and_the_field_the_rowtests/journeys/test_render_floating_panel.py::test_all_pages_in_the_menu_counts_the_pages_it_liststests/journeys/test_render_floating_panel.py::test_all_pages_is_a_view_of_the_paneltests/journeys/test_render_floating_panel.py::test_an_answer_the_user_waits_for_grows_the_view_up_to_its_captests/journeys/test_render_floating_panel.py::test_an_older_version_says_so_in_the_row_and_one_press_opens_the_latesttests/journeys/test_render_floating_panel.py::test_lines_removed_below_the_field_s_cap_leave_the_rest_in_placetests/journeys/test_render_floating_panel.py::test_the_row_s_marks_and_presses_share_the_words_linetests/journeys/test_render_floating_panel.py::test_versions_opens_at_the_version_the_page_showstests/journeys/test_render_gate.py::test_a_frame_of_another_live_leaf_page_is_checked_on_its_owntests/journeys/test_render_gate.py::test_a_user_arrives_at_what_they_left_rather_than_watching_it_arrivetests/journeys/test_render_gate.py::test_the_render_gate_holds_project_widgets_to_their_declarationstests/journeys/test_render_gate.py::test_the_render_gate_refuses_visual_inventories_it_cannot_trusttests/journeys/test_render_navigation.py::test_a_thread_walk_card_leaves_and_returns_with_its_anchortests/journeys/test_render_navigation.py::test_an_addressed_link_leaves_the_user_at_its_destinationtests/journeys/test_render_navigation.py::test_an_external_link_says_and_opens_where_it_goestests/journeys/test_render_navigation.py::test_the_pr_walkthrough_exercises_an_inline_diff_threadtests/journeys/test_render_pages.py::test_an_obligation_and_a_callout_keep_the_column_and_widen_to_what_they_holdtests/journeys/test_render_playwright_trace.py::test_trace_comparison_prepaint_shows_only_its_opening_recordingtests/journeys/test_render_playwright_trace.py::test_trace_overview_shows_every_row_and_preserves_page_scrollingtests/journeys/test_render_projection.py::test_a_live_revision_preserves_a_reply_after_native_tabtests/journeys/test_render_projection.py::test_activity_held_targets_follow_the_current_documenttests/journeys/test_render_projection.py::test_an_old_document_state_request_cannot_update_the_new_revisiontests/journeys/test_render_read_state.py::test_a_page_seat_the_open_panel_stands_over_is_not_readtests/journeys/test_render_read_state.py::test_a_reply_in_a_diff_thread_draws_where_the_user_is_and_waits_elsewheretests/journeys/test_render_sample_delivery.py::test_sample_native_departure_keeps_destination_and_resettests/journeys/test_render_shift_watch.py::test_message_age_may_shift_metadata_but_leaves_the_thread_in_placetests/journeys/test_render_threads.py::test_a_settlement_in_a_reply_leaves_its_own_anchor_on_the_pagetests/journeys/test_render_visual_review_journey.py::test_visual_review_keeps_its_inline_comment_editor_in_view_after_phone_resizetests/journeys/test_render_widgets.py::test_a_playground_dresses_each_sample_child_and_never_its_own_pagetests/journeys/test_render_widgets.py::test_a_pointer_press_on_a_playground_control_leaves_the_user_in_the_previewtests/journeys/test_render_work.py::test_work_status_is_a_generated_browser_passagetests/journeys/test_server_lifetime.py::test_a_background_jobs_server_lives_as_long_as_the_jobtests/journeys/test_server_lifetime.py::test_a_server_exits_when_its_session_is_hard_killedtests/journeys/test_themes.py::test_an_explicit_theme_must_name_a_personal_choice_before_creating_a_pagetests/journeys/test_themes.py::test_missing_theme_refuses_revendoring_and_keeps_the_selectiontests/journeys/test_widget_quality.py::test_package_render_check_compares_held_and_presented_boxestests/journeys/threads/test_agent_replies.py::test_a_reply_sent_after_progress_stands_below_ittests/journeys/threads/test_layout.py::test_words_scrolled_past_a_card_head_show_nowhere_above_ittests/journeys/threads/test_media.py::test_touch_capture_attaches_on_lift_and_a_tap_or_cancel_attaches_nothingtests/journeys/threads/test_rewrites.py::test_a_rewrite_saves_the_pictures_it_keepstests/journeys/threads/test_rewrites.py::test_an_emptied_rewrite_keeps_nothing_and_saved_deletes_its_messagetests/journeys/widgets/test_charts.py::test_a_chart_picks_the_point_plot_s_own_pointer_pickstests/journeys/widgets/test_charts.py::test_merge_film_inspection_has_touch_and_keyboard_routestests/journeys/widgets/test_code_and_documents.py::test_a_closed_tab_s_document_reports_its_draw_while_later_ones_waittests/journeys/widgets/test_code_and_documents.py::test_a_long_text_document_draws_the_lines_in_view_and_keeps_the_rest_wholetests/journeys/widgets/test_motion.py::test_motion_recordings_share_native_playback_and_a_sticky_transporttests/journeys/widgets/test_playgrounds.py::test_a_playground_records_an_edit_made_while_loading_or_as_the_page_leavestests/journeys/widgets/test_playgrounds.py::test_a_short_workspace_shows_more_below_its_playground_regionstests/journeys/widgets/test_playgrounds.py::test_playground_keeps_contributor_drafts_until_reset_or_a_new_choicetests/journeys/widgets/test_tabs.py::test_a_strip_marks_its_open_tab_by_the_way_it_runstests/journeys/widgets/test_tabs.py::test_parts_switch_without_moving_the_list_and_follow_historytests/journeys/widgets/test_tabs.py::test_root_tabs_switch_views_without_moving_the_strip_and_follow_historytests/journeys/widgets/test_tabs.py::test_wide_evidence_in_a_part_takes_the_room_it_would_on_a_page_of_its_owntests/journeys/widgets/test_workspaces_and_bounds.py::test_the_page_end_clears_the_bottom_chrome_around_a_workspace