Skip to content

[q] Reduce CI Failure Doctor issue expiration from 2d to 1d #13725

@github-actions

Description

@github-actions

Q Workflow Optimization Report

Issues Found (from live data)

CI Failure Doctor Workflow

Changes Made

.github/workflows/ci-doctor.md

  • Reduced issue expiration: Changed expires: 2d to expires: 1d in the safe-outputs.create-issue configuration (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 expires field 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.patch
Show 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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions