UGS does not clear "under investigation" status of CLs that have been resolved

PR: https://github.com/EpicGames/UnrealEngine/pull/13089

Steps to Reproduce
When using HordeServer’s UGS metadata endpoint, “Finish investigation” metadata is not correctly accounted for after restarting UGS, or propagated to other users.

Issue is two parts:

  • Resolved status is never persisted on the server, which can be seen when using API directly
  • Even when Resolved status is correctly communicated to UGS, it can fail to correlate them with the corresponding start of investigation CL. This causes CLs after resolution to still appear as bad.

More details in PR commit comments.

Hi Yang,

I’ve reviewed over your changes and approved the pull request.

Thank you for contributing these fixes.