amilner42/viva-doc

Handle Rebasing or any Force Pushes

amilner42 opened this issue · 1 comments

This is not dealt with at all right now and will defs glitch out the app given that it relies on previous commits. Need to watch for rebases/force-pushes and update lastAnalyzed/lastSuccess.

Additionally might need to worry about an analysis being done mid-reabase?

For now I think it makes the most sense to recalculate everything on a force push of any kind, and to just tell the user to do merges if they want to keep track of what's been approved. Merges are a bit more standard anyway in production.

So for now just make sure the app doesn't glitch and just re-force all tags to be approved.