Our team is using (roughly) the GitFlow pattern, wherein a short-lived feature branch is merged into a release branch via pull request (PR), then those commits are merged into the develop branch via anther PR.
On the PR from feature branch into release branch, TeamCity correctly reports back a single status for the unit tests, which were run on the refs/pull/*/merge branch.
But, on the PR from release to develop, TeamCity reports back two statuses for unit tests: one for the new refs/pull/*/merge branch, and another for the release branch. It should only be reporting the status for the new refs/pull/*/merge branch.
These duplicative statuses confuse our developers and make the PR look messy.
How can we prevent this from happening?