Repository navigation
Description
File-editor retry test reads button wording from the status span. This boundary fails in scheduled run 41299273709; the current diagnostic, rather than the older brief, is the starting point:
tests/journeys/test_render_files.py::test_file_editor_saves_quietly_and_preserves_inflight_edits
E AssertionError: Locator expected to have text 'Not saved · Retry'
E Actual value: Not saved
E Call log:
E - Expect "to_have_text" locator("lf-file-editor").locator(".lf-file-editor-status") with timeout 120000ms
E - waiting for locator("lf-file-editor").locator(".lf-file-editor-status")
E 240 × locator resolved to <span data-lf-gen="1" data-lf-offer="" title="The page's server did not answer." class="lf-file-editor-status lf-ui lf-ui-face">…</span>
E - unexpected value "Not saved "
E
E Aria snapshot:
E - text: Not saved
E - button "Retry"
The retained diagnosis recorded: The status span reads Not saved while the assertion expects Not saved · Retry; Retry is a separate button. Retain newest-buffer retry coverage and account for the deliberately aborted write at teardown.
Recovery fetched main at 792abf43c9ae36b0edfefcff300dc61fed4fe5a6, checked the open PR inventory and searched issues by this test name. Closed test-name hits may describe earlier diagnostics; they do not establish a shared cause with this failure. No local reproduction has run in this recovery session. The triage worker owns current-main reproduction, causal diagnosis and repair through the repository’s normal review and landing gates. Compare intervening changes and the introducing PR’s intent before changing the interface or an assertion. A test whose setup no longer reaches its claimed boundary needs that setup repaired; do not broaden an accepted set merely to make it pass.
Full tracebacks and pictures are in the run’s pytest-results-* artifacts. Reuse an existing owner if reproduction establishes a common cause; preserve distinct mechanisms and any product decision or external-evidence blocker explicitly.
Cause of a failure tracked in #4225.
Activity
leaf-agent commentedon Nov 1, 2026
#5005 corrects the stale status assertion left by #4514’s switch to a Retry icon. The journey reproduced the exact failure on current main, then passed completely with the correction, including newest-buffer retry and the expected aborted-write diagnostics (13.92s).
The fix is pushed; review, CI verification and landing continue through the queued review and tend-land workflows.