Files
TeleWave/backend/src/TeleWave.Application/Media/Retry/RetryMediaCommand.cs
T
Leonid Pershin 7163a0b937
ci / build-backend (push) Successful in 1m18s
ci / build-frontend (push) Failing after 15s
ci / tests (push) Skipped
ci / sonar (push) Skipped
Implement media retry functionality and enhance error handling
Added endpoints for retrying failed media processing, allowing users to requeue media assets that encountered errors. Introduced error messages for scenarios where a media asset cannot be retried due to its status. Updated the MaintenanceBackgroundService to remove orphaned episodes and recompute group statistics, ensuring data integrity. Enhanced the frontend to support retry actions, including bulk retry options for failed media. Updated localization strings to reflect new features in both English and Russian.
2026-07-31 03:58:01 +03:00

12 lines
571 B
C#

using LiteCqrs;
using TeleWave.Application.Common.Models;
namespace TeleWave.Application.Media.Retry;
/// <summary>
/// Вернуть упавшую обработку в очередь. <paramref name="Id"/> = null — все упавшие разом: падают
/// они обычно пачкой и по одной причине (кончилось место, ffmpeg упёрся в таймаут), и чинят их
/// тоже пачкой.
/// </summary>
public sealed record RetryMediaCommand(Guid? Id = null) : ICommand<Result<RetryMediaResultDto>>;