This begs the question (and is related to the thread about avoiding stupidities) when is a country taking enough damage from another country to justify a violation of the latter's sovereignty but the damages stop accumulating after just a raid???

I don't think such a case exists.
A strategic raid in what's otherwise peacetime amounts to a backlash-prone aggression and can easily provoke a cascade of uncontrollable and possibly very undesirable effects.