Skip to content

Reduce CI Failure Doctor issue expiration from 2d to 1d#13727

Merged
pelikhan merged 2 commits intomainfrom
copilot/reduce-ci-issue-expiration
Feb 4, 2026
Merged

Reduce CI Failure Doctor issue expiration from 2d to 1d#13727
pelikhan merged 2 commits intomainfrom
copilot/reduce-ci-issue-expiration

Conversation

Copy link
Contributor

Copilot AI commented Feb 4, 2026

Reduces the auto-close timeout for CI failure investigation issues from 2 days to 1 day to minimize issue clutter while maintaining adequate review time.

Changes

  • .github/workflows/ci-doctor.md: Updated safe-outputs.create-issue.expires from 2d to 1d
  • .github/workflows/ci-doctor.lock.yml: Recompiled workflow with updated expiration (48h → 24h)
safe-outputs:
  create-issue:
    expires: 1d  # was: 2d
    title-prefix: "[CI Failure Doctor] "
    labels: [cookie]
Original prompt

This section details on the original issue you should resolve

<issue_title>[q] Reduce CI Failure Doctor issue expiration from 2d to 1d</issue_title>
<issue_description>## 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

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Reduce CI Failure Doctor issue expiration from 2d to 1d Reduce CI Failure Doctor issue expiration from 2d to 1d Feb 4, 2026
Copilot AI requested a review from pelikhan February 4, 2026 13:41
@pelikhan pelikhan marked this pull request as ready for review February 4, 2026 13:43
Copilot AI review requested due to automatic review settings February 4, 2026 13:43
@pelikhan pelikhan merged commit 56a84c0 into main Feb 4, 2026
1 check passed
@pelikhan pelikhan deleted the copilot/reduce-ci-issue-expiration branch February 4, 2026 13:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reduces the auto-close timeout for CI Failure Doctor investigation issues from 2 days to 1 day to minimize issue clutter while maintaining adequate review time for CI failures.

Changes:

  • Updated the expires configuration in the CI Doctor workflow from 2d to 1d
  • Recompiled the lock file with the corresponding change from 48 hours to 24 hours

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/ci-doctor.md Updated safe-outputs.create-issue.expires from 2d to 1d
.github/workflows/ci-doctor.lock.yml Recompiled workflow with updated expiration values (48h → 24h) and updated frontmatter hash

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[q] Reduce CI Failure Doctor issue expiration from 2d to 1d [CI Failure Doctor] CI Failure Investigation - Run #33691

2 participants