Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test if the server context is available in batched queries #3343

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ardatan
Copy link
Collaborator

@ardatan ardatan commented Jul 1, 2024

No description provided.

Copy link

changeset-bot bot commented Jul 1, 2024

⚠️ No Changeset found

Latest commit: 9ddecdb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Jul 1, 2024

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-yoga/apollo-link 3.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 3.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/graphiql 4.3.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
graphql-yoga 5.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs 3.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs-federation 3.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 3.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/apollo-managed-federation 0.3.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 3.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-csrf-prevention 3.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-defer-stream 3.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-disable-introspection 2.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-graphql-sse 3.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-jwt 2.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 3.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 5.3.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 3.8.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-sofa 3.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 5.6.1-alpha-20240701204406-9ddecdbe npm ↗︎ unpkg ↗︎

Copy link
Contributor

github-actions bot commented Jul 1, 2024

💻 Website Preview

The latest changes are available as preview in: https://ed45e2fc.graphql-yoga.pages.dev

Copy link
Contributor

github-actions bot commented Jul 1, 2024

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

Copy link
Contributor

github-actions bot commented Jul 1, 2024

✅ Benchmark Results

     ✓ no_errors{mode:graphql}
     ✓ expected_result{mode:graphql}
     ✓ no_errors{mode:graphql-jit}
     ✓ expected_result{mode:graphql-jit}
     ✓ no_errors{mode:graphql-response-cache}
     ✓ expected_result{mode:graphql-response-cache}
     ✓ no_errors{mode:graphql-no-parse-validate-cache}
     ✓ expected_result{mode:graphql-no-parse-validate-cache}

     checks.......................................: 100.00% ✓ 410494      ✗ 0     
     data_received................................: 1.7 GB  14 MB/s
     data_sent....................................: 83 MB   691 kB/s
     http_req_blocked.............................: avg=1.55µs   min=1.05µs   med=1.36µs   max=243.35µs p(90)=2.06µs   p(95)=2.27µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=125.01µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=368.17µs min=218.74µs med=330.83µs max=24.38ms  p(90)=472.06µs p(95)=489.86µs
       { expected_response:true }.................: avg=368.17µs min=218.74µs med=330.83µs max=24.38ms  p(90)=472.06µs p(95)=489.86µs
     ✓ { mode:graphql-jit }.......................: avg=289.71µs min=218.74µs med=267.6µs  max=15.41ms  p(90)=297.4µs  p(95)=310.29µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=497.34µs min=405.56µs med=468.01µs max=9.76ms   p(90)=505.22µs p(95)=532.76µs
     ✓ { mode:graphql-response-cache }............: avg=349.63µs min=268.77µs med=330.45µs max=6.53ms   p(90)=360.44µs p(95)=372.36µs
     ✓ { mode:graphql }...........................: avg=373.08µs min=279.94µs med=339.21µs max=24.38ms  p(90)=383.62µs p(95)=439.69µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 205247
     http_req_receiving...........................: avg=34.95µs  min=17.7µs   med=34.59µs  max=4.08ms   p(90)=40.33µs  p(95)=42.69µs 
     http_req_sending.............................: avg=8.82µs   min=6.06µs   med=7.78µs   max=319.72µs p(90)=11.45µs  p(95)=12.77µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=324.39µs min=181.61µs med=287.73µs max=24.25ms  p(90)=427.65µs p(95)=443.23µs
     http_reqs....................................: 205247  1710.364864/s
     iteration_duration...........................: avg=579.65µs min=394.7µs  med=538.75µs max=25.01ms  p(90)=687.7µs  p(95)=710.2µs 
     iterations...................................: 205247  1710.364864/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

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.

None yet

1 participant