In Eberron: Rising From The Last War (p. 36), the Warforged's Integrated Protection trait states that you can take a rest while donning or doffing armor. The Sentry's Rest trait also states that you appear inert, which I and my group have interpreted as being able to sit or stand anywhere in a kind of powered-down mode.
Using the optional resting rules from Xanathar's Guide to Everything (p. 77-78), does a Warforged have to take off their armor to receive full hit dice and remove exhaustion during a long rest?