internal modifications
This commit is contained in:
@@ -58,6 +58,11 @@ func AssignCustomerMiler(bookingID int) {
|
||||
"booking_id", bookingID,
|
||||
"max_retries", maxRetries,
|
||||
)
|
||||
|
||||
// Terminal failure — hand off to the AI layer's DispatchAgent, which owns
|
||||
// what happens next (coverage sweep, escalation). Reached only after every
|
||||
// retry is exhausted, so it fires at most once per booking.
|
||||
publishAssignmentFailed(bookingID, reasonNoMilerAvailable)
|
||||
}
|
||||
|
||||
// tryCustomerAssign performs one full attempt: GEO miler search → provider selection → commit.
|
||||
|
||||
Reference in New Issue
Block a user