Abduaziz Umarov and Philippe Martin
3d781fcde7
[GithubIssues GithubPullRequests] Add draft filters without changing unfiltered counts ( #12026 )
...
* refactor(github): separate pull request count service
Count all pull request badge variants through GitHub search so draft qualifiers can be composed consistently. Keep issue badges on the repository issues connection and document each preserved PR route explicitly.
Co-authored-by: Philippe Martin <phmartin@redhat.com >
* test(github): move pull request badge coverage
Keep the existing live picture checks with the service that now owns the pull request routes.
* test(github): cover pull request search variants
Assert the exact unfiltered GitHub search qualifier and preserve open, closed, raw, and non-raw badge rendering.
* test(github): cover draft pull request filters
Verify excludeDrafts, onlyDrafts, label composition, and closed raw rendering against exact GitHub search qualifiers.
* test(github): cover pull request request errors
Reject incompatible draft filters before an outbound request and keep missing repositories distinct from valid zero-count results.
* test(github): guard GraphQL response boundaries
Cover malformed pull request search data and prove issue badges remain on the repository issues query after the service split.
* fix(github): preserve unfiltered pull request counts
* test(github): use live pull request fixtures
---------
Co-authored-by: Philippe Martin <phmartin@redhat.com >
2026-07-21 14:50:02 +00:00
..
2026-05-10 23:11:05 +03:00
2025-09-21 06:45:36 +00:00
2025-11-27 09:09:30 +01:00
2024-10-16 17:36:29 +00:00
2026-01-24 13:34:47 +00:00
2026-06-28 21:02:52 +00:00
2026-05-10 23:11:05 +03:00
2024-11-17 13:15:28 +00:00
2025-09-27 22:27:02 +00:00
2025-10-08 05:55:11 +00:00
2024-01-01 17:38:03 +00:00
2023-12-28 12:57:58 +00:00
2025-11-27 05:40:53 +02:00
2026-07-18 19:15:50 +00:00
2023-12-22 13:25:38 +00:00
2026-03-08 20:28:41 +00:00
2025-12-22 18:58:42 +01:00
2026-05-15 18:59:45 +00:00
2026-01-05 23:42:45 +01:00
2026-07-21 08:32:55 +00:00
2023-12-22 13:25:38 +00:00
2026-05-10 23:11:05 +03:00
2026-06-21 19:49:18 +00:00
2025-12-15 20:26:34 +00:00
2026-05-10 23:11:05 +03:00
2026-07-18 16:59:25 +00:00
2026-05-10 23:11:05 +03:00
2026-07-18 16:59:45 +00:00
2025-09-27 22:27:21 +00:00
2025-01-01 16:07:22 +00:00
2026-05-10 23:11:05 +03:00
2026-06-28 10:33:05 +00:00
2025-12-07 21:17:10 +00:00
2026-03-15 19:57:38 +00:00
2024-02-11 13:04:42 +00:00
2023-11-08 19:49:20 +00:00
2023-12-31 14:14:57 +00:00
2026-07-01 20:33:53 +00:00
2023-12-24 20:26:58 +00:00
2024-03-23 19:54:57 +00:00
2024-11-17 13:15:28 +00:00
2023-08-30 16:14:18 +00:00
2025-06-03 18:05:15 +00:00
2024-09-07 17:59:38 +00:00
2025-01-18 19:16:41 +00:00
2026-05-10 23:11:05 +03:00
2025-11-08 18:14:08 +00:00
2024-01-01 17:38:03 +00:00
2023-12-30 17:38:48 +00:00
2025-10-17 17:35:14 +00:00
2024-11-17 13:15:28 +00:00
2024-07-22 17:54:30 +00:00
2026-06-21 19:50:10 +00:00
2025-05-11 21:10:10 +00:00
2024-11-17 13:15:28 +00:00
2025-09-28 16:58:08 +00:00
2026-02-07 21:43:50 +00:00
2025-11-16 21:32:17 +01:00
2025-09-28 16:09:24 +00:00
2024-11-17 13:15:28 +00:00
2023-12-23 18:19:15 +00:00
2025-09-28 14:48:26 +00:00
2024-11-17 13:15:28 +00:00
2026-07-21 14:50:02 +00:00
2026-05-10 23:11:05 +03:00
2026-05-26 17:46:40 +00:00
2026-05-10 23:11:05 +03:00
2025-12-15 22:41:21 +00:00
2026-05-23 06:34:03 +00:00
2025-09-21 06:45:06 +00:00
2024-04-24 17:06:36 +00:00
2024-10-12 12:02:23 +00:00
2023-12-04 12:53:21 +00:00
2026-07-18 20:51:33 +00:00
2023-12-22 13:25:50 +00:00
2026-05-10 23:11:05 +03:00
2026-05-10 23:11:05 +03:00
2023-12-31 14:14:57 +00:00
2024-03-18 13:53:59 +00:00
2023-12-31 14:08:55 +00:00
2023-12-31 14:08:55 +00:00
2024-05-27 20:34:38 +00:00
2024-05-06 18:59:37 +00:00
2024-03-23 19:54:57 +00:00
2024-10-27 13:35:03 +00:00
2026-06-28 10:32:03 +02:00
2025-01-05 16:20:11 +00:00
2026-01-20 18:11:50 +00:00
2026-05-10 23:11:05 +03:00
2025-06-25 16:14:03 +00:00
2025-12-07 21:17:15 +00:00
2024-09-04 04:03:34 +00:00
2024-09-07 17:56:45 +00:00
2025-12-15 21:19:39 +00:00
2024-07-13 18:57:54 +00:00
2026-03-08 22:25:44 +00:00
2024-12-31 13:54:25 +00:00
2023-12-02 23:13:04 +00:00
2026-05-10 23:11:05 +03:00
2026-06-28 10:38:40 +02:00
2023-12-31 14:14:57 +00:00
2023-12-22 13:25:38 +00:00
2026-05-10 23:11:05 +03:00
2025-11-08 18:14:08 +00:00
2024-07-13 18:57:54 +00:00
2026-05-10 23:11:05 +03:00
2024-11-17 13:15:28 +00:00
2023-12-06 18:42:06 +00:00
2023-12-04 12:53:21 +00:00
2025-11-08 18:14:08 +00:00
2025-01-18 19:16:41 +00:00
2024-01-01 10:32:38 +00:00
2025-10-30 06:56:00 +00:00
2025-12-22 18:58:42 +01:00
2024-11-04 11:40:03 +00:00
2023-12-23 18:12:18 +00:00
2024-01-01 10:32:36 +00:00
2026-04-05 21:06:53 +00:00
2026-01-05 23:42:45 +01:00
2026-05-23 06:34:03 +00:00
2023-12-24 20:26:58 +00:00
2024-06-04 18:13:06 +00:00
2026-06-28 10:37:31 +02:00
2026-05-12 00:26:01 +03:00
2023-12-20 16:28:41 +00:00
2026-06-28 10:38:09 +02:00
2025-01-18 16:13:53 +01:00
2024-12-11 08:07:39 +00:00
2026-01-05 23:42:45 +01:00
2026-03-08 20:34:16 +00:00
2024-07-26 09:17:59 +00:00
2026-06-28 10:33:05 +00:00
2025-10-06 16:29:21 +00:00
2024-05-26 09:16:39 +00:00
2026-05-10 20:14:07 +00:00
2026-05-10 23:11:05 +03:00
2024-12-31 13:54:25 +00:00
2026-03-08 20:29:13 +00:00
2025-07-20 17:13:01 +00:00
2023-09-04 11:02:05 +01:00
2023-09-04 11:02:05 +01:00
2024-12-01 19:53:26 +00:00
2025-09-01 16:39:12 +00:00
2025-11-16 17:23:05 +00:00
2024-12-01 19:53:26 +00:00
2026-05-10 23:11:05 +03:00
2026-07-18 17:00:01 +00:00
2026-05-10 23:11:05 +03:00
2025-01-13 18:30:53 +00:00
2023-12-31 19:39:00 +00:00
2024-03-23 19:54:57 +00:00
2026-06-02 19:35:11 +02:00
2024-08-21 17:35:45 +00:00
2023-12-31 19:39:00 +00:00
2026-05-10 23:11:05 +03:00
2023-08-31 20:31:11 +00:00
2025-08-04 19:26:23 +00:00
2024-01-23 19:05:13 +00:00
2024-11-17 13:15:28 +00:00
2023-08-31 20:31:11 +00:00
2026-05-10 23:11:05 +03:00
2026-05-10 23:11:05 +03:00
2026-04-05 21:06:53 +00:00
2025-01-18 19:16:41 +00:00
2025-11-08 18:14:08 +00:00
2023-12-31 19:39:00 +00:00
2026-07-03 21:07:07 +00:00
2024-12-01 19:53:26 +00:00
2026-05-10 23:11:05 +03:00
2026-06-28 10:33:05 +00:00
2026-04-07 18:51:46 +00:00
2026-01-03 13:41:33 +00:00
2024-02-24 18:14:44 +00:00
2026-05-12 00:26:01 +03:00
2024-11-17 13:15:28 +00:00
2024-11-17 13:15:28 +00:00
2024-11-17 13:15:28 +00:00
2025-09-20 14:54:34 +02:00
2025-09-20 14:54:34 +02:00
2026-06-21 19:50:10 +00:00
2024-04-17 15:36:14 +00:00
2024-04-17 15:36:14 +00:00
2025-06-20 17:38:02 +00:00
2025-06-20 17:38:02 +00:00
2026-07-16 08:05:16 +00:00
2026-07-16 08:05:16 +00:00
2026-01-11 19:32:38 +00:00
2026-07-01 17:30:26 +00:00
2026-04-26 11:02:23 +00:00
2024-11-17 13:15:28 +00:00
2024-11-17 13:15:28 +00:00
2025-12-09 20:43:57 +00:00
2024-11-11 19:34:08 +00:00
2024-11-11 19:34:08 +00:00
2025-10-06 16:30:22 +00:00