Branch: refs/heads/misc-survive-a-sonarcloud-api-failure Home: https://github.com/xwiki/.github Commit: f2b8fde11e44022e251caf8e4ba795df4a1e9a6d https://github.com/xwiki/.github/commit/f2b8fde11e44022e251caf8e4ba795df4a1e... Author: Vincent Massol <[email protected]> Date: 2026-09-18 (Fri, 18 Sep 2026) Changed paths: M .github/workflows/quality-pr.yml Log Message: ----------- [Misc] Do not fail a pull request on a SonarCloud web API failure * Read the body of a failed call: urllib raises on the status line alone, so the 404 that made xwiki-commons pull request 1996 red said nothing about which component SonarCloud could not find. * Try a transport failure and a 5xx again, three times, rather than turning a passing analysis into a red required check. * Treat a 404 from `/api/sources/lines` as "SonarCloud has no word on which lines this pull request wrote" instead of crashing: the file's issues are listed among the inherited ones and a warning names it, since this verdict blames a line only on SonarCloud's own isNew flag. * Report a call that fails anyway as an error naming the call and the answer, not as a Python traceback the pull request author can do nothing with. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/.github/settings/notifications