Currently if transactions with profiles are unsampled in a processing Relay they are immediately dropped right after (integration test in default mode fails without these changes).
The changes hopefully also simplify the profile logic a bit and pull more logical decisions directly into processing function instead of it being hidden away in a bunch of implicit state.
Also:
adds a few more feature flag checks, standalone profiles were never checked for whether the feature flags are active.
with the unsampled profiles flag, the feature flag for profiles was never actually checked.
Currently if transactions with profiles are unsampled in a processing Relay they are immediately dropped right after (integration test in
default
mode fails without these changes).The changes hopefully also simplify the profile logic a bit and pull more logical decisions directly into processing function instead of it being hidden away in a bunch of implicit state.
Also:
skip-changelog