Handle merge conflicts as orchestration events
This commit is contained in:
@@ -50,10 +50,14 @@ function toNodeAttemptSeverity(status: ActorResultStatus): RuntimeEventSeverity
|
||||
}
|
||||
|
||||
function toDomainEventSeverity(type: DomainEventType): RuntimeEventSeverity {
|
||||
if (type === "task_blocked") {
|
||||
if (type === "task_blocked" || type === "merge_conflict_unresolved") {
|
||||
return "critical";
|
||||
}
|
||||
if (type === "validation_failed") {
|
||||
if (
|
||||
type === "validation_failed" ||
|
||||
type === "merge_conflict_detected" ||
|
||||
type === "merge_retry_started"
|
||||
) {
|
||||
return "warning";
|
||||
}
|
||||
return "info";
|
||||
|
||||
Reference in New Issue
Block a user