Skip to content

Fix QueryContext selector to respect @include and @skip directives#9135

Merged
michaelstaib merged 2 commits intomainfrom
mst/querycontext-includeflags
Feb 18, 2026
Merged

Fix QueryContext selector to respect @include and @skip directives#9135
michaelstaib merged 2 commits intomainfrom
mst/querycontext-includeflags

Conversation

@michaelstaib
Copy link
Copy Markdown
Member

@michaelstaib michaelstaib commented Feb 18, 2026

Fixes #9066

@michaelstaib michaelstaib merged commit 84e8687 into main Feb 18, 2026
5 checks passed
@michaelstaib michaelstaib deleted the mst/querycontext-includeflags branch February 18, 2026 13:12
@github-actions
Copy link
Copy Markdown
Contributor

Fusion Gateway Performance Results

Simple Composite Query

Req/s Err%
Constant (50 VUs) 2906.90 0.00%
Ramping (0-500-0 VUs) 3256.44 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 0.77ms 15.09ms 16.98ms 31.39ms 36.81ms 172.81ms
Ramping 0.81ms 67.96ms 68.37ms 127.06ms 143.41ms 277.58ms
query TestQuery {
  topProducts(first: 5) {
    inStock
    name
    price
    shippingEstimate
    upc
    weight
    reviews {
      id
      body
      author {
        id
        username
        name
      }
    }
  }
}

Deep Recursion Query

Req/s Err%
Constant (50 VUs) 749.45 0.00%
Ramping (0-500-0 VUs) 812.71 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 9.06ms 62.21ms 65.15ms 80.88ms 89.35ms 386.71ms
Ramping 1.84ms 253.10ms 264.08ms 532.61ms 571.72ms 728.03ms
query TestQuery {
  users {
    id
    username
    name
    reviews {
      id
      body
      product {
        inStock
        name
        price
        shippingEstimate
        upc
        weight
        reviews {
          id
          body
          author {
            id
            username
            name
            reviews {
              id
              body
              product {
                inStock
                name
                price
                shippingEstimate
                upc
                weight
              }
            }
          }
        }
      }
    }
  }
  topProducts(first: 5) {
    inStock
    name
    price
    shippingEstimate
    upc
    weight
    reviews {
      id
      body
      author {
        id
        username
        name
        reviews {
          id
          body
          product {
            inStock
            name
            price
            shippingEstimate
            upc
            weight
          }
        }
      }
    }
  }
}

Variable Batching Throughput

Req/s Err%
Constant (50 VUs) 23132.80 0.00%
Ramping (0-500-0 VUs) 18335.12 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 0.10ms 1.75ms 2.11ms 3.99ms 4.90ms 53.28ms
Ramping 0.10ms 9.46ms 11.45ms 23.60ms 28.48ms 102.96ms
query TestQuery($upc: ID!, $price: Long!, $weight: Long!) {
  productByUpc(upc: $upc) {
    inStock
    shippingEstimate(weight: $weight, price: $price)
  }
}

Variables (5 sets batched per request)

[
  { "upc": "1", "price": 899, "weight": 100 },
  { "upc": "2", "price": 1299, "weight": 1000 },
  { "upc": "3", "price": 15, "weight": 20 },
  { "upc": "4", "price": 499, "weight": 100 },
  { "upc": "5", "price": 1299, "weight": 1000 }
]

Run 22141145738 • Commit f87f93e • Wed, 18 Feb 2026 13:36:23 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.

QueryContext selector fails to respect @include (if: false) and @skip (if: true)

1 participant