Only self-mentions render as links; mentioning anyone else is plain text (G-61)
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.
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.
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.
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.