codex/issue-142-reception-void-desc-315d12855585
V2.0
样本接收「是否接受」选废弃时会把样本状态置为已作废(yzf),但作废原因为空。预期将接收备注写入 void_desc。
void_desc
void_sample_for_discarded_reception
#142
PYTHONPATH=. backend/venv/bin/python -m unittest tests.test_protocol_reception_discard_sync -v
接收结论为废弃时同步样本 yzf,并把接收备注写入 void_desc,改回接收时一并清空。 Co-authored-by: Cursor <cursoragent@cursor.com>
No dependencies set.
The note is not visible to the blocked user.
问题与预期
样本接收「是否接受」选废弃时会把样本状态置为已作废(yzf),但作废原因为空。预期将接收备注写入
void_desc。改动
void_sample_for_discarded_reception:写入void_desc(接收备注,空则 None,最长 512)关联
#142
验证
PYTHONPATH=. backend/venv/bin/python -m unittest tests.test_protocol_reception_discard_sync -v→ 8 ok