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

[integration/bun] add tests for shared context #3170

Merged
merged 3 commits into from May 17, 2024
Merged

Conversation

EmrysMyrddin
Copy link
Collaborator

@EmrysMyrddin EmrysMyrddin commented Jan 19, 2024

fixes bun integration issues where the context is shared between all requests.

Copy link

changeset-bot bot commented Jan 19, 2024

⚠️ No Changeset found

Latest commit: fd1deeb

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 Jan 19, 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 Jan 19, 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% ✓ 400032      ✗ 0     
     data_received................................: 1.6 GB  14 MB/s
     data_sent....................................: 81 MB   673 kB/s
     http_req_blocked.............................: avg=1.47µs   min=1µs      med=1.31µs   max=326.04µs p(90)=1.93µs   p(95)=2.14µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=137.93µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=390.37µs min=224.31µs med=345.18µs max=24.63ms  p(90)=546.25µs p(95)=566.3µs 
       { expected_response:true }.................: avg=390.37µs min=224.31µs med=345.18µs max=24.63ms  p(90)=546.25µs p(95)=566.3µs 
     ✓ { mode:graphql-jit }.......................: avg=294.27µs min=224.31µs med=271.73µs max=14.57ms  p(90)=303.86µs p(95)=317.99µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=576.65µs min=482.24µs med=544.82µs max=10.37ms  p(90)=586.3µs  p(95)=625.5µs 
     ✓ { mode:graphql-response-cache }............: avg=369.04µs min=291.88µs med=349.01µs max=6.77ms   p(90)=381.89µs p(95)=394.15µs
     ✓ { mode:graphql }...........................: avg=385.88µs min=300.1µs  med=351.65µs max=24.63ms  p(90)=402.57µs p(95)=456.55µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 200016
     http_req_receiving...........................: avg=33.63µs  min=17.44µs  med=33.47µs  max=1.6ms    p(90)=39.21µs  p(95)=41.56µs 
     http_req_sending.............................: avg=8.14µs   min=5.93µs   med=7.25µs   max=303.86µs p(90)=10.77µs  p(95)=11.57µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=348.6µs  min=191.86µs med=304.09µs max=24.34ms  p(90)=504.32µs p(95)=522.35µs
     http_reqs....................................: 200016  1666.763147/s
     iteration_duration...........................: avg=595.13µs min=392.54µs med=546.11µs max=25.52ms  p(90)=754.6µs  p(95)=779.12µs
     iterations...................................: 200016  1666.763147/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

Copy link
Contributor

github-actions bot commented Jan 19, 2024

💻 Website Preview

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

Copy link
Contributor

github-actions bot commented Jan 19, 2024

🚀 Snapshot Release (rc)

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

Package Version Info
graphql-yoga-cloud-run-guide 3.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/apollo-link 3.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 3.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/graphiql 4.3.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
graphql-yoga 5.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs 3.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/nestjs-federation 3.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 3.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 3.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-csrf-prevention 3.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-defer-stream 3.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-disable-introspection 2.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-graphql-sse 3.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-jwt 2.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 3.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 5.1.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 3.6.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-sofa 3.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 5.4.0-rc-20240517153318-fd1deeb3 npm ↗︎ unpkg ↗︎

@EmrysMyrddin EmrysMyrddin changed the title upgrade whatwg-node to latest [integration/bun] add tests for shared context May 17, 2024
@EmrysMyrddin EmrysMyrddin merged commit 71f276e into main May 17, 2024
26 of 27 checks passed
@EmrysMyrddin EmrysMyrddin deleted the update-whatwg-node branch May 17, 2024 18:16
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