altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

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

Open anandgupta42 opened this issue 8 months ago • 0 comments

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

  1. Run /feedback in the CLI
  2. Fill out the feedback form (title, category, description)
  3. Confirm submission
  4. Observe error: "the submission ran into an issue — the GitHub repository is missing the from-cli label"

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.

anandgupta42 avatar Mar 16 '26 18:03 anandgupta42