feat(versioning): remove Stale tag when a new feature version is published
TE
1d ago+43+43+01234567890123456789-0-0-0123456789
Contributes to #8705.
Changes
- Connect a
remove_stale_tagreceiver toenvironment_feature_version_publishedinapi/features/versioning/receivers.pyso publishing a newEnvironmentFeatureVersion(direct saves, scheduled changes, and change requests) removes anyTagType.STALEtag from the feature while keeping user tags and other system tags (UNHEALTHY, etc.) intact. - Add unit coverage in
api/tests/unit/features/versioning/test_unit_versioning_receivers.py.
(Note: the background staleness tagging task itself lives outside the OSS repository, so this PR covers the tag-removal side on feature modification.)