pub async fn buckets_list(
profile_id: ProfileId,
force: Option<bool>,
store: State<'_, ProfileStoreHandle>,
pool: State<'_, S3ClientPoolHandle>,
cache: State<'_, CacheHandle>,
notification_log: State<'_, NotificationLogHandle>,
channel: AppHandle,
) -> Result<Vec<BucketSummary>, AppError>Expand description
List all buckets for the given profile.
Applies the validation gate, SWR cache logic, and background region
discovery. Emits buckets:updated { profileId } after every revalidation.