Skip to content

Fix [UseSorting] issue with custom InputObjectType fields in QueryContext#9136

Merged
michaelstaib merged 1 commit intomainfrom
mst/query-context-fix-2
Feb 18, 2026
Merged

Fix [UseSorting] issue with custom InputObjectType fields in QueryContext#9136
michaelstaib merged 1 commit intomainfrom
mst/query-context-fix-2

Conversation

@michaelstaib
Copy link
Copy Markdown
Member

Fixes #9111

@github-actions
Copy link
Copy Markdown
Contributor

Fusion Gateway Performance Results

Simple Composite Query

Req/s Err%
Constant (50 VUs) 2969.80 0.00%
Ramping (0-500-0 VUs) 3379.30 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 0.75ms 14.68ms 16.61ms 30.59ms 36.21ms 171.55ms
Ramping 0.77ms 63.45ms 65.91ms 122.80ms 139.68ms 250.61ms
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) 747.92 0.00%
Ramping (0-500-0 VUs) 820.17 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 8.83ms 62.40ms 65.30ms 80.33ms 88.46ms 342.71ms
Ramping 1.88ms 251.13ms 262.45ms 531.01ms 565.51ms 734.09ms
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) 23270.69 0.00%
Ramping (0-500-0 VUs) 18418.00 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 0.10ms 1.74ms 2.10ms 3.99ms 4.89ms 53.37ms
Ramping 0.09ms 9.40ms 11.42ms 23.49ms 28.32ms 116.72ms
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 22142070652 • Commit f2f46b1 • Wed, 18 Feb 2026 14:32:51 GMT

@michaelstaib michaelstaib merged commit a25daf5 into main Feb 18, 2026
117 checks passed
@michaelstaib michaelstaib deleted the mst/query-context-fix-2 branch February 18, 2026 14:48
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (5594b78) to head (33b983f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff      @@
##   main   #9136   +/-   ##
============================
============================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

[UseSorting] with custom InputObjectType field crashes when using QueryContext

1 participant