• 李文光's avatar
    fix(state): 修复 offers 残留 UNIQUE(candidate_id) 导致整包覆盖 500 · cac52e1c
    李文光 authored
    模型已允许同一候选人多条 Offer(一条进行中 + 历史已拒绝/已作废),但旧库 offers 表仍残留
    UNIQUE(candidate_id);replace_state 写入多条同候选人 Offer 时触发 UNIQUE constraint failed,
    PUT /api/state 返回 500。启动时自动检测并重建表移除该约束(保留数据/owner_id 索引/外键),
    并补充旧库自动修复与多 Offer 写入单测。
    cac52e1c
Name
Last commit
Last update
..
conftest.py Loading commit data...
test_ai.py Loading commit data...
test_auth.py Loading commit data...
test_external_claims.py Loading commit data...
test_ingest.py Loading commit data...
test_jd_import.py Loading commit data...
test_pool.py Loading commit data...
test_recruiting_rules_agent.py Loading commit data...
test_reports.py Loading commit data...
test_resume_parser.py Loading commit data...
test_resume_parser_llm.py Loading commit data...
test_risk_profile.py Loading commit data...
test_state.py Loading commit data...
test_static_security.py Loading commit data...