Skip to content

Commit

Permalink
Update src/services/db/GitFileSystemService.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Timothee Groleau <[email protected]>
  • Loading branch information
harishv7 and timotheeg authored Apr 18, 2024
1 parent 629b331 commit eca59a8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/services/db/GitFileSystemService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -752,9 +752,12 @@ export default class GitFileSystemService {
// TODO: To eliminate duplicate code by using a backoff or retry package
// As a last resort, we do a force push to GitHub as EFS is the source of truth
{
logger.info(
`Performing a force push to GitHub as earlier retries have failed for ${repoName}`
)
logger.info({
message: `Performing a force push to GitHub as earlier retries has failed`,
meta: {
repoName
}
})
return ResultAsync.fromPromise(
this.git
.cwd({ path: `${efsVolPath}/${repoName}`, root: false })
Expand Down

0 comments on commit eca59a8

Please sign in to comment.