CI Failure DoctorCI Failure Investigation: Daily Test Improver — Recurring "Setup threat detection" failure #154
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
The Daily Test Improver scheduled workflow (
workflow_id: 239618495) is failing consistently in thedetectionjob at the "Setup threat detection" step. This is a CI infrastructure-level failure, not a code bug in rlm-rs. The actual agent work completes successfully.Failure Details
448b4e6f8cfb28665b2697538d802f6dfee66cc5scheduledetectionSetup threat detection(step 6 of 13)Root Cause Analysis
The
detectionjob is part of the gh-aw CI framework infrastructure (not rlm-rs application code). TheSetup threat detectionstep fails in the framework layer before the actual threat-detection work can begin. All subsequent steps in that job are skipped.Key observation: The
agentjob (where actual test improvement work happens) always completes successfully — the failure is purely in the post-processingdetectioninfrastructure job.Pattern Analysis (last 30 runs)
scheduleworkflow_run(retries)Setup threat detectionworkflow_runevents) succeed ~70% of the timeFailed Jobs Breakdown (run #23375752826)
pre_activationactivationagentdetectionconclusionpush_repo_memorysafe_outputsInvestigation Findings
Infrastructure failure, not code failure: The rlm-rs codebase, tests, and builds are unaffected. This is a failure in the
gh-awagentic workflow framework's internal threat detection step.Recurring pattern: Same failure in runs
23374387133(07:00 UTC),23375752826(08:28 UTC),23334966255(2026-03-20),23292567345(2026-03-19), and many more.Auto-retry partially mitigates: Workflow retries (
workflow_runtrigger) succeed about 70% of the time, suggesting the issue is intermittent at the infrastructure level but systematically triggered byscheduleevents.Safe outputs skipped: Because the
detectionjob fails, thesafe_outputsjob is also skipped — meaning results from successful agent runs may not be posted on some days.Recommended Actions
safe_outputsskip pattern to determine if Daily Test Improver agent results are being lostgithub/gh-awfrom 0.56.2 to 0.58.3 (PR ci: bump github/gh-aw from 0.56.2 to 0.58.3 #140, 2026-03-16); verify if this version has known issues with thedetectionjob on scheduled runsgithub/gh-awaffectingSetup threat detection— report upstream if not already knowndetectionjob's failure should block the overall workflow conclusionPrevention Strategies
github/gh-awif a fix is available for theSetup threat detectionfailuredetectionjob non-blocking (continue-on-error: true) if threat detection failures should not fail the overall workflowsafe_outputsskip rate to detect when agent results are being silently lostAI Team Self-Improvement
Historical Context
23374387133— same failure pattern 90 minutes before this run23334966255(2026-03-20) — same pattern23292567345(2026-03-19) — same patterngh-awbump in ci: bump github/gh-aw from 0.56.2 to 0.58.3 #140 (merged 2026-03-16)All reactions