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

Update to apollo-compiler v1.0.0-beta.18 #5477

Merged
merged 8 commits into from
Jun 29, 2024
Merged

Update to apollo-compiler v1.0.0-beta.18 #5477

merged 8 commits into from
Jun 29, 2024

Conversation

SimonSapin
Copy link
Contributor

apollographql/apollo-rs#868 introduced some breaking changes that cause a large but not complex diff here.

Copy link
Contributor

@SimonSapin, please consider creating a changeset entry in /.changesets/. These instructions describe the process and tooling.

@router-perf
Copy link

router-perf bot commented Jun 18, 2024

CI performance tests

  • reload - Reload test over a long period of time at a constant rate of users
  • no-tracing - Basic stress test, no tracing
  • events_callback - Stress test for events with a lot of users and deduplication ENABLED in callback mode
  • xlarge-request - Stress test with 10 MB request payload
  • 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_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
  • step - Basic stress test that steps up the number of users over time
  • step-jemalloc-tuning - Clone of the basic stress test for jemalloc tuning
  • 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
  • step-with-prometheus - A copy of the step test with the Prometheus metrics exporter enabled
  • demand-control-instrumented - A copy of the step test, but with demand control monitoring and metrics enabled
  • events - Stress test for events with a lot of users and deduplication ENABLED
  • xxlarge-request - Stress test with 100 MB request payload
  • large-request - Stress test with a 1 MB request payload
  • demand-control-uninstrumented - A copy of the step test, but with demand control monitoring enabled
  • const - Basic stress test that runs with a constant number of users

@@ -48,7 +48,7 @@ debug = 1
# Dependencies used in more than one place are specified here in order to keep versions in sync:
# https://doc.rust-lang.org/cargo/reference/workspaces.html#the-dependencies-table
[workspace.dependencies]
apollo-compiler = "=1.0.0-beta.17"
apollo-compiler = "=1.0.0-beta.18"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is a draft for now because this version does not exist yet

@@ -80,38 +79,6 @@ pub(crate) fn directive_required_string_argument(
})
}

pub(crate) fn directive_optional_fieldset_argument(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the same as directive_optional_string_argument

}
}

pub(crate) fn directive_required_fieldset_argument(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the same as directive_required_string_argument

% Conflicts:
%	Cargo.lock
%	apollo-federation/src/merge.rs
%	apollo-federation/src/query_graph/graph_path.rs
%	apollo-router/src/query_planner/bridge_query_planner.rs
%	apollo-router/src/query_planner/dual_query_planner.rs
@SimonSapin SimonSapin marked this pull request as ready for review June 27, 2024 15:23
@@ -128,7 +128,7 @@ async fn test_validation_error() {
}
},
{
"message": "Field \"topProducts\" of type \"Product\" must have a selection of subfields. Did you mean \"topProducts { ... }\"?",
"message": "Field \"topProducts\" of type \"Query\" must have a selection of subfields. Did you mean \"topProducts { ... }\"?",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous message was wrong. apollographql/apollo-rs#865 fixed it.

Copy link
Member

@goto-bus-stop goto-bus-stop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i at least skimmed every file and nothing really jumped out.

@SimonSapin SimonSapin merged commit 450a5df into dev Jun 29, 2024
13 of 14 checks passed
@SimonSapin SimonSapin deleted the simon/compiler18 branch June 29, 2024 07:21
BrynCooke pushed a commit that referenced this pull request Jul 2, 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.

2 participants