Get the fileHash after commit but before push

Description

Currently in the push app flow, we get the fileHash after git push. If getting fileHash throws IOException, we don’t send back error but just log the warning since the push actually succeeded, and the fileHash is not stored back in DB.

We should instead parse the fileHash before git push, so that if it errors out, we stop git push and throw exception. This way we always get a solid fileHash in DB

Release Notes

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Triaged

Yes

Components

Priority

Created March 1, 2023 at 6:02 AM
Updated March 2, 2023 at 5:47 AM
Resolved March 2, 2023 at 5:47 AM