Skip to content

Commit

Permalink
Merge pull request #1377 from argos-ci/fix-partial-build-retry
Browse files Browse the repository at this point in the history
fix: fix partial build retry
  • Loading branch information
gregberge authored Sep 17, 2024
2 parents 01bc789 + 8093e05 commit 3c82028
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 3c82028

Please sign in to comment.