I've known this was happening for a long time, but I had an opportunity to test it and confirm it, so I did.
With no message or mission indicating that there is an attack, the settlement switches to a "broken" state, with all assets in need of repair. The settlement will also temporarily incorrectly list assets and population (typically the population will be listed as much lower than it actually is.) The numbers correct themselves on arrival, and usually repairing all the assets addresses any long-term issues that would have arisen (if noticed early enough.)
On the most recent occasion, The Slog was wrecked by the bug. I reloaded to a save from five minutes earlier, fast traveled to the slog, and it was fine. There was no message indicating an attack, and its assets were intact.
Presumably the bug is a fast-travel related one.