-
Notifications
You must be signed in to change notification settings - Fork 142
Closed
Description
Q Workflow Optimization Report
Issues Found (from live data)
CI Failure Doctor Workflow
- Current Configuration: Issues created by the CI Failure Doctor expire in 2 days
- User Request: @pelikhan requested in issue [CI Failure Doctor] CI Failure Investigation - Run #33691 #13685 comment that the expiration should be reduced to 1 day
- Analysis: Recent issues created by this workflow (e.g., [CI Failure Doctor] 🏥 CI Failure Investigation - Run #33710 #13716, [CI Failure Doctor] CI Failure Investigation - Run #33691 #13685) show that the 2-day expiration may be longer than needed for CI failure investigations
Changes Made
.github/workflows/ci-doctor.md
- Reduced issue expiration: Changed
expires: 2dtoexpires: 1din thesafe-outputs.create-issueconfiguration (line 31) - This is a surgical, minimal change that addresses the specific request
Expected Improvements
- CI failure investigation issues will now expire after 1 day instead of 2 days
- Reduces issue clutter by having issues auto-close sooner
- Issues will still provide adequate time for review and action on CI failures
- Aligns with user's preference for faster issue lifecycle
Validation
The modified workflow has been validated:
- ✅ Syntax is correct
- ✅ Only the
expiresfield was changed - ✅ No other configuration was affected
- ✅ The change is minimal and focused
Note: The .lock.yml file will be compiled automatically after merge by the Copilot agent.
Context
This optimization was triggered by comment in issue #13685 where @pelikhan requested: "/q cli failure doctor should be 1d"
Fixes #13685
AI generated by Q
- expires on Feb 6, 2026, 1:14 PM UTC
Note
This was originally intended as a pull request, but the git push operation failed.
Workflow Run: View run details and download patch artifact
The patch file is available in the agent-artifacts artifact in the workflow run linked above.
To apply the patch locally:
# Download the artifact from the workflow run https://github.com/github/gh-aw/actions/runs/21672687909
# (Use GitHub MCP tools if gh CLI is not available)
gh run download 21672687909 -n agent-artifacts
# The patch file will be at agent-artifacts/tmp/gh-aw/aw.patch after download
# Apply the patch
git am agent-artifacts/tmp/gh-aw/aw.patchShow patch (27 lines)
From 20cc1dabf581d31e3b99b0d763b4da7d8c59a8e8 Mon Sep 17 00:00:00 2001
From: Q Workflow Optimizer <github-actions[bot]@users.noreply.github.com>
Date: Wed, 4 Feb 2026 13:12:34 +0000
Subject: [PATCH] chore: reduce CI Failure Doctor issue expiration from 2d to
1d
---
.github/workflows/ci-doctor.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/ci-doctor.md b/.github/workflows/ci-doctor.md
index 1fa604b..ea13707 100644
--- a/.github/workflows/ci-doctor.md
+++ b/.github/workflows/ci-doctor.md
@@ -28,7 +28,7 @@ engine:
safe-outputs:
create-issue:
- expires: 2d
+ expires: 1d
title-prefix: "[CI Failure Doctor] "
labels: [cookie]
add-comment:
--
2.52.0
Reactions are currently unavailable