VirtusLab / bazel-steward

A bot to keep Bazel dependencies up to date
https://virtuslab.github.io/bazel-steward/
Apache License 2.0
62 stars 6 forks source link

Failed to push branch for rules_jvm_external upgrade #395

Open dhalperi opened 3 months ago

dhalperi commented 3 months ago

https://github.com/batfish/batfish/actions/runs/9873936375/job/27267286196

main] INFO org.virtuslab.bazelsteward.app.App - Update suggestions (1):
rules_jvm_external 6.1 -> 6.2
[main] INFO org.virtuslab.bazelsteward.bazel.rules.Sha256 - Computing sha256 for https://github.com/bazelbuild/rules_jvm_external/releases/download/6.2/rules_jvm_external-6.2.tar.gz
...
[main] INFO org.virtuslab.bazelsteward.app.PullRequestManager - Creating branch bazel-steward/rules_jvm_external/6.2, current PR status: NONE
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git checkout --quiet -b bazel-steward/rules_jvm_external/6.2
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git add /home/runner/work/batfish/batfish/WORKSPACE
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git commit --quiet -m "Updated rules_jvm_external to 6.2"
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - sh -c "REPIN=1 bazel run @unpinned_maven//:pin"
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - sh -c "REPIN=1 bazel run @unpinned_jol_maven//:pin"
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - sh -c "REPIN=1 bazel run @unpinned_jmh_maven//:pin"
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git add maven_install.json tools/jol/jol_maven_install.json tools/benchmarks/jmh_maven_install.json
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git git diff --quiet --exit-code --cached
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git commit --quiet -m "Post update hook"
[main] ERROR org.virtuslab.bazelsteward.app.PullRequestManager - Failed to create branch bazel-steward/rules_jvm_external/6.2
java.lang.RuntimeException: /usr/bin/git commit --quiet -m Post update hook
On branch bazel-steward/rules_jvm_external/6.2
nothing to commit, working tree clean

    at org.virtuslab.bazelsteward.core.common.CommandRunner$Companion.runForOutput(CommandRunner.kt:28)
    at org.virtuslab.bazelsteward.core.common.CommandRunner$Companion$runForOutput$2.invokeSuspend(CommandRunner.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:[104](https://github.com/batfish/batfish/actions/runs/9873936375/job/27267286196#step:3:109))
    at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)
    at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)
    at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
    at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)
    at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
    at org.virtuslab.bazelsteward.app.Main$Companion.main(Main.kt:14)
    at org.virtuslab.bazelsteward.app.Main.main(Main.kt)
[main] INFO org.virtuslab.bazelsteward.core.common.CommandRunner - /usr/bin/git checkout --quiet master

Any suggestions what to do here?

As far as I can tell, this worked fine for the upgrade to 6.1 a few months ago: https://github.com/batfish/batfish/pull/9004