Fix history calculation when a reviewing user has been deleted
Created by: eseliger
An empty actor means that the user doesn't exist anymore. On GitHub, it's displayed as the @ghost user. Since the reviews of undetermined users don't count towards the final review state, they can simply be skipped. I think for the sake of simplicity, we don't need to over handle some broken data here we can't tell apart from actual empty actors easily.
Merge request reports
Activity
Created by: sourcegraph-bot
Notifying subscribers in CODENOTIFY files for diff 459e6b1c5382425cd1c55a453200600dfb3a6731...fb37920a4697a0e2d6de3a2ed9cef690f6e3df50.
Notify File(s) @LawnGnome enterprise/internal/campaigns/changeset_history.go
enterprise/internal/campaigns/counts_test.go
internal/campaigns/changeset_event.goCreated by: sonarcloud[bot]
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities (and
0 Security Hotspots to review)
0 Code Smells
No Coverage information
0.0% Duplication
Please register or sign in to reply