feat(worker): emit WorkerLog for merge, discard, reset

This commit is contained in:
mika kuns
2026-04-23 14:47:45 +02:00
parent ea4d2d7c0c
commit e8056553fd
2 changed files with 3 additions and 0 deletions

View File

@@ -136,6 +136,7 @@ public sealed class TaskMergeService
_logger.LogInformation(
"Merged task {TaskId} branch {Branch} into {Target} (remove worktree: {Remove})",
taskId, wt.BranchName, targetBranch, removeWorktree);
await _broadcaster.WorkerLog($"Merged \"{task.Title}\" into {targetBranch}", WorkerLogLevel.Success, DateTime.UtcNow);
return new MergeResult(StatusMerged, Array.Empty<string>(), cleanupWarning);
}