Skip to content

fix: omit pre content from bound diff metadata fixtures - #5107

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-5092
Nov 2, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/issue-5092

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The native Git metadata test built a bound lf-diff with an empty <pre>, so publication refused it before any metadata assertions ran. #4861 deliberately made authored text and bound input exclusive; construct the bound fixture without <pre> and keep the inline fixture's exact patch text.

The desktop manifest case reproduces the reported refusal on main. With this correction, all four inline/manifest × desktop/phone cases pass, preserving the metadata, commentable lines, empty-disclosure and deferred-loading assertions. Ruff check, Ruff format and git diff --check pass. Product behavior is unchanged.

Closes #5092 — automated triage

Keep native Git metadata coverage for inline and manifest diffs at desktop and phone widths. The manifest fixture now follows the exclusive bound-input contract introduced by #4861; assertions and product behavior are unchanged.

Closes #5092
@leaf-agent
leaf-agent merged commit a451350 into main Nov 2, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-5092 branch November 2, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bound diff metadata fixtures retain forbidden pre content

1 participant