Skip to content

Conversation

@tobias-tengler
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings January 18, 2026 17:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug where the DocumentValidatorContext was not being reset between individual validation rule invocations, potentially causing state leakage across rules.

Changes:

  • Added context.Reset() call in the validation loop to clear accumulated visitor state between rule invocations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

🚀 Fusion Gateway Performance Results

Simple Composite Query

Constant Load (50 VUs)

Requests/sec Error Rate
5899.51 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.83ms 7.04ms 161.24ms 8.32ms 12.90ms 18.51ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
4566.27 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.78ms 39.61ms 274.62ms 48.49ms 107.26ms 125.08ms

Executed Query

fragment User on User {
  id
  username
  name
}

fragment Review on Review {
  id
  body
}

fragment Product on Product {
  inStock
  name
  price
  shippingEstimate
  upc
  weight
}

query TestQuery {
  topProducts(first: 5) {
    ...Product
    reviews {
      ...Review
      author {
        ...User
      }
    }
  }
}

Deep Recursion Query

Constant Load (50 VUs)

Requests/sec Error Rate
269.23 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
12.47ms 174.77ms 544.98ms 180.19ms 225.63ms 251.41ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
311.82 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
3.02ms 665.97ms 1599.14ms 678.26ms 1357.85ms 1434.28ms

Executed Query

fragment User on User {
  id
  username
  name
}

fragment Review on Review {
  id
  body
}

fragment Product on Product {
  inStock
  name
  price
  shippingEstimate
  upc
  weight
}

query TestQuery {
  users {
    ...User
    reviews {
      ...Review
      product {
        ...Product
        reviews {
          ...Review
          author {
            ...User
            reviews {
              ...Review
              product {
                ...Product
              }
            }
          }
        }
      }
    }
  }
  topProducts(first: 5) {
    ...Product
    reviews {
      ...Review
      author {
        ...User
        reviews {
          ...Review
          product {
            ...Product
          }
        }
      }
    }
  }
}

Variable Batching Throughput

Constant Load (50 VUs)

Requests/sec Error Rate
24128.55 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.09ms 1.67ms 50.43ms 2.02ms 3.84ms 4.71ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
19070.29 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.09ms 9.04ms 110.62ms 11.07ms 23.00ms 27.81ms

Executed Query

query TestQuery_8f7a46ce_2(
  $__fusion_1_upc: ID!
  $__fusion_2_price: Long!
  $__fusion_2_weight: Long!
) {
  productByUpc(upc: $__fusion_1_upc) {
    inStock
    shippingEstimate(weight: $__fusion_2_weight, price: $__fusion_2_price)
  }
}

Variables (5 sets batched in single request)

[
  { "__fusion_1_upc": "1", "__fusion_2_price": 899, "__fusion_2_weight": 100 },
  { "__fusion_1_upc": "2", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 },
  { "__fusion_1_upc": "3", "__fusion_2_price": 15, "__fusion_2_weight": 20 },
  { "__fusion_1_upc": "4", "__fusion_2_price": 499, "__fusion_2_weight": 100 },
  { "__fusion_1_upc": "5", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 }
]

No baseline data available for comparison.


Run 21115446776 • Commit 65e5f46 • Sun, 18 Jan 2026 17:24:24 GMT

@tobias-tengler tobias-tengler changed the title Reset DocumentValidatorContext between rule invocations [Validation] Reset DocumentValidatorContext between rule invocations Jan 18, 2026
@github-actions
Copy link
Contributor

🚀 Fusion Gateway Performance Results

Simple Composite Query

Constant Load (50 VUs)

Requests/sec Error Rate
5918.36 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.82ms 6.99ms 160.15ms 8.30ms 12.83ms 18.44ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
4585.83 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.80ms 38.58ms 220.90ms 48.44ms 109.84ms 128.65ms

Executed Query

fragment User on User {
  id
  username
  name
}

fragment Review on Review {
  id
  body
}

fragment Product on Product {
  inStock
  name
  price
  shippingEstimate
  upc
  weight
}

query TestQuery {
  topProducts(first: 5) {
    ...Product
    reviews {
      ...Review
      author {
        ...User
      }
    }
  }
}

Deep Recursion Query

Constant Load (50 VUs)

Requests/sec Error Rate
272.14 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
12.50ms 173.03ms 637.14ms 178.19ms 223.66ms 246.44ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
309.36 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
2.98ms 675.98ms 1650.66ms 684.46ms 1387.61ms 1474.88ms

Executed Query

fragment User on User {
  id
  username
  name
}

fragment Review on Review {
  id
  body
}

fragment Product on Product {
  inStock
  name
  price
  shippingEstimate
  upc
  weight
}

query TestQuery {
  users {
    ...User
    reviews {
      ...Review
      product {
        ...Product
        reviews {
          ...Review
          author {
            ...User
            reviews {
              ...Review
              product {
                ...Product
              }
            }
          }
        }
      }
    }
  }
  topProducts(first: 5) {
    ...Product
    reviews {
      ...Review
      author {
        ...User
        reviews {
          ...Review
          product {
            ...Product
          }
        }
      }
    }
  }
}

Variable Batching Throughput

Constant Load (50 VUs)

Requests/sec Error Rate
24255.71 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.09ms 1.66ms 49.74ms 2.01ms 3.83ms 4.69ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
18997.44 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.09ms 9.11ms 103.12ms 11.06ms 22.88ms 27.46ms

Executed Query

query TestQuery_8f7a46ce_2(
  $__fusion_1_upc: ID!
  $__fusion_2_price: Long!
  $__fusion_2_weight: Long!
) {
  productByUpc(upc: $__fusion_1_upc) {
    inStock
    shippingEstimate(weight: $__fusion_2_weight, price: $__fusion_2_price)
  }
}

Variables (5 sets batched in single request)

[
  { "__fusion_1_upc": "1", "__fusion_2_price": 899, "__fusion_2_weight": 100 },
  { "__fusion_1_upc": "2", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 },
  { "__fusion_1_upc": "3", "__fusion_2_price": 15, "__fusion_2_weight": 20 },
  { "__fusion_1_upc": "4", "__fusion_2_price": 499, "__fusion_2_weight": 100 },
  { "__fusion_1_upc": "5", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 }
]

No baseline data available for comparison.


Run 21116017461 • Commit 906165d • Sun, 18 Jan 2026 18:06:20 GMT

@tobias-tengler tobias-tengler merged commit d578aae into main Jan 18, 2026
116 checks passed
@tobias-tengler tobias-tengler deleted the tte/reset-validation-context branch January 18, 2026 18:37
@github-actions
Copy link
Contributor

🚀 Fusion Gateway Performance Results

Simple Composite Query

Constant Load (50 VUs)

Requests/sec Error Rate
5922.33 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.77ms 7.00ms 162.94ms 8.29ms 12.94ms 18.37ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
4550.89 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.82ms 39.37ms 254.51ms 48.77ms 107.88ms 124.05ms

Executed Query

fragment User on User {
  id
  username
  name
}

fragment Review on Review {
  id
  body
}

fragment Product on Product {
  inStock
  name
  price
  shippingEstimate
  upc
  weight
}

query TestQuery {
  topProducts(first: 5) {
    ...Product
    reviews {
      ...Review
      author {
        ...User
      }
    }
  }
}

Deep Recursion Query

Constant Load (50 VUs)

Requests/sec Error Rate
270.12 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
12.93ms 173.74ms 616.86ms 179.57ms 228.43ms 254.65ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
307.51 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
3.04ms 672.87ms 1710.62ms 687.78ms 1388.26ms 1484.80ms

Executed Query

fragment User on User {
  id
  username
  name
}

fragment Review on Review {
  id
  body
}

fragment Product on Product {
  inStock
  name
  price
  shippingEstimate
  upc
  weight
}

query TestQuery {
  users {
    ...User
    reviews {
      ...Review
      product {
        ...Product
        reviews {
          ...Review
          author {
            ...User
            reviews {
              ...Review
              product {
                ...Product
              }
            }
          }
        }
      }
    }
  }
  topProducts(first: 5) {
    ...Product
    reviews {
      ...Review
      author {
        ...User
        reviews {
          ...Review
          product {
            ...Product
          }
        }
      }
    }
  }
}

Variable Batching Throughput

Constant Load (50 VUs)

Requests/sec Error Rate
24232.82 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.09ms 1.66ms 38.92ms 2.01ms 3.84ms 4.69ms

Ramping Load (0→50→500→50 VUs)

Requests/sec Error Rate
18876.15 req/s 0.00%
📊 Response Time Metrics
Min Med Max Avg P90 P95
0.09ms 9.17ms 113.62ms 11.22ms 23.23ms 28.15ms

Executed Query

query TestQuery_8f7a46ce_2(
  $__fusion_1_upc: ID!
  $__fusion_2_price: Long!
  $__fusion_2_weight: Long!
) {
  productByUpc(upc: $__fusion_1_upc) {
    inStock
    shippingEstimate(weight: $__fusion_2_weight, price: $__fusion_2_price)
  }
}

Variables (5 sets batched in single request)

[
  { "__fusion_1_upc": "1", "__fusion_2_price": 899, "__fusion_2_weight": 100 },
  { "__fusion_1_upc": "2", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 },
  { "__fusion_1_upc": "3", "__fusion_2_price": 15, "__fusion_2_weight": 20 },
  { "__fusion_1_upc": "4", "__fusion_2_price": 499, "__fusion_2_weight": 100 },
  { "__fusion_1_upc": "5", "__fusion_2_price": 1299, "__fusion_2_weight": 1000 }
]

No baseline data available for comparison.


Run 21116591141 • Commit 0c69bfb • Sun, 18 Jan 2026 18:50:11 GMT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants