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
Manifest diff metadata tests read a null shadow root #4093
Both tests/browser/test_render_anchors.py::test_a_diff_shows_native_file_metadata_without_empty_disclosures[False-True] and [True-True] fail in their initial result evaluation: Cannot read properties of null (reading querySelectorAll). The evaluation sets const shadow = host.shadowRoot, tolerates its absence for the first metadata query, then dereferences it for subsequent queries. Both failing variants use a manifest; the inline variants do not appear in the failure summary.
Establish whether the manifest widget has not completed its initial draw when open_page returns, or whether its DOM contract changed. Preserve coverage of native metadata, source paths, commentable evidence and absence of empty disclosures. The diagnostic alone does not establish a shared cause with the document widget failure.
Observed in CI run 40217569506 on commit 2148fd1d1ff763cf2cd78e1b61253828193624b6. This report session read the deciding CI diagnostic; it did not reproduce locally. Start with the focused test on current main and inspect earlier CI results before choosing a repair.
The same focused case(s) passed in the preceding push run 40214840234, on 3fa4fd3a21701031b91a85841bec5bdba0314eb1. Run 40217569506 is the first failure established here; a prior pass does not clear an intermittent defect.
Fixed by #4103, which merged after CI passed on its tested head. The manifest diff was still preparing its first drawing when page readiness returned: an initial update skipped while data was unread left Lit's hasUpdated false, and the retry had no presentation claim. The shared fix claims that drawing at the update gate.
Both manifest variants reproduced the null shadow root before the fix. All four original metadata cases pass on #4103's head, preserving native metadata, source paths, commentable evidence and the absence of empty disclosures. The alternative #4102 was withdrawn in favor of that shared repair.
Activity
cifailing onmain(push) #3985leaf-agent commentedon Oct 25, 2026
Fixed by #4103, which merged after CI passed on its tested head. The manifest diff was still preparing its first drawing when page readiness returned: an initial update skipped while data was unread left Lit's
hasUpdatedfalse, and the retry had no presentation claim. The shared fix claims that drawing at the update gate.Both manifest variants reproduced the null shadow root before the fix. All four original metadata cases pass on #4103's head, preserving native metadata, source paths, commentable evidence and the absence of empty disclosures. The alternative #4102 was withdrawn in favor of that shared repair.