Skip to content

Commit

Permalink
Simplify raporting regresisions
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Aug 16, 2024
1 parent 940daa0 commit 38dee76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/raport-regressions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,6 @@ def projectHistory(project: FailedProject) =
.query {
boolQuery()
.must(
termsQuery("scalaVersion", PreviousScalaReleases),
termsQuery(
"projectName",
project.project.searchName,
Expand All @@ -370,7 +369,7 @@ def projectHistory(project: FailedProject) =
fieldSort("timestamp").desc()
)
.sourceInclude("scalaVersion", "version", "summary")
.size(100)
.size(10 * 1000)
}
.map(
_.fold[Seq[ProjectHistoryEntry]](
Expand All @@ -394,6 +393,7 @@ def projectHistory(project: FailedProject) =
.compilerFailure
)
}
.filter(v => PreviousScalaReleases.contains(v.scalaVersion))
)
)
.await(DefaultTimeout)
Expand Down

0 comments on commit 38dee76

Please sign in to comment.