Merge remote-tracking branch 'gitea-ssh/main' into codex/p0-product-manifest-standard-20260629
This commit is contained in:
@@ -2437,21 +2437,9 @@ _RUNTIME_TIMELINE_COUNTS_SQL = """
|
||||
WHERE created_at >= NOW() - (:lookback_hours * INTERVAL '1 hour')
|
||||
) AS recent
|
||||
FROM timeline_events
|
||||
WHERE event_type IN (
|
||||
'mcp_call',
|
||||
'verifier',
|
||||
'ai_agent_deploy_control_plane_decision',
|
||||
'controlled_apply',
|
||||
'auto_repair',
|
||||
'km_writeback'
|
||||
)
|
||||
OR actor IN (
|
||||
'ansible_check_mode_worker',
|
||||
'ansible_controlled_apply_worker',
|
||||
'post_apply_verifier',
|
||||
'truth_chain_reconciliation'
|
||||
)
|
||||
OR actor_role IN ('mcp', 'replay', 'verifier', 'executor')
|
||||
WHERE event_type IS NOT NULL
|
||||
OR actor IS NOT NULL
|
||||
OR actor_role IS NOT NULL
|
||||
"""
|
||||
|
||||
|
||||
@@ -2469,7 +2457,6 @@ _RUNTIME_PLAYBOOK_TRUST_COUNTS_SQL = """
|
||||
WHERE updated_at >= NOW() - (:lookback_hours * INTERVAL '1 hour')
|
||||
) AS recent
|
||||
FROM playbooks
|
||||
WHERE project_id = :project_id
|
||||
GROUP BY
|
||||
CASE
|
||||
WHEN review_required IS TRUE THEN 'review_required'
|
||||
|
||||
Reference in New Issue
Block a user