Skip to content

fix: close bot-created empty issue shells before triage - #1782

Closed
groupthinking with Copilot wants to merge 2 commits into
mainfrom
copilot/addressing-issues-again
Closed

fix: close bot-created empty issue shells before triage#1782
groupthinking with Copilot wants to merge 2 commits into
mainfrom
copilot/addressing-issues-again

Conversation

Copilot AI commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Canonical issue

Outcome

The issue-triage workflow was auto-labeling bot-created empty issue shells as real work, creating noisy automation artifacts instead of closing them. This fix keeps generic "Addressing Issues" bot shells out of the triage queue before any labels are applied.

Scope

  • Included:
    • Harden .github/workflows/issue-triage.yml to close bot-created issues when the body is blank or the title is the generic "Addressing Issues" shell before triage labeling runs.
    • Add a focused regression test in tests/unit/test_issue_triage_workflow.py that executes the workflow script against a mock GitHub client and verifies the no-label close behavior.
  • Explicitly excluded:
    • Broader changes to issue labeling logic or unrelated GitHub automation workflows.

Risk

  • Risk level: low
  • Failure mode: A real bot-created issue with useful context could be closed before a human reviews it.
  • Rollback: Revert the workflow guard and restore the previous triage labeling behavior.

Verification

  • Focused tests — python -m pytest tests/unit/test_issue_triage_workflow.py -q --no-cov on c9e6dade78827fe30b681ab6642ba6244b52cf70
  • Required CI
  • Review threads resolved

Production evidence

Not applicable; this is a repository automation workflow change only. There is no Vercel preview, runtime deployment, or production runtime evidence to attach.

Agent handoff

  • One canonical issue is linked
  • No competing PR implements the same issue
  • Acceptance criteria are satisfied
  • Required checks pass on the current head
  • Human decision is requested only for product, security, irreversible infrastructure, or production approval

@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Sep 8, 2026 11:24pm UTC

Co-authored-by: groupthinking <154503486+groupthinking@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issues identified in the project fix: close bot-created empty issue shells before triage Sep 8, 2026
Copilot AI requested a review from groupthinking September 8, 2026 23:26
@groupthinking
groupthinking marked this pull request as ready for review September 12, 2026 10:00
@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 55b835f8-4a35-4696-8920-6b438d34d24f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@groupthinking
groupthinking enabled auto-merge (squash) September 12, 2026 10:17
@groupthinking groupthinking added the bug Something isn't working label Sep 12, 2026
@cursor

cursor Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Closing as duplicate of #1786 (same bot-shell auto-close). Both CONFLICTING; keep #1786 as the rebase target. Empty shells #1523/#1553 still need issue-write (blocked for this agent).

auto-merge was automatically disabled September 12, 2026 10:51

Pull request was closed

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA c9e6dad.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

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

Labels

bug Something isn't working ci/cd python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Addressing Issues

2 participants