Skip to content

fix: give the header truncation test an overflowing author - #4532

Merged
leaf-agent merged 1 commit into
mainfrom
fix/issue-4527
Oct 28, 2026
Merged

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

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The header truncation test assumed the short author “Me” would overflow. It passes at the parent of #4513 and fails immediately after that PR's queued-status wording change, even though its timestamp and news notice remain whole.

Seed a long agent author so the fixture supplies the overflow it asserts, and address arriving replies to that agent's thread. The test still requires an ellipsis on the overflowing name, whole timestamps and a whole “2 new replies” notice. This preserves #4513's status wording and changes no product layout.

The original test fails on current main; the repaired test passes there and on the commit preceding #4513. The file passes Ruff checks and formatting. Reviewed the test-only diff for correctness, removed coverage and fixture conventions; no findings.

Closes #4527 — automated triage

The short user name stopped overflowing after the queued-status wording changed in #4513. Seed a long agent name so this test exercises name truncation independently of workflow labels, while retaining its whole-time and whole-news assertions. Product behavior is unchanged.

Closes #4527
@leaf-agent
leaf-agent merged commit 0d14e88 into main Oct 28, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-4527 branch October 28, 2026 00:39
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.

Margin card name truncation test finds the author name fits

1 participant