HH-554: connect auto-assignment runtime policy (#135)

* fix(HH-554): connect auto-assignment runtime policy

* fix(HH-554): bound and coalesce assignment jobs

* fix(HH-554): drain assignment backlog safely

* fix(HH-554): hold assignment claim through retries

---------

Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
Rogee
2026-08-23 22:28:43 +08:00
committed by GitHub
co-authored by rogee
parent 35727be51a
commit 17244bcc9d
15 changed files with 826 additions and 269 deletions
@@ -29,10 +29,6 @@ func TestConversationQueryModel_TableName_Cov5(t *testing.T) {
assert.Equal(t, "conversations", ConversationQueryModel{}.TableName())
}
func TestAssignmentPolicy_TableName_Cov5(t *testing.T) {
assert.Equal(t, "assignment_policies", AssignmentPolicy{}.TableName())
}
func TestNewLowestLoadSelector_Cov5(t *testing.T) {
s := NewLowestLoadSelector(nil)
assert.NotNil(t, s)