If it’s been recently repainted or replastered, and they’re only hairline cracks, then they’re almost certainly just where it’s drying out and maybe a little settlement.
I think it should be fine, however, if you see tide marks from water or hear water in your light fitting, I would be worried, as that would indicate that a water tank or pipe in the loft might be leaking.
Structurally, I’d be more worried about cracks in the wall, not the ceiling.