fix(issue-create): allow empty issue bodies#188
Merged
barrettruth merged 1 commit intomainfrom Apr 12, 2026
Merged
Conversation
GitHub issue creation does not require a non-empty body, but the compose flow currently aborts before submission when the body is blank. Allow empty bodies while keeping the empty-title and unchanged-template guards, and cover the behavior with a focused compose regression test.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Issue compose currently aborts when the body is left blank, even though GitHub issue creation does not require a non-empty body. That makes the compose flow stricter than the underlying forge and drops otherwise valid issue submissions.
Solution
Remove the empty-body abort from issue compose while keeping the empty-title and unchanged-template guards in place. Update the compose/vimdoc messaging to describe the new behavior and add a focused regression spec that exercises saving an issue with an empty body.