@Override
  public void setTaskState(@NotNull Task task, @NotNull TaskState state) throws Exception {
    boolean isOpen = switch (state) {
      case OPEN -> true;
      case RESOLVED -> false;
      default -> throw new IllegalStateException("Unknown state: " + state);
    };
    GithubApiRequestExecutor executor = getExecutor();
    GithubServerPath server = getServer();
    String repoAuthor = getRepoAuthor();
    String repoName = getRepoName();

    ProgressIndicator indicator = getProgressIndicator();
    executor.execute(indicator,
                     GithubApiRequests.Repos.Issues.updateState(server, repoAuthor, repoName, task.getNumber(), isOpen));
  }
@Override
  public void setTaskState(@NotNull Task task, @NotNull TaskState state)