Default branch is using overall code and not new code


I’m not sure I understand. Your Quality Gate is failing because of issues on New Code not raised in PR/short-branch analysis? Or because of new issues raised in old code after merge?

Unfortunately, that’s somewhat expected, as explained in this guide.