Skip to content

Backport 25.1: Validation cleanup - #4462

Merged
andimarek merged 2 commits into
25.xfrom
codex/backport-4441-to-25.x
Aug 24, 2026
Merged

Backport 25.1: Validation cleanup#4462
andimarek merged 2 commits into
25.xfrom
codex/backport-4441-to-25.x

Conversation

@andimarek

Copy link
Copy Markdown
Member

Backport of #4441 to the 25.x maintenance branch.

The 25.x branch still uses the rule-based validator, so the same linear fragment-cycle algorithm is applied to NoFragmentCycles rather than the newer OperationValidator. The original focused coverage is retained.

Summary:

  • makes fragment cycle validation linear
  • avoids repeatedly copying fragment paths while retaining validation behavior
  • adds focused coverage for large fragment graphs

Testing:

  • RELEASE_VERSION=local-test ./gradlew test -x testWithJava11 -x testWithJava17 --tests graphql.validation.rules.NoFragmentCyclesTest (15 tests on Java 21)

@github-actions

Copy link
Copy Markdown
Contributor

Test Results

  326 files    326 suites   4m 48s ⏱️
5 220 tests 5 211 ✅ 9 💤 0 ❌
5 309 runs  5 300 ✅ 9 💤 0 ❌

Results for commit 6f0cb3a.

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 6f0cb3a.

♻️ This comment has been updated with latest results.

@github-actions

Copy link
Copy Markdown
Contributor

Test Report

Test Results

Java Version Total Passed Failed Errors Skipped
Java 11 - - - - -
Java 17 - - - - -
Java 21 - - - - -
Java 25 - - - - -
jcstress - - - - -

Updated: 2026-08-23 23:58:26 UTC

@andimarek
andimarek merged commit 7f25ee6 into 25.x Aug 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant