{"data":{"id":"magento2-40742","source":"github-pr","sourceRef":"magento/magento2#40742","title":"[Bug] GraphQL SearchCriteriaValidator not loaded — removed by module-graph-ql di.xml array override","pr":{"number":40742,"url":"https://github.com/magento/magento2/pull/40742","author":"mtytula","mergedAt":"2026-05-20T15:36:42Z","mergeCommit":"18d09bd5f64afcb5d6a28310c68ce37abaa16068","headCommit":"c51178cef5a5f282590fe2e5a4b995835d9cacee","baseRef":"2.4-develop","diffSha256":"7adc54af8bdf815683cb082fe8e5b087574ce53fa601e8138dac358e75a97073"},"issues":[{"number":40762,"url":"https://github.com/magento/magento2/issues/40762","title":"[Issue] [Bug] GraphQL SearchCriteriaValidator not loaded — removed by module-graph-ql di.xml array override","labels":["Area: Catalog","Component: GraphQL","Issue: Confirmed","Priority: P3","Progress: PR Created","Progress: done","Reported on 2.4.x","Reproduced on 2.4.x"],"kind":"pr-derived"}],"fixedIn":null,"containingTags":[],"reportedOn":null,"codeMatch":{"2.4.6":"conflict","2.4.6-p1":"conflict","2.4.6-p2":"conflict","2.4.6-p3":"conflict","2.4.6-p4":"conflict","2.4.6-p5":"conflict","2.4.6-p6":"conflict","2.4.6-p7":"conflict","2.4.6-p8":"conflict","2.4.6-p9":"conflict","2.4.6-p10":"conflict","2.4.6-p11":"conflict","2.4.6-p12":"conflict","2.4.6-p13":"conflict","2.4.6-p14":"conflict","2.4.6-p15":"conflict","2.4.7":"clean","2.4.7-p1":"clean","2.4.7-p2":"clean","2.4.7-p3":"clean","2.4.7-p4":"clean","2.4.7-p5":"clean","2.4.7-p6":"clean","2.4.7-p7":"clean","2.4.7-p8":"clean","2.4.7-p9":"clean","2.4.7-p10":"clean","2.4.8":"clean","2.4.8-p1":"clean","2.4.8-p2":"clean","2.4.8-p3":"clean","2.4.8-p4":"clean","2.4.8-p5":"clean","2.4.9":"clean"},"affectedVersions":["2.4.7","2.4.7-p1","2.4.7-p2","2.4.7-p3","2.4.7-p4","2.4.7-p5","2.4.7-p6","2.4.7-p7","2.4.7-p8","2.4.7-p9","2.4.7-p10","2.4.8","2.4.8-p1","2.4.8-p2","2.4.8-p3","2.4.8-p4","2.4.8-p5","2.4.9"],"components":["magento/module-graph-ql"],"files":[{"path":"app/code/Magento/GraphQl/etc/di.xml","change":"modified","package":"magento/module-graph-ql"}],"stripped":{"tests":["dev/tests/api-functional/testsuite/Magento/GraphQl/Query/SearchCriteriaValidatorTest.php","dev/tests/integration/testsuite/Magento/GraphQl/Query/CompositeValidatorTest.php"],"docs":[],"outsideCode":["app/etc/di.xml"]},"linesChanged":5,"mergeBatched":false,"excluded":null,"sections":{"description":null,"stepsToReproduce":null,"expectedResult":null,"actualResult":null,"source":null},"signatures":[],"labels":{"area":["Catalog"],"component":["GraphQL"],"priority":"P3","severity":null,"reportedOn":["2.4.x"]},"categories":["GraphQL"],"triage":{"model":"@cf/cloudflare/clef","requestHash":"f99b65b315b9f264c40108fec37bfd482265c98df8119fa1f9855cc632597c5a","isBugfix":0.9828,"changeKind":{"choice":"bugfix","probabilities":{"bugfix":0.9286,"feature":0.0142,"refactor":0.0283,"tests_only":0.0143,"docs_only":0.0059,"dependency":0.0087},"confidence":0.8362},"scope":{"score":0.8797,"probabilities":{"0":0.3242,"1":0.4719,"2":0.2039},"confidence":0.0541},"risk":{"score":0.4048,"probabilities":{"0":0.651,"1":0.2932,"2":0.0558},"confidence":0.2693},"area":{"choice":"graphql_api","probabilities":{"catalog":0.011,"checkout":0.0032,"customer":0.0024,"admin":0.0043,"graphql_api":0.9093,"framework":0.0627,"frontend":0.0031,"other":0.004},"confidence":0.8067},"securityRelevant":0.0977,"reportedVersion":{"choice":"2.4.7-p9","probabilities":{"2.4.0":0.0018,"2.4.0-p1":0.0021,"2.4.1":0.0019,"2.4.1-p1":0.002,"2.4.2":0.0018,"2.4.2-p1":0.0021,"2.4.2-p2":0.0021,"2.4.3":0.002,"2.4.3-p1":0.0023,"2.4.3-p2":0.0027,"2.4.3-p3":0.0023,"2.4.4":0.0022,"2.4.4-p1":0.0023,"2.4.4-p10":0.0032,"2.4.4-p11":0.0037,"2.4.4-p12":0.0035,"2.4.4-p13":0.003,"2.4.4-p14":0.0036,"2.4.4-p15":0.0028,"2.4.4-p16":0.0034,"2.4.4-p17":0.0032,"2.4.4-p18":0.0025,"2.4.4-p2":0.0019,"2.4.4-p3":0.002,"2.4.4-p4":0.0021,"2.4.4-p5":0.0023,"2.4.4-p6":0.0027,"2.4.4-p7":0.0031,"2.4.4-p8":0.0035,"2.4.4-p9":0.0038,"2.4.5":0.0023,"2.4.5-p1":0.0023,"2.4.5-p10":0.0027,"2.4.5-p11":0.0029,"2.4.5-p12":0.0036,"2.4.5-p13":0.0033,"2.4.5-p14":0.0034,"2.4.5-p15":0.0031,"2.4.5-p16":0.0034,"2.4.5-p17":0.0031,"2.4.5-p2":0.0021,"2.4.5-p3":0.0023,"2.4.5-p4":0.0024,"2.4.5-p5":0.0024,"2.4.5-p6":0.0031,"2.4.5-p7":0.0032,"2.4.5-p8":0.003,"2.4.5-p9":0.0024,"2.4.6":0.0062,"2.4.6-p1":0.0033,"2.4.6-p10":0.0048,"2.4.6-p11":0.0057,"2.4.6-p12":0.0053,"2.4.6-p13":0.0051,"2.4.6-p14":0.0044,"2.4.6-p15":0.0036,"2.4.6-p2":0.0025,"2.4.6-p3":0.0029,"2.4.6-p4":0.0036,"2.4.6-p5":0.0037,"2.4.6-p6":0.0047,"2.4.6-p7":0.0063,"2.4.6-p8":0.005,"2.4.6-p9":0.0036,"2.4.7":0.1474,"2.4.7-p1":0.0025,"2.4.7-p10":0.0097,"2.4.7-p2":0.0021,"2.4.7-p3":0.0031,"2.4.7-p4":0.0043,"2.4.7-p5":0.0044,"2.4.7-p6":0.0067,"2.4.7-p7":0.0126,"2.4.7-p8":0.0188,"2.4.7-p9":0.5347,"2.4.8":0.0079,"2.4.8-p1":0.0076,"2.4.8-p2":0.0071,"2.4.8-p3":0.0071,"2.4.8-p4":0.0078,"2.4.8-p5":0.006,"2.4.9":0.0061,"unspecified":0.0045},"confidence":0.301},"backportWorthy":{"score":1.7156,"probabilities":{"0":0.058,"1":0.1684,"2":0.7736},"confidence":0.4452}},"curated":{"title":"Fixes GraphQL pageSize above the configured maximum being accepted without error","description":"A GraphQL query with a pageSize exceeding the configured limit is accepted without any error, as the searchCriteriaValidator from the primary di.xml is dropped by the backpressureValidator array in the module di.xml. The fix adds searchCriteriaValidator to the module di.xml next to backpressureValidator.","categories":["GraphQL"],"author":"claude-code/opus-5.5","date":"2026-10-06","reviewedBy":null},"tests":{"2.4.8-p5":{"before":"fail","after":"pass","adapted":false,"runAt":"2026-10-06T10:07:02.210Z","releaseCommit":"870a22c63d9d9b68fa3297962e2d5d5841115814","suites":{"integration":{"before":"fail","after":"pass","runAt":"2026-10-06T09:38:19.242Z"},"api-functional":{"before":"fail","after":"pass","runAt":"2026-10-06T10:07:02.210Z"}}},"2.4.9":{"before":"fail","after":"pass","adapted":false,"runAt":"2026-10-06T10:07:10.320Z","releaseCommit":"755e34dd689021c5165db9d35ecff74f7dc51527","suites":{"integration":{"before":"fail","after":"pass","runAt":"2026-10-06T09:38:29.412Z"},"api-functional":{"before":"fail","after":"pass","runAt":"2026-10-06T10:07:10.320Z"}}},"2.4.7-p10":{"before":"fail","after":"error","adapted":false,"runAt":"2026-10-06T10:56:55.605Z","releaseCommit":"72561bf80652f57cc642a03e2c9a51d74a285b14","suites":{"integration":{"before":"not-runnable","after":"error","runAt":"2026-10-06T10:06:57.890Z"},"api-functional":{"before":"fail","after":"pass","runAt":"2026-10-06T10:56:55.605Z"}}}}},"_documentation":"https://magento.watch/api","_description":"Upstream fix magento2-40742 details"}