n1ru4l / envelop

Envelop is a lightweight library allowing developers to easily develop, share, collaborate and extend their GraphQL execution layer. Envelop is the missing GraphQL plugin system.
https://envelop.dev
MIT License
785 stars 127 forks source link

use `workspace:*` and update pnpm #2230

Closed dotansimha closed 5 months ago

changeset-bot[bot] commented 5 months ago

⚠️ No Changeset found

Latest commit: 9d8eb405001755f2ff81873486015b2e31a10d57

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[bot] commented 5 months ago

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets): Package Version Info
@envelop/core 5.0.1-alpha-20240508071555-9d8eb405 npm ↗︎ unpkg ↗︎
@envelop/opentelemetry 6.3.1-alpha-20240508071555-9d8eb405 npm ↗︎ unpkg ↗︎
@envelop/prometheus 10.0.0-alpha-20240508071555-9d8eb405 npm ↗︎ unpkg ↗︎
github-actions[bot] commented 5 months ago
### 💻 Website Preview The latest changes are available as preview in: [https://1bc01174.envelop.pages.dev](https://1bc01174.envelop.pages.dev)
theguild-bot commented 5 months ago

✅ Benchmark Results

     ✓ no_errors
     ✓ expected_result

     checks.............................................: 100.00% ✓ 879132      ✗ 0     
     ✓ { mode:envelop-cache-and-no-internal-tracing }...: 100.00% ✓ 214272      ✗ 0     
     ✓ { mode:envelop-cache-jit }.......................: 100.00% ✓ 340050      ✗ 0     
     ✓ { mode:envelop-just-cache }......................: 100.00% ✓ 208232      ✗ 0     
     ✓ { mode:graphql-js }..............................: 100.00% ✓ 116578      ✗ 0     
     data_received......................................: 3.4 GB  28 MB/s
     data_sent..........................................: 191 MB  1.6 MB/s
     envelop_init.......................................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     envelop_total......................................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     event_loop_lag.....................................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-and-no-internal-tracing }...: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     graphql_context....................................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     graphql_execute....................................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     graphql_parse......................................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     graphql_validate...................................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     http_req_blocked...................................: avg=1.81µs  min=711ns    med=1.64µs  max=9.36ms   p(90)=2.15µs  p(95)=2.31µs 
     http_req_connecting................................: avg=10ns    min=0s       med=0s      max=474.28µs p(90)=0s      p(95)=0s     
     http_req_duration..................................: avg=2.45ms  min=161.42µs med=2.14ms  max=82.7ms   p(90)=4.44ms  p(95)=4.92ms 
       { expected_response:true }.......................: avg=2.45ms  min=161.42µs med=2.14ms  max=82.7ms   p(90)=4.44ms  p(95)=4.92ms 
     ✓ { mode:envelop-cache-and-no-internal-tracing }...: avg=2.53ms  min=405.93µs med=2.23ms  max=16.42ms  p(90)=4.41ms  p(95)=4.81ms 
     ✓ { mode:envelop-cache-jit }.......................: avg=1.48ms  min=161.42µs med=1.19ms  max=15.5ms   p(90)=2.43ms  p(95)=2.59ms 
     ✓ { mode:envelop-just-cache }......................: avg=2.6ms   min=392.15µs med=2.28ms  max=34.31ms  p(90)=4.5ms   p(95)=4.9ms  
     ✓ { mode:graphql-js }..............................: avg=4.88ms  min=783.65µs med=4.11ms  max=82.7ms   p(90)=8.24ms  p(95)=8.85ms 
     http_req_failed....................................: 0.00%   ✓ 0           ✗ 439566
     http_req_receiving.................................: avg=30.59µs min=12.88µs  med=27.37µs max=12.82ms  p(90)=40.5µs  p(95)=45.5µs 
     http_req_sending...................................: avg=11.44µs min=4.41µs   med=9.88µs  max=13.43ms  p(90)=13.47µs p(95)=16.95µs
     http_req_tls_handshaking...........................: avg=0s      min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     http_req_waiting...................................: avg=2.41ms  min=136.41µs med=2.1ms   max=82.62ms  p(90)=4.4ms   p(95)=4.87ms 
     http_reqs..........................................: 439566  3663.002207/s
     iteration_duration.................................: avg=2.72ms  min=354.97µs med=2.4ms   max=83.12ms  p(90)=4.7ms   p(95)=5.21ms 
     iterations.........................................: 439566  3663.002207/s
     vus................................................: 10      min=10        max=10  
     vus_max............................................: 20      min=20        max=20  
EmrysMyrddin commented 4 months ago

Actually, perhaps we will need this... Because it's now broken with pnpm 9