fix(agent): classify gitea sustained load pressure
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Failing after 2m10s
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Failing after 2m10s
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
This commit is contained in:
@@ -1515,6 +1515,21 @@ def _build_host_sustained_load_controlled_automation_readback() -> dict[str, Any
|
||||
"destructive_prune",
|
||||
],
|
||||
},
|
||||
{
|
||||
"class_id": "gitea_queue_or_hook_backlog",
|
||||
"alertnames": ["HostLoadAverageSustainedHigh"],
|
||||
"classifier": "host-sustained-load-controller.py:blocked_gitea_queue_or_hook_backlog_requires_playbook",
|
||||
"controlled_action": "run sanitized evidence collector, then use Gitea queue/hook backlog playbook in check-mode",
|
||||
"controlled_apply_allowed": False,
|
||||
"post_apply_verifier": "host-sustained-load-evidence.py readback plus Gitea queue/load verifier",
|
||||
"rollback": "source-specific rollback required before apply; no generic runner restore",
|
||||
"forbidden_actions": [
|
||||
"gitea_container_restart_without_playbook",
|
||||
"legacy_runner_restore",
|
||||
"generic_runner_label_restore",
|
||||
"warn_only_pressure_gate",
|
||||
],
|
||||
},
|
||||
{
|
||||
"class_id": "unknown_sustained_load",
|
||||
"alertnames": ["HostLoadAverageSustainedHigh"],
|
||||
|
||||
Reference in New Issue
Block a user