Skip to content

Update next#5837

Merged
dylan-apollo merged 31 commits intonextfrom
update-next
Aug 16, 2024
Merged

Update next#5837
dylan-apollo merged 31 commits intonextfrom
update-next

Conversation

@tayrrible
Copy link
Contributor

Description here

Fixes #issue_number


Checklist

Complete the checklist (and note appropriate exceptions) before the PR is marked ready-for-review.

  • Changes are compatible1
  • Documentation2 completed
  • Performance impact assessed and acceptable
  • Tests added and passing3
    • Unit Tests
    • Integration Tests
    • Manual Tests

Exceptions

Note any exceptions here

Notes

Footnotes

  1. It may be appropriate to bring upcoming changes to the attention of other (impacted) groups. Please endeavour to do this before seeking PR approval. The mechanism for doing this will vary considerably, so use your judgement as to how and when to do this.

  2. Configuration is an important part of many changes. Where applicable please try to document configuration examples.

  3. Tick whichever testing boxes are applicable. If you are adding Manual Tests, please document the manual testing (extensively) in the Exceptions.

theJC and others added 30 commits July 15, 2024 22:45
Add suggested change per PR comments

Co-authored-by: Nishchal Gautam <cyberhck@users.noreply.github.com>
Due to the differences between JS and RS graph structures (JS is always topologically sorted) we occassionally end up with different parallel fetch node order....
This fixes the cache integration tests that were flaky. This is due in part to all the tests using the same subgraph names and types, on the same redis instance.

This applies the following fixes:
* use text based logging instead of JSON for more readability
* unique query names per test
* unique subgraph names per test
* remove cached data at the end of the test (not needed for the CI? but it helps for local tests)
* raise the SCAN command's COUNT argument (max number of keys returned by one invocation of scan) from 10 to 100
If we are requesting entities from a subgraph, where some of them are present in cache, and the subgraph is unavailable (ex: network issue), we want to return a response with the entities we got from the cache, other entities nullified, and an error pointing at the paths of unavailable entities.

Co-authored-by: Bryn Cooke <BrynCooke@gmail.com>
- Generates a string representing the graph in GraphViz dot format.
- Mainly for debugging purposes.
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
Co-authored-by: Coenen Benjamin <benjamin.coenen@hotmail.com>
Co-authored-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
Co-authored-by: Edward Huang <edward.huang@apollographql.com>
Co-authored-by: Bryn Cooke <BrynCooke@gmail.com>
Co-authored-by: bryn <bryn@apollographql.com>
Co-authored-by: Edward Huang <edward.huang@apollographql.com>
Co-authored-by: bryn <bryn@apollographql.com>
Co-authored-by: Edward Huang <edward.huang@apollographql.com>
When parsing `@requires` field set selection we need to use supergraph schema instead of a target subgraph schema.
Session counting incorrectly included connections to the health check or
other non-graphql connections. This is now corrected so that only
connections to the main graphql port are counted.

Warnings about file handle shortages are now handled correctly as a
global resource.
The listener had its own custom rate limiting for log messages. The
router comes with a standard mechanism for rate limiting log messages.
Remove the custom rate limiting mechanism and advised in the changelog
that standard rate limiting configuration should be used.
@router-perf
Copy link

router-perf bot commented Aug 16, 2024

CI performance tests

  • const - Basic stress test that runs with a constant number of users
  • demand-control-instrumented - A copy of the step test, but with demand control monitoring and metrics enabled
  • demand-control-uninstrumented - A copy of the step test, but with demand control monitoring enabled
  • enhanced-signature - Enhanced signature enabled
  • events - Stress test for events with a lot of users and deduplication ENABLED
  • events_big_cap_high_rate - Stress test for events with a lot of users, deduplication enabled and high rate event with a big queue capacity
  • events_big_cap_high_rate_callback - Stress test for events with a lot of users, deduplication enabled and high rate event with a big queue capacity using callback mode
  • events_callback - Stress test for events with a lot of users and deduplication ENABLED in callback mode
  • events_without_dedup - Stress test for events with a lot of users and deduplication DISABLED
  • events_without_dedup_callback - Stress test for events with a lot of users and deduplication DISABLED using callback mode
  • extended-reference-mode - Extended reference mode enabled
  • large-request - Stress test with a 1 MB request payload
  • no-tracing - Basic stress test, no tracing
  • reload - Reload test over a long period of time at a constant rate of users
  • step-jemalloc-tuning - Clone of the basic stress test for jemalloc tuning
  • step-local-metrics - Field stats that are generated from the router rather than FTV1
  • step-with-prometheus - A copy of the step test with the Prometheus metrics exporter enabled
  • step - Basic stress test that steps up the number of users over time
  • xlarge-request - Stress test with 10 MB request payload
  • xxlarge-request - Stress test with 100 MB request payload

@tayrrible tayrrible requested a review from a team August 16, 2024 17:12
@dylan-apollo dylan-apollo merged commit dbeae5c into next Aug 16, 2024
@dylan-apollo dylan-apollo deleted the update-next branch August 16, 2024 17:42
@dylan-apollo dylan-apollo restored the update-next branch August 19, 2024 19:18
@dylan-apollo dylan-apollo deleted the update-next branch August 19, 2024 20:17
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.