Decouple agent reregistration from settings changes (#39528)

Fixes a `--release`-only bug in feature-flagged agents where the feature
flag isn't picked up in some situations (unless there was a settings
change to go with it - due to an early return when settings didn't
change).

Release Notes:

- N/A
b32075cdcbRichard Feldman committed on 10/4/2025, 5:19:27 PM· committed by GitHubparent21e75b8
3 files changedLine totals unavailable