Fix remediator error updates not being published after parsing has started for a new commit. Normally parsing is quick, but if there was an error, this state would often continue until the error was fixed by the user in the source.
Modify setSyncStatus to take a commit, so we can avoid reverting the status.sync.commit after parsing has started and modified state.cache.source.commit.
Add Remediator.Remediating() to avoid updating the sync status before syncing has succeeded or while remediating is paused during a sync attempt.
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/GoogleContainerTools/kpt-config-sync/blob/main/OWNERS)~~ [sdowell]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment