GradleUp / GradleUp/librarian

Exception in thread "main" java.lang.IllegalStateException: command gh pr merge bump-0.0.4 --squash --auto --delete-branch failed with output:

Open
#36 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
18
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Exception in thread "main" java.lang.IllegalStateException: command gh pr merge bump-0.0.4 --squash --auto --delete-branch failed with output:

	at com.gradleup.librarian.core.tooling.Tag_and_bumpKt.runCommand(tag-and-bump.kt:70)
	at com.gradleup.librarian.core.tooling.Tag_and_bumpKt.mergeAndWait(tag-and-bump.kt:123)
	at com.gradleup.librarian.core.tooling.Tag_and_bumpKt.tagAndBump(tag-and-bump.kt:51)
	at com.gradleup.librarian.cli.command.TagAndBump.run(TagAndBump.kt:92)
	at com.gradleup.librarian.cli.command.AbstractTagAndBump.run(TagAndBump.kt:80)
	at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:198)
	at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:211)
	at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:18)
	at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:400)
	at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:397)
	at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:415)
	at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:440)
	at com.gradleup.librarian.cli.MainKt.main(main.kt:6)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading tag-and-bump.kt at runCommand (line 70) and mergeAndWait (line 123), then trace the call from TagAndBump.run (line 92). Reproduce the failing gh pr merge command and determine the missing command output or failure condition; done means the command failure is diagnosed and handled or reported clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, kotlin
Domain
cli, release
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.