-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: use cargo insta to run tests (#3220)
- Loading branch information
Showing
959 changed files
with
979 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
src/cli/generator/snapshots/tailcall__cli__generator__config__tests__config_codec.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
source: src/cli/generator/config.rs | ||
expression: actual | ||
snapshot_kind: text | ||
--- | ||
{ | ||
"inputs": [ | ||
|
1 change: 1 addition & 0 deletions
1
src/cli/llm/snapshots/tailcall__cli__llm__infer_type_name__test__chat_response_parse.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
source: src/cli/llm/infer_type_name.rs | ||
expression: answer | ||
snapshot_kind: text | ||
--- | ||
Answer { | ||
suggestions: [ | ||
|
1 change: 1 addition & 0 deletions
1
.../llm/snapshots/tailcall__cli__llm__infer_type_name__test__to_chat_request_conversion.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/core/blueprint/snapshots/tailcall__core__blueprint__index__test__from_blueprint.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
source: src/core/blueprint/index.rs | ||
expression: index | ||
snapshot_kind: text | ||
--- | ||
Index { | ||
map: { | ||
|
1 change: 1 addition & 0 deletions
1
..._module/snapshots/tailcall__core__config__config_module__merge__tests__enums_invalid.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
source: src/core/config/config_module/merge.rs | ||
expression: merged.unwrap_err() | ||
snapshot_kind: text | ||
--- | ||
Validation Error | ||
• Enum is used as input type in one subgraph and output type in another [enumOutput] |
1 change: 1 addition & 0 deletions
1
...ig_module/snapshots/tailcall__core__config__config_module__merge__tests__enums_valid.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
..._module/snapshots/tailcall__core__config__config_module__merge__tests__types_invalid.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ig_module/snapshots/tailcall__core__config__config_module__merge__tests__types_valid.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...g_module/snapshots/tailcall__core__config__config_module__merge__tests__unions_valid.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
.../config/npo/snapshots/tailcall__core__config__npo__tracker__tests__batched_resolvers.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
source: src/core/config/npo/tracker.rs | ||
expression: actual | ||
snapshot_kind: text | ||
--- | ||
|
1 change: 1 addition & 0 deletions
1
src/core/config/npo/snapshots/tailcall__core__config__npo__tracker__tests__cycles.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
source: src/core/config/npo/tracker.rs | ||
expression: actual | ||
snapshot_kind: text | ||
--- | ||
|
1 change: 1 addition & 0 deletions
1
...nfig/npo/snapshots/tailcall__core__config__npo__tracker__tests__cycles_with_resolver.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
source: src/core/config/npo/tracker.rs | ||
expression: actual | ||
snapshot_kind: text | ||
--- | ||
query { f1 { f1 { f2 } } } |
1 change: 1 addition & 0 deletions
1
...fig/npo/snapshots/tailcall__core__config__npo__tracker__tests__cycles_with_resolvers.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
source: src/core/config/npo/tracker.rs | ||
expression: actual | ||
snapshot_kind: text | ||
--- | ||
query { f1 { f2 } } |
1 change: 1 addition & 0 deletions
1
...onfig/npo/snapshots/tailcall__core__config__npo__tracker__tests__multiple_type_usage.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...core/config/npo/snapshots/tailcall__core__config__npo__tracker__tests__nested_config.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...re/config/npo/snapshots/tailcall__core__config__npo__tracker__tests__nested_non_list.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
source: src/core/config/npo/tracker.rs | ||
expression: actual | ||
snapshot_kind: text | ||
--- | ||
|
1 change: 1 addition & 0 deletions
1
...e/config/npo/snapshots/tailcall__core__config__npo__tracker__tests__nested_resolvers.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
source: src/core/config/npo/tracker.rs | ||
expression: actual | ||
snapshot_kind: text | ||
--- | ||
query { f1 { f2 { f3 { f4 } } } } |
1 change: 1 addition & 0 deletions
1
...ots/tailcall__core__config__npo__tracker__tests__nested_resolvers_non_list_resolvers.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
source: src/core/config/npo/tracker.rs | ||
expression: actual | ||
snapshot_kind: text | ||
--- | ||
query { f1 { f2 { f3 { f4 } } } } |
1 change: 1 addition & 0 deletions
1
...hots/tailcall__core__config__npo__tracker__tests__nested_resolvers_without_resolvers.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
source: src/core/config/npo/tracker.rs | ||
expression: actual | ||
snapshot_kind: text | ||
--- | ||
|
1 change: 1 addition & 0 deletions
1
src/core/config/npo/snapshots/tailcall__core__config__npo__tracker__tests__resolvers.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
source: src/core/config/npo/tracker.rs | ||
expression: actual | ||
snapshot_kind: text | ||
--- | ||
query { f1 { f2 } } |
1 change: 1 addition & 0 deletions
1
...ilcall__core__config__transformer__merge_types__type_merger__test__cyclic_merge_case.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...onfig__transformer__merge_types__type_merger__test__fail_when_scalar_field_not_match.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ots/tailcall__core__config__transformer__merge_types__type_merger__test__input_types.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...tailcall__core__config__transformer__merge_types__type_merger__test__interface_types.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ailcall__core__config__transformer__merge_types__type_merger__test__list_field_types.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...lcall__core__config__transformer__merge_types__type_merger__test__merge_to_supertype.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ots/tailcall__core__config__transformer__merge_types__type_merger__test__type_merger.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ots/tailcall__core__config__transformer__merge_types__type_merger__test__union_types.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...call__core__config__transformer__ambiguous_type__tests__resolve_ambiguous_news_types.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
.../tailcall__core__config__transformer__ambiguous_type__tests__resolve_ambiguous_types.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...core__config__transformer__flatten_single_field__test__type_name_generator_transform.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...s/tailcall__core__config__transformer__improve_type_names__test__type_name_generator.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...__core__config__transformer__improve_type_names__test__type_name_generator_transform.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...config__transformer__improve_type_names__test__type_name_generator_with_cyclic_types.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...r/snapshots/tailcall__core__config__transformer__nested_unions__tests__nested_unions.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...s/tailcall__core__config__transformer__nested_unions__tests__nested_unions_recursive.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
.../snapshots/tailcall__core__config__transformer__rename_types__test__inferface_rename.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
0b05b83
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running 30s test @ http://localhost:8000/graphql
4 threads and 100 connections
745671 requests in 30.02s, 3.74GB read
Requests/sec: 24838.57
Transfer/sec: 127.49MB