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

Use Apollo's Federation compatibility checker action #2511

Merged
merged 8 commits into from
Feb 28, 2023
Merged

Conversation

enisdenjo
Copy link
Collaborator

@changeset-bot
Copy link

changeset-bot bot commented Feb 28, 2023

⚠️ No Changeset found

Latest commit: c901ce7

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 28, 2023

🚀 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 1.6.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
@graphql-yoga/urql-exchange 1.6.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
@graphql-yoga/common 3.7.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
graphql-yoga 3.7.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
@graphql-yoga/node 3.7.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apollo-inline-trace 1.7.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-apq 1.7.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-csrf-prevention 1.3.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-defer-stream 1.7.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-disable-introspection 0.6.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-graphql-sse 1.3.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-persisted-operations 1.7.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-prometheus 1.7.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-response-cache 1.7.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
@graphql-yoga/plugin-sofa 1.7.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 3.7.1-alpha-20230228165023-0f9d9402 npm ↗︎ unpkg ↗︎

@github-actions
Copy link
Contributor

github-actions bot commented Feb 28, 2023

💻 Website Preview

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 28, 2023

✅ 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% ✓ 322242      ✗ 0     
     data_received................................: 1.3 GB  11 MB/s
     data_sent....................................: 65 MB   542 kB/s
     http_req_blocked.............................: avg=1.62µs   min=1µs     med=1.4µs   max=646.1µs p(90)=1.9µs   p(95)=2.1µs   
     http_req_connecting..........................: avg=5ns      min=0s      med=0s      max=491.7µs p(90)=0s      p(95)=0s      
     http_req_duration............................: avg=495.86µs min=264µs   med=402.8µs max=35.51ms p(90)=732µs   p(95)=759.9µs 
       { expected_response:true }.................: avg=495.86µs min=264µs   med=402.8µs max=35.51ms p(90)=732µs   p(95)=759.9µs 
     ✓ { mode:graphql-jit }.......................: avg=370.09µs min=264µs   med=326.3µs max=26.09ms p(90)=385.3µs p(95)=414.5µs 
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=794.48µs min=667.4µs med=730.1µs max=33.5ms  p(90)=794.4µs p(95)=868.34µs
     ✓ { mode:graphql-response-cache }............: avg=424.49µs min=311.1µs med=387.7µs max=35.51ms p(90)=428.2µs p(95)=447.1µs 
     ✓ { mode:graphql }...........................: avg=513.68µs min=383.2µs med=444.4µs max=25.35ms p(90)=519µs   p(95)=595.92µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 161121
     http_req_receiving...........................: avg=29.21µs  min=17µs    med=25.5µs  max=12.28ms p(90)=36.6µs  p(95)=41.09µs 
     http_req_sending.............................: avg=12.71µs  min=6.2µs   med=7.9µs   max=4.96ms  p(90)=12.6µs  p(95)=14.3µs  
     http_req_tls_handshaking.....................: avg=0s       min=0s      med=0s      max=0s      p(90)=0s      p(95)=0s      
     http_req_waiting.............................: avg=453.93µs min=234.3µs med=363.4µs max=35.44ms p(90)=697µs   p(95)=719.5µs 
     http_reqs....................................: 161121  1342.545806/s
     iteration_duration...........................: avg=739.2µs  min=466µs   med=643.7µs max=35.79ms p(90)=970µs   p(95)=1.01ms  
     iterations...................................: 161121  1342.545806/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

@github-actions
Copy link
Contributor

Apollo Federation Subgraph Compatibility Results

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

Learn more:

@enisdenjo enisdenjo merged commit d6f9868 into main Feb 28, 2023
@enisdenjo enisdenjo deleted the federation-ci branch February 28, 2023 18:55
@theguild-bot theguild-bot mentioned this pull request Apr 20, 2023
This was referenced May 7, 2024
This was referenced May 23, 2024
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.

1 participant