Page MenuHomePhabricator

Show lint messages in deleted files on the left-hand side of the change
ClosedPublic

Authored by epriestley on Mar 3 2018, 1:28 AM.
Tags
None
Referenced Files
F19155122: D19171.id45924.diff
Thu, Dec 11, 11:24 PM
F19107650: D19171.diff
Mon, Dec 8, 7:15 AM
F19093528: D19171.id45924.diff
Wed, Dec 3, 9:47 PM
F18877612: D19171.id.diff
Nov 6 2025, 11:00 AM
F18873021: D19171.diff
Nov 5 2025, 7:28 AM
F18736770: D19171.diff
Oct 1 2025, 7:46 AM
F18736694: D19171.diff
Oct 1 2025, 7:14 AM
F18509387: D19171.id.diff
Sep 5 2025, 3:22 AM
Subscribers
None

Details

Summary

See PHI416. If you raise a lint message in a deleted file, we don't render any text on the right hand side so the message never displays.

This is occasionally still legitimate/useful, e.g. to display a "don't delete this file" message. At least for now, show these messages on the left.

Test Plan

Posted a lint message on a deleted file via harbormaster.sendmessage, viewed revision, saw file expand with synthetic inline for lint.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 4 2018, 5:14 PM
This revision was automatically updated to reflect the committed changes.