graphql-yoga icon indicating copy to clipboard operation
graphql-yoga copied to clipboard

Add Cloudflare Modules E2E test

Open ardatan opened this issue 1 year ago • 3 comments

Closes #1312

ardatan avatar Jul 22 '22 13:07 ardatan

⚠️ No Changeset found

Latest commit: 1569eeeedfad0deee7a9f00b95f31389524b3005

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

changeset-bot[bot] avatar Jul 22 '22 13:07 changeset-bot[bot]

✅ Benchmark Results

     ✓ no_errors
     ✓ expected_result

     checks.........................: 100.00% ✓ 217386      ✗ 0     
     data_received..................: 29 MB   964 kB/s
     data_sent......................: 13 MB   417 kB/s
     http_req_blocked...............: avg=1.17µs   min=799ns    med=1µs      max=1.81ms   p(90)=1.5µs    p(95)=1.7µs   
     http_req_connecting............: avg=1ns      min=0s       med=0s       max=124.19µs p(90)=0s       p(95)=0s      
   ✓ http_req_duration..............: avg=205.64µs min=137.79µs med=187.89µs max=17.19ms  p(90)=232.7µs  p(95)=259.53µs
       { expected_response:true }...: avg=205.64µs min=137.79µs med=187.89µs max=17.19ms  p(90)=232.7µs  p(95)=259.53µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 108693
     http_req_receiving.............: avg=17.58µs  min=10.2µs   med=16.4µs   max=3.68ms   p(90)=20.79µs  p(95)=24.6µs  
     http_req_sending...............: avg=6.16µs   min=4µs      med=4.8µs    max=7.26ms   p(90)=7.3µs    p(95)=10.3µs  
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=181.9µs  min=120.5µs  med=166.3µs  max=17.1ms   p(90)=205.1µs  p(95)=229.49µs
     http_reqs......................: 108693  3622.948095/s
     iteration_duration.............: avg=271.29µs min=190.1µs  med=250.5µs  max=17.63ms  p(90)=305.29µs p(95)=339.9µs 
     iterations.....................: 108693  3622.948095/s
     vus............................: 0       min=0         max=1   
     vus_max........................: 1       min=1         max=1   

github-actions[bot] avatar Jul 22 '22 13:07 github-actions[bot]

This is currently blocked because of Pulumi CF Provider -> Terraform CF Provider -> Cloudflare Go library. It does not support setting the Content-Type correctly in order to let CF servers it's a module-based JavaScript file.

See:

  • https://github.com/cloudflare/terraform-provider-cloudflare/issues/1417
  • https://github.com/cloudflare/cloudflare-go/issues/794
  • https://github.com/cloudflare/cloudflare-go/pull/1010 (seems like there's some recent activity here)

dotansimha avatar Aug 03 '22 07:08 dotansimha

🚀 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/common 2.12.13-alpha-20220927144456-6161b2fe npm ↗︎ unpkg ↗︎
@graphql-yoga/graphiql 2.12.13-alpha-20220927144456-6161b2fe npm ↗︎ unpkg ↗︎
graphql-yoga 2.13.14-alpha-20220927144456-6161b2fe npm ↗︎ unpkg ↗︎
@graphql-yoga/node 2.13.14-alpha-20220927144456-6161b2fe npm ↗︎ unpkg ↗︎
@graphql-yoga/render-graphiql 2.13.13-alpha-20220927144456-6161b2fe npm ↗︎ unpkg ↗︎

github-actions[bot] avatar Sep 06 '22 15:09 github-actions[bot]

🚀 Website Preview

The latest changes to the website are available as preview in: https://cc01d947.graphql-yoga.pages.dev

github-actions[bot] avatar Sep 06 '22 15:09 github-actions[bot]