Skip to content

Fix defer race-condition in WorkScheduler#9166

Merged
michaelstaib merged 1 commit intomainfrom
mst/race-condition
Feb 20, 2026
Merged

Fix defer race-condition in WorkScheduler#9166
michaelstaib merged 1 commit intomainfrom
mst/race-condition

Conversation

@michaelstaib
Copy link
Copy Markdown
Member

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

Fusion Gateway Performance Results

Simple Composite Query

Req/s Err%
Constant (50 VUs) 2889.09 0.00%
Ramping (0-500-0 VUs) 3238.65 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 0.79ms 15.43ms 17.08ms 30.47ms 35.82ms 170.02ms
Ramping 0.77ms 68.35ms 68.80ms 126.74ms 141.37ms 238.50ms
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) 753.02 0.00%
Ramping (0-500-0 VUs) 812.57 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 6.74ms 61.75ms 64.87ms 80.91ms 90.00ms 359.35ms
Ramping 1.80ms 257.71ms 265.33ms 530.49ms 566.75ms 713.79ms
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) 23667.11 0.00%
Ramping (0-500-0 VUs) 18702.65 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 0.10ms 1.70ms 2.06ms 3.94ms 4.82ms 61.08ms
Ramping 0.10ms 9.37ms 11.30ms 23.12ms 27.93ms 100.48ms
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 22225749875 • Commit 1109b88 • Fri, 20 Feb 2026 13:42:26 GMT

@michaelstaib michaelstaib merged commit 32bf239 into main Feb 20, 2026
117 checks passed
@michaelstaib michaelstaib deleted the mst/race-condition branch February 20, 2026 13:43
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (6a3b7a3) to head (94196fe).
⚠️ Report is 785 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #9166       +/-   ##
==========================================
- Coverage   74.16%       0   -74.17%     
==========================================
  Files        2677       0     -2677     
  Lines      140790       0   -140790     
  Branches    16371       0    -16371     
==========================================
- Hits       104421       0   -104421     
+ Misses      30774       0    -30774     
+ Partials     5595       0     -5595     
Flag Coverage Δ
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

1 participant