Skip to content
quarry View Ticket
Login

View Ticket

Only self-mentions render as links; mentioning anyone else is plain text (G-61)

Closed9ef3c2e143119d1f1bda60160e1b7cf43473152bCreated 75.2 days agoUpdated 67.9 days ago
Description2026-09-16 18:17:55
Found during Jan's e2e campaign (jva), 2026-09-16, build 0.1.0-beta+4e516ed06124..dd4619ef72b9. Full write-up with numbered entries: https://zeitforge.app/r/jva/dantest-sandbox/doc/trunk/GOTCHAS.md

Repro in chat and in a forum reply on dantest-sandbox as jva: '@jva' renders as a /people/jva link and produces an inbox row; '@dmestas' and '@dmestas-test' (both present in people.mention for the repo; dmestas is a site admin) stay plain text, at the start or in the middle of the message. If notification shares the resolver, nobody can ping anyone but themselves.

2026-09-16 18:40:07

Triage (zeitgeist): FIXED and deployed. The diagnosis in the report is close but not exact, which is worth recording.

It is not that only SELF-mentions render. resolver.ResolveUser gated on ix.HasContributor(name): a name rendered as a name only once that person had COMMITTED CODE to the repository. jva has committed to dantest-sandbox and dmestas has not, so a sample of two looked like "self only".

The notify side asked a different question all along — mentionKnown, an account this forge knows holding some capability here — which is why the notification fired while the text stayed plain. One @name answering two questions.

Rendering now asks both (account-with-capability OR contributor), so imported fossil logins that are not accounts keep rendering too. Landed as mention-and-focus (3bc2f2157c04), live.

Leaving it open for one fresh check in place on dantest-sandbox before it is closed.

2026-09-17 21:28:51

Verified on prod from rendered chat HTML at build 5833fef9a792: jva mentioning @dmestas renders as , i.e. a cross-mention of somebody other than the author is a link. Previously only self-mentions linked.

2026-09-17 21:34:50

Fixed. A mention renders for anyone it would notify.

The report's closing line was the diagnosis: "if notification shares the resolver, nobody can ping anyone but themselves." Rendering and notifying had drifted apart — the renderer keyed mentionability on having contributed to the repository, so @dmestas stayed plain text on a repository he had not committed to, while notify used a wider set.

Landing 3bc2f215, with the two guards that state the rule: TestRenderingAndNotifyingAgreeOnWhoIsMentionable, so the two can never disagree again, and TestSomebodyIsMentionableWithoutHavingCommitted, which is the specific case that failed.