When a cell-storage or research-donation protocol is voided, mark all
related sample receptions as discarded; when every sample is discarded,
auto-void the protocol as 实验室废弃 (sysfq). Covers issue #31.
Co-authored-by: Cursor <cursoragent@cursor.com>
cykj
merged commit 1fb25f4fc2 into V2.02026-11-05 03:44:15 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
关联工单:#31
Test plan
pytest backend/tests/test_protocol_reception_discard_sync.py(5 passed)pytest backend/tests/test_protocol_status_transition_message.pypnpm --dir web-admin build(通过)docs/sql/migrations/2026-11-05-void-type-lab-discard.sql(运行时也会 ensure 字典)Notes