fix(gate): poller 派发门禁纳入需求/设计确认任务
根因:门禁 SQL 只认 general/bug_acceptance,漏了 requirement_confirmation/design_confirmation。 导致 PM 用 create_tasks 显式派发的下游任务绕过确认门禁被 poller 捞起执行 (实测 hrs7:设计确认 pending 期间 develop 任务已 running)。 在 poller 候选筛选层拦(agent + pm 两处),覆盖所有派发路径。
This commit is contained in:
parent
106a600c45
commit
7404ab1ecd
@ -673,7 +673,8 @@ def load_pipeline_service():
|
||||
" SELECT i.id FROM sd_iterations i WHERE i.project_id=t.tenant_id "
|
||||
" AND i.status='in_progress' ORDER BY i.seq_no DESC LIMIT 1) "
|
||||
" AND ((ht.task_type='general' AND (ht.status='pending' OR (ht.status='done' AND ht.qc_status != 'passed'))) "
|
||||
" OR (ht.task_type='bug_acceptance' AND ht.status='pending'))"
|
||||
" OR (ht.task_type='bug_acceptance' AND ht.status='pending') "
|
||||
" OR (ht.task_type IN ('requirement_confirmation','design_confirmation') AND ht.status='pending'))"
|
||||
") "
|
||||
"ORDER BY t.created_at ASC LIMIT 200",
|
||||
{})
|
||||
@ -782,7 +783,8 @@ def load_pipeline_service():
|
||||
" SELECT i.id FROM sd_iterations i WHERE i.project_id=t.tenant_id "
|
||||
" AND i.status='in_progress' ORDER BY i.seq_no DESC LIMIT 1) "
|
||||
" AND ((ht.task_type='general' AND (ht.status='pending' OR (ht.status='done' AND ht.qc_status != 'passed'))) "
|
||||
" OR (ht.task_type='bug_acceptance' AND ht.status='pending'))"
|
||||
" OR (ht.task_type='bug_acceptance' AND ht.status='pending') "
|
||||
" OR (ht.task_type IN ('requirement_confirmation','design_confirmation') AND ht.status='pending'))"
|
||||
") "
|
||||
"ORDER BY t.created_at ASC LIMIT 200",
|
||||
{})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user