Skip to content

fix: feedback submission fails when repo labels don't exist#188

Merged
anandgupta42 merged 1 commit intomainfrom
fix/feedback-submit-label-fallback
Mar 16, 2026
Merged

fix: feedback submission fails when repo labels don't exist#188
anandgupta42 merged 1 commit intomainfrom
fix/feedback-submit-label-fallback

Conversation

@anandgupta42
Copy link
Contributor

What does this PR do?

Fixes the /feedback command failing when GitHub labels (e.g. from-cli) don't exist in the repository. Adds a fallback retry without labels when the initial gh issue create --label call fails.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Issue for this PR

Closes #187

How did you verify your code works?

  • All 45 unit tests pass (including 6 new tests for the fallback path)
  • Created the missing from-cli, enhancement, and improvement labels in the repo

Checklist

  • My code follows the style guidelines of this project
  • I've added tests that prove my fix is effective
  • New and existing unit tests pass locally with my changes

Add fallback retry without `--label` flag when `gh issue create` fails
due to missing labels in the repository. The tool now:
1. Tries to create the issue with labels first
2. If that fails, retries without labels

Also created the missing `from-cli`, `enhancement`, and `improvement`
labels in the GitHub repository.

Closes #187

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@anandgupta42 anandgupta42 merged commit 8ccf349 into main Mar 16, 2026
9 checks passed
anandgupta42 added a commit that referenced this pull request Mar 17, 2026
…188)

Add fallback retry without `--label` flag when `gh issue create` fails
due to missing labels in the repository. The tool now:
1. Tries to create the issue with labels first
2. If that fails, retries without labels

Also created the missing `from-cli`, `enhancement`, and `improvement`
labels in the GitHub repository.

Closes #187

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@anandgupta42 anandgupta42 deleted the fix/feedback-submit-label-fallback branch March 17, 2026 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: feedback submission fails when repo labels don't exist

1 participant