Skip to content

Commit

Permalink
fix: fix partial build retry
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Sep 17, 2024
1 parent 01bc789 commit 8093e05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/backend/src/build/partial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,12 @@ export async function finalizePartialBuilds(input: {
await Promise.all(
builds.map(async (build) => {
const previousBuild = await Build.query()
.joinRelated("compareScreenshotBucket")
.withGraphFetched("shards.screenshots")
.where("builds.runId", build.runId)
.where("builds.projectId", build.projectId)
.where("builds.name", build.name)
.where("builds.ciProvider", "github-actions")
.where("builds.runAttempt", "<", build.runAttempt)
.where("compareScreenshotBucket.complete", true)
.orderBy("builds.runAttempt", "desc")
.first();

Expand Down

0 comments on commit 8093e05

Please sign in to comment.