clearBannedKbcLabels method
Clear the banned-label set so previously rolled-back patches can be re-applied. Useful when a customer ships a fix re-using the same label as a broken one (rare). Returns the labels that were cleared, for logging / telemetry.
Implementation
Future<Set<String>> clearBannedKbcLabels() async {
final prefs = await SharedPreferences.getInstance();
final cur = await _getBannedLabels(prefs);
await prefs.remove(_kbcBannedLabelsKey);
return cur;
}