Loading
Remove sync_malware_advisories feature flag
What
Remove the sync_malware_advisories flag so the malware advisory sync worker always runs.
Why
The malware advisory sync has run enabled-by-default in production since Beta. The flag is no longer needed for GA.
Changes
- Delete the flag definition from the feature flags YAML
- In
PackageMetadata::MalwareAdvisoriesSyncWorker, remove the flag check fromshould_run?and delete thesync_flag_enabled?helper method - Remove specs for the disabled-state codepath
- The worker continues to respect existing gates: the Ultimate
dependency_scanninglicense or dependency-firewall availability, and the development guard
Testing
Flag-enabled and flag-disabled specs were updated (disabled-state contexts removed). Affected specs pass locally.
Related
- Closes #613598 (closed)
- Part of &23613 (closed)