chore(agents): fix ca-test-infra-improver — reduce health comment spam on session state issue #3551

Open
freemo wants to merge 2 commits from improvement/agent-test-infra-health-spam-fix-v2 into master

2 Commits

Author SHA1 Message Date
brent.edwards e67d56f26a Merge branch 'master' into improvement/agent-test-infra-health-spam-fix-v2
CI / lint (pull_request) Successful in 40s
CI / build (pull_request) Successful in 58s
CI / quality (pull_request) Successful in 1m3s
CI / typecheck (pull_request) Successful in 1m18s
CI / security (pull_request) Successful in 1m17s
CI / push-validation (pull_request) Successful in 46s
CI / helm (pull_request) Successful in 59s
CI / unit_tests (pull_request) Successful in 6m51s
CI / docker (pull_request) Successful in 1m49s
CI / integration_tests (pull_request) Successful in 10m52s
CI / coverage (pull_request) Successful in 8m56s
CI / status-check (pull_request) Successful in 3s
2026-06-03 19:19:46 -07:00
freemo e899f0ca97 chore(agents): fix ca-test-infra-improver health comment spam
CI / lint (pull_request) Successful in 33s
CI / typecheck (pull_request) Successful in 52s
CI / security (pull_request) Successful in 1m0s
CI / build (pull_request) Successful in 20s
CI / quality (pull_request) Successful in 44s
CI / helm (pull_request) Successful in 30s
CI / unit_tests (pull_request) Failing after 7m12s
CI / docker (pull_request) Has been skipped
CI / e2e_tests (pull_request) Successful in 16m27s
CI / integration_tests (pull_request) Failing after 23m30s
CI / coverage (pull_request) Successful in 10m58s
CI / status-check (pull_request) Failing after 2s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Successful in 57m38s
Replace fragile cycle-modulo health posting guard with timestamp-based
approach and state-change-only posting. The inner monitoring loop no
longer posts health comments — posting is gated by a 10-minute timer
OR meaningful state changes (worker completion, dispatch events).

Approved proposal: #3385
Pattern: workflow_fix
Evidence: Agent posted 44 of 52 session comments in 20 minutes, all
identical, drowning out other agent signals.
Fix: Timestamp-based health posting with state-change triggers.

ISSUES CLOSED: #3385
2026-04-05 19:32:24 +00:00