@ApiStatus.Internal
  public void ensureUpToDate() {
    if (myStarted.compareAndSet(false, true)) {
      myUpdateScheduled.set(true);
      myUpdateAlarm.addRequest(() -> checkAndUpdateRepositoryCollection(null), 0);
    }

    CountDownLatch waiter = new CountDownLatch(1);
    myUpdateAlarm.addRequest(() -> waiter.countDown(), 10);
    awaitWithCheckCanceled(waiter);
  }
@ApiStatus.Internal
  public void ensureUpToDate()