fix: retain stock identities in research and AI task lists

This commit is contained in:
2026-10-09 23:08:47 +08:00
parent 9d56f6169a
commit c8c61d29bf
9 changed files with 29 additions and 7 deletions
@@ -129,6 +129,11 @@ func testCandidateAI(t *testing.T, ctx context.Context, pool *pgxpool.Pool, admi
if err != nil || len(results) != 4 {
t.Fatal("durable results missing", err, len(results))
}
for _, result := range results {
if result.Name != "Fixture" || result.Symbol != "000042" || result.Exchange != "SZSE" {
t.Fatal("analysis task lost candidate identity")
}
}
}
type rejectModel struct{ calls int }