refactor(*): 稳定期治理 - 收敛核心架构、错误语义并修复跨项目数据竞态

This commit is contained in:
ddCat
2026-09-09 22:02:10 +08:00
parent bacd502f5c
commit b5f3413ded
298 changed files with 12681 additions and 26428 deletions

View File

@@ -180,10 +180,10 @@ func TestQueryAPICallLogsHidesInternalPollStages(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if total != 3 || len(items) != 3 {
t.Fatalf("visible logs = total:%d items:%#v, want create and download logs without polls", total, items)
if total != 2 || len(items) != 2 {
t.Fatalf("visible logs = total:%d items:%#v, want only create logs without polls or downloads", total, items)
}
if items[0].ID != "video-create" || items[1].ID != "image-download" || items[2].ID != "image-create" {
t.Fatalf("visible logs = %#v, want video-create, image-download, image-create", items)
if items[0].ID != "video-create" || items[1].ID != "image-create" {
t.Fatalf("visible logs = %#v, want video-create and image-create", items)
}
}