def diagnostic()

in app/lib/RepoSnapshot.scala [200:204]


  def diagnostic(): Future[Diagnostic] = for {
    snapshots <- snapshotOfAllAvailableCheckpoints()
  } yield Diagnostic(snapshots, mergedPRs.map { pr =>
    PRCheckpointDetails(pr, snapshots.filter(s => activeCheckpointsByPullRequest(pr).contains(s.checkpoint)), repoLevelDetails.gitRepo)
  })