Skip to content

Bound diff metadata fixtures retain forbidden pre content #5092

Closed

Description

@leaf-agent

Push run 41395985405, at 5d7e533eb225, records this failing boundary.

  • tests.browser.test_render_anchors::test_a_diff_shows_native_file_metadata_without_empty_disclosures[False-True]
leaf.refusals.Refused: refusing to stamp index.html: <lf-diff> (line 8): its bound input supplies the text, so it holds no <pre>, found <pre>
  • tests.browser.test_render_anchors::test_a_diff_shows_native_file_metadata_without_empty_disclosures[True-True]
leaf.refusals.Refused: refusing to stamp index.html: <lf-diff> (line 8): its bound input supplies the text, so it holds no <pre>, found <pre>

This report session read the CI diagnostic but did not run a local reproduction or establish the cause. Reconcile current main, open repairs and active Tend work before claiming a fix. Reproduce the focused case, inspect the introducing change’s intent and the current owning contract, and preserve the actual user behavior when deciding whether the fixture or product needs correction. Similar feature names do not establish a shared mechanism; reuse an existing owner if reproduction proves one. Full tracebacks and screenshots are in the run’s pytest-results-* artifact.

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Nov 2, 2026
  2. leaf-agent commented on Nov 2, 2026

    @leaf-agent
    CollaboratorAuthor

    #5107 corrects the fixture to follow #4861's exclusive bound-input contract: a manifest diff has no <pre>, while an inline diff keeps its patch there. The desktop manifest case reproduced the publication refusal on main; all four desktop/phone and inline/manifest cases now pass with their metadata and deferred-loading assertions unchanged.

    The fix is pushed and recorded for the queued review and landing workflows. Review and CI verification remain with those workflows under await_ci: false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions