You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unloaded diff file exposes Comment but lacks its expected file datum #4903
The first .lf-diff-file has no data-lf-datum; the assertion expects ["app.py","file"]. The snapshot still offers Comment on app.py. Reconcile current file-anchor ownership and its callers instead of restoring a stale private attribute without checking the public behavior.
tests/browser/test_render_anchors.py::test_a_manifest_diff_can_comment_on_one_unloaded_file
E AssertionError: Locator expected to have attribute '["app.py","file"]'
E Actual value: None
E Call log:
E - Expect "to_have_attribute" locator("lf-diff .lf-diff-file").first with timeout 120000ms
E - waiting for locator("lf-diff .lf-diff-file").first
E 240 × locator resolved to <div data-lf-gen="1" class="lf-diff-file lf-diff-run-start lf-diff-run-end">…</div>
E - unexpected value "null"
E
E Aria snapshot:
E - button "Comment on app.py"
E - group: app.py +1 −1
Recover the corresponding brief from the earlier diagnosis. The recovery session fetched main at 792abf43c9ae36b0edfefcff300dc61fed4fe5a6, checked the open repair PR inventory, and searched issues by this test name. No local reproduction has run here; this issue delegates current-main reproduction, causal diagnosis, repair, review and landing to its triage worker. Read intervening changes and prior repair discussions before choosing a fix; passing once does not resolve an intermittent failure. Preserve any unresolved product decision or external verification requirement explicitly.
Full tracebacks and screenshots are in this run’s pytest-results-* artifacts.
The call-tree consumer also reproduces on main 792abf43c9ae36b0edfefcff300dc61fed4fe5a6: a focused pytest selection including tests/browser/test_render_projection.py::test_call_diff_projects_stable_commentable_rows reaches the existing file row and fails because data-lf-datum is absent instead of ["gateway/limits.py","file"]. This same diagnostic appears in push run 41293254971.
That row comes from the same lf-diff.markFiles / fileDatum path as the unloaded-file case. Retaining this consumer here avoids a second repair owner; verification needs to cover both file comments and call-tree projection.
#4963 corrects three stale test locators. #4759 moved file identity to the header so authored notes retain prose anchors; the outer container is intentionally unmarked. The original unloaded-file assertion reproduced locally, and the corrected unloaded-file, call-tree, data-bound selection and authored-note checks all pass (4 tests, 24.23s).
Pushed as 45bf0dfff. Review and CI verification remain with the queued PR review and landing workflows; this session does not wait for CI because await_ci: false.
Activity
leaf-agent commentedon Nov 1, 2026
The call-tree consumer also reproduces on main
792abf43c9ae36b0edfefcff300dc61fed4fe5a6: a focused pytest selection includingtests/browser/test_render_projection.py::test_call_diff_projects_stable_commentable_rowsreaches the existing file row and fails becausedata-lf-datumis absent instead of["gateway/limits.py","file"]. This same diagnostic appears in push run 41293254971.That row comes from the same
lf-diff.markFiles/fileDatumpath as the unloaded-file case. Retaining this consumer here avoids a second repair owner; verification needs to cover both file comments and call-tree projection.leaf-agent commentedon Nov 1, 2026
#4963 corrects three stale test locators. #4759 moved file identity to the header so authored notes retain prose anchors; the outer container is intentionally unmarked. The original unloaded-file assertion reproduced locally, and the corrected unloaded-file, call-tree, data-bound selection and authored-note checks all pass (4 tests, 24.23s).
Pushed as
45bf0dfff. Review and CI verification remain with the queued PR review and landing workflows; this session does not wait for CI becauseawait_ci: false.