I'm trying to understand the role of diffeomorphism and isometry invariance in the geodesic action in GR:
$$ S = \int_{\tau_1}^{\tau_2} \! d\tau~ g_{ab}(x(\tau)) \frac{dx^a}{d\tau} \frac{dx^a}{d\tau} $$
Now if we transform coordinates with $y = y(x)$ and apply the usual transformation laws of the metric and tangent vectors than it is clear that $$L = g_{ab}(x(\tau)) \frac{dx^a}{d\tau} \frac{dx^a}{d\tau}$$ transforms as a scalar.
I am confused because we can equally consider this coordinate change as an "active" diffeomorphism $\phi: M \to M$ and then the statement that the action transforms as a scalar is that geodesics are mapped to geodesics under an arbitrary diffeomorphism. However I expect that is not true, it should only be true for diffeomorphims such that $\phi^* g = g$ i.e. isometries.
I'd like to understand how we can properly view the transformation of the action and see that geodesics are preserved only under isometries (say one-parameter isometries generated by a vector field $\xi^a$) and not under general diffeomorphisms. I imagine it should be possible to show that this action is preserved under a one parameter group of diffeomorphisms (generated by $\xi^a$) if and only if $\xi^a$ is Killing?
In particular I'm interested to understand how I should properly apply the transformation to $S$ (either active or passive) that corresponds to an isometry? And understanding the distinction between an isometry and a diffeomorphism in both the active and passive picture - i.e. if we can view every diffeomorphism as the identity map in the passive picture then, whilst it's obviously not true, this seems to me at the moment that every diffeomorphism is an isometry - I'd like to see why that is not the case.