altimate-code
altimate-code copied to clipboard
fix: feedback submission fails when repo labels don't exist
Description
The /feedback command fails when submitting user feedback because the gh issue create --label command exits with a non-zero exit code when the specified labels (e.g. from-cli) don't exist in the repository.
Steps to Reproduce
- Run
/feedbackin the CLI - Fill out the feedback form (title, category, description)
- Confirm submission
- Observe error: "the submission ran into an issue — the GitHub repository is missing the
from-clilabel"
Expected Behavior
Feedback should be submitted successfully even if some labels are missing from the repository.
Root Cause
gh issue create --label user-feedback,from-cli,<category> fails entirely if any label in the comma-separated list doesn't exist in the target repo.