Daniel Harvey
bdd5d06437
Move all crates into a folder ( #355 )
...
<!-- Thank you for submitting this PR! :) -->
## Description
This moves all the crates into a `/crates` folder. Everything appears to
just work, thanks Cargo!
V3_GIT_ORIGIN_REV_ID: 8e3ef287b1a46cabdb4d919a50e813ab2cddf8b1
2024-03-19 18:07:14 +00:00
hasura-bot
98938047b7
Alter log level of garbage collector message ( fix #10172 )
...
GITHUB_PR_NUMBER: 10173
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/10173
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10738
Co-authored-by: Adam Malone <3642111+typhonius@users.noreply.github.com>
GitOrigin-RevId: 3926af6bbac0081f9510e1bdcc9a5d2c5fa2c515
2024-03-19 16:29:26 +00:00
Tom Harding
0123fa339a
Separate the query request tree and mutation request tree ( #349 )
...
## Description
Following on from #347 , this PR separates "query requests" and "mutation
requests" at the level of the query plan, rather than the individual
fields. The result of this is that we can separate the functions to plan
and execute the two things entirely, which will make it easier in the
forthcoming PR to add support for transactions.
There's almost certainly some further refactoring that could be done
here, but I'm choosing to wait until transactions are in place before
getting too excited.
V3_GIT_ORIGIN_REV_ID: 849f4682cc01d3b9e44d2748e4cc34382c8547a7
2024-03-19 11:52:43 +00:00
Abhinav Gupta
7c7e50505f
constraint allowed open dd identifier names ( #356 )
...
V3_GIT_ORIGIN_REV_ID: 66512df837ccd1b72cd39fd35979bdc8ce39de55
2024-03-18 20:28:35 +00:00
Brandon Martin
47f4d2ac76
Add urlEncode for passwords with dynamic file
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10728
GitOrigin-RevId: 437ea6572d72034ab955482bf9f28b0950735097
2024-03-18 17:01:44 +00:00
Samir Talwar
4d1254bdce
server: Log the query execution time on errors.
...
The server now logs timing information on error when possible, e.g. when an SQL query fails.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10730
GitOrigin-RevId: e63a773d6c58df27d23b01f53b9b895dcf290e55
2024-03-18 15:51:22 +00:00
paritosh-08
b0a3ff1d0f
add operation_name
and parameterized_query_hash
to hasura_graphql_requests_total
metric
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10725
GitOrigin-RevId: b19df2a17e94e72dde790a54e01e290b581aa560
2024-03-18 14:45:09 +00:00
Samir Talwar
4b1cf9bee7
Upgrade nixpkgs to get GHC 9.6.4.
...
GHC 9.6.4 has finally been merged into nixpkgs! (This took far longer than anticipated.)
We can now upgrade to get our hands on it.
I had to remove the console dev tools from the Nix shell because node.js 16 is EOL and not available in the latest nixpkgs.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10729
GitOrigin-RevId: f7236c9e284a467bfac4897afb9d452dd103786d
2024-03-18 12:14:30 +00:00
Samir Talwar
249b86b328
Improve the speed of test Docker builds. ( #354 )
...
V3_GIT_ORIGIN_REV_ID: a5229c4361bcd2de373fedb5d3ee43c9af75c556
2024-03-18 11:21:23 +00:00
Daniel Harvey
7e0f0bb1ab
migrate build job to Github Actions ( #352 )
...
V3_GIT_ORIGIN_REV_ID: b26d1479508aeb9168459f0db82591f8995bb174
2024-03-15 17:24:02 +00:00
Daniel Harvey
ecee753d6f
upgrade to use Rust 1.76 ( #353 )
...
V3_GIT_ORIGIN_REV_ID: fee5e0dbd617a71c7da0a3f588b83064c23df2af
2024-03-15 16:53:56 +00:00
Daniel Harvey
9b1920d6fa
basic typechecker for preset argument values ( #350 )
...
V3_GIT_ORIGIN_REV_ID: 6dac85968ea599812db56568a9422657b5cf96f4
2024-03-15 13:25:11 +00:00
Daniel Harvey
681ce9dcae
add just update-golden-files-local
command ( #351 )
...
V3_GIT_ORIGIN_REV_ID: 428d47af17949396037e4942ddcb2267801e56dc
2024-03-15 13:06:16 +00:00
Daniel Harvey
c754f273eb
add support for argument presets in commands ( #340 )
...
V3_GIT_ORIGIN_REV_ID: 9d7401e5c629040fda7824966588af7f39e4a14c
2024-03-15 11:00:24 +00:00
Puru Gupta
a86d2d0450
add support for async span with parent context ( #341 )
...
V3_GIT_ORIGIN_REV_ID: f24ff08407a4f00787dfb76a72f9de072b5a02a2
2024-03-15 09:26:30 +00:00
Brandon Simmons
267d7fe751
server: add the ability to force refresh of dynamic db connection str…
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10713
GitOrigin-RevId: 7aa286141a27c11609614349cad05041e55b2a0f
2024-03-14 22:50:20 +00:00
gneeri
5af867d4e0
added parameter quoting for native queries in Snowflake
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10716
GitOrigin-RevId: 87c61866c5bff10439e2b82e29cd9e3df2f337e0
2024-03-14 15:46:17 +00:00
Rakesh Emmadi
083f321feb
server: improve recreateTriggerIfNeeded
arrow function
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10724
GitOrigin-RevId: dc8e42da21801cc9a2f49e1c126d26b6d5f2e766
2024-03-14 08:19:52 +00:00
Vishnu Bharathi
801e423fbb
ci: tag release v2.38.0-beta.1 and update base image
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10721
GitOrigin-RevId: 8d4ee4fd86814890eb103b7416b819e7e64d1a3b
2024-03-13 13:55:57 +00:00
Rob Dominguez
6470d90b03
Docs: add note to new relic integration
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10722
GitOrigin-RevId: 8410efb22438572ca7b0ba4b6c0cd8f11f5b0bc1
2024-03-13 12:59:17 +00:00
Tom Harding
ee225734f1
Run mutations sequentially ( #347 )
...
V3_GIT_ORIGIN_REV_ID: 805e0d008954617e85ad6e1688f8016a85748bb5
2024-03-13 12:27:18 +00:00
Sean Park-Ross
8924812bc1
Docs: Updates to chat bot
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10719
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: b2bfdba1e082b21b035be209ab5b5702ab74d2bc
2024-03-13 11:19:48 +00:00
Daniel Harvey
797aa43080
run clippy in watch command ( #346 )
...
V3_GIT_ORIGIN_REV_ID: 2cf4796a45aa1acc0846ebd6293ccf218356b5bf
2024-03-13 11:14:54 +00:00
Rakesh Emmadi
1e91ac1f41
add a roundtrip test for metadata serialization ( #343 )
...
V3_GIT_ORIGIN_REV_ID: e6195bcd2fcdfa472ac40a11acf81938d7aa6205
2024-03-13 10:17:06 +00:00
paritosh-08
b44711aaa5
revert copy traces to stdout (38fd62f) ( #345 )
...
V3_GIT_ORIGIN_REV_ID: c9ee70e9201026378a96d1205a2a566c211230d1
2024-03-13 09:32:11 +00:00
Jesse Hallett
c50ad27037
update dev-auth-webhook lockfile ( #344 )
...
V3_GIT_ORIGIN_REV_ID: 279110b4bb1605baa36a2770e5ec0d1530944ed5
2024-03-13 08:25:10 +00:00
Daniel Harvey
6b283f7032
add just local-watch
command ( #339 )
...
V3_GIT_ORIGIN_REV_ID: af7b9083fcde703010a6096d8db65ceade80f58c
2024-03-12 15:27:28 +00:00
Rob Dominguez
d1d83aafba
Docs: update mariadb min req
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10718
GitOrigin-RevId: d2dd5e00db200a2a39477c3a81c0ce365637b4c5
2024-03-12 12:17:10 +00:00
hasura-bot
39e24189f3
prevent console crash when using native queries in an array relationship
...
GITHUB_PR_NUMBER: 10163
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/10163
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10717
Co-authored-by: Alec Flett <135340+alecf@users.noreply.github.com>
GitOrigin-RevId: a21c22dfddd5cbbd03bd43676b47e5dd0f9f38e6
2024-03-12 09:19:09 +00:00
Abhinav Gupta
8489a4b9b0
implement serialization for opendd types ( #342 )
...
V3_GIT_ORIGIN_REV_ID: e7bd868bf53e6960498c0ec764f9ee4f7ea70ff8
2024-03-12 03:01:19 +00:00
Anon Ray
441b81b96e
add boolean expression types to the metadata ( #331 )
...
Co-authored-by: Abhinav Gupta <abhinav@hasura.io>
Co-authored-by: Abhinav Gupta <127770473+abhinav-hasura@users.noreply.github.com>
V3_GIT_ORIGIN_REV_ID: 86e90978132e9e87c4c20ec25902be11ffb0a56c
2024-03-12 00:29:28 +00:00
Rakesh Emmadi
f5c9a6f291
Custom deserializer for OpenDd objects ( #313 )
...
V3_GIT_ORIGIN_REV_ID: 4c7a9380e517ac8e7ac1bd44dbe879918bd0d9a2
2024-03-11 12:17:50 +00:00
paritosh-08
c04ae5994c
support input coercion ( #325 )
...
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
Co-authored-by: Samir Talwar <samir.talwar@hasura.io>
V3_GIT_ORIGIN_REV_ID: 7578b836c0491db1d1cbf5bf876b0ed5d1fc910e
2024-03-11 10:54:28 +00:00
Jesse Hallett
b255495378
copy traces to stdout ( #327 )
...
Outputs traces to stdout in addition to exporting via otlp. Stdout contains one JSON object per line, with a single span resource in each output line. This will make it quite a bit easier for me to get a quick look at what is going on in the engine during local development.
The first commit makes the change using the existing opentelemetry crate versions. The second commit upgrades the opentelemetry dependencies. I thought I would include that just because I went to the trouble of figuring out how to do that upgrade.
The JSON output is noisy, but can be formatted nicely with some shell functions. For example in nushell I use these functions to process the opentelemetry data coming via docker-compose or arion-compose log output:
```nu
# Get log output from arion/docker-compose services with JSON parsing. If an
# argument is given filters to logs from the given service
def logs [
service?: string@docker_compose_services
--file (-f): string = "./arion-compose.nix" # Use FILE instead of the default ./arion-compose.nix
] {
let args = [$service] | compact
let input = if ($file | path exists) {
arion --file $file logs ...$args
} else {
docker-compose logs ...$args
}
$input
| lines
| parse -r '^(?<service>\S+)\s*\|\s*(?<log>.*)$'
| where {|it| is_json $it.log}
| update log {|it| $it.log | from json }
| flatten
}
# Gets log output from a given docker-compose service, and extracts and formats
# relevant opentelemetry data
def otel [
service: string@docker_compose_services
--file (-f): string = "./arion-compose.nix" # Use FILE instead of the default ./arion-compose.nix
] {
logs $service -f $file | get resourceSpans | each {|it| $it.scopeSpans.0.spans.0 | select name attributes status }
}
# Helper to provide autocompletion for inputs to the logs command
def docker_compose_services [] {
let compose_file = if ("arion-compose.nix" | path exists) {
arion cat | from json
} else if ("docker-compose.yaml" | path exists) {
open docker-compose.yaml
} else {
return []
}
$compose_file | get services | columns
}
# Helper for the logs command
def is_json [input: string] {
($input | from json | describe) =~ '^(record|table|list)'
}
```
V3_GIT_ORIGIN_REV_ID: 38fd62f321a363a52b03d661b66d4dd49ac922de
2024-03-07 21:26:50 +00:00
Gil Mizrahi
bb34a9ae66
Replace the nodejs dev-auth-webhook with a rust one to improve performance ( #336 )
...
Co-authored-by: Samir Talwar <samir@functional.computer>
V3_GIT_ORIGIN_REV_ID: 37eb6ad3fc93f4f9beca6568d60a581edca45a71
2024-03-07 14:18:25 +00:00
Samir Talwar
f869e7a8af
Use ndc-spec v0.1.0. ( #337 )
...
V3_GIT_ORIGIN_REV_ID: ef97a6a0692e7c0741de96f0848d414d9b172106
2024-03-07 13:19:55 +00:00
Jesse Hallett
a7ccadbcd9
listen for sigterm to avoid 10-second shutdown delay ( #328 )
...
V3_GIT_ORIGIN_REV_ID: c2a1eb358d139df6234730851beadfff30f29f16
2024-03-07 00:24:22 +00:00
Samir Talwar
078b0d3487
Get the Nix build working. ( #335 )
...
V3_GIT_ORIGIN_REV_ID: e70e2a42b2445b4bcf4e9ee7db771b475c32d2f9
2024-03-06 17:51:17 +00:00
Samir Talwar
dea588255b
Set the crate properties once, to improve the Nix build. ( #334 )
...
V3_GIT_ORIGIN_REV_ID: ec5f3d968306a64ad5c63df324ca5c524838c598
2024-03-06 17:15:13 +00:00
Daniel Harvey
353b0d1ca6
basic Nix flake for deps ( #333 )
...
Co-authored-by: Samir Talwar <samir.talwar@hasura.io>
V3_GIT_ORIGIN_REV_ID: 013207c169f31db363b7cfb072570c5b8246ba60
2024-03-06 11:39:19 +00:00
Meet Zaveri
0ecfacb0e3
docs: added cloud EE badge to event triggers observability section
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10526
GitOrigin-RevId: 0800c7f6e0892126bc4e5ea680961fa04b3473f1
2024-03-04 13:02:32 +00:00
hasura-bot
0d8bbb559e
Update reference.mdx
...
GITHUB_PR_NUMBER: 10150
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/10150
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10712
Co-authored-by: Tuan (Tony) T. <5226413+tuanalumi@users.noreply.github.com>
GitOrigin-RevId: a545b2e88cd1c204939007e355ba8f2725e05a8f
2024-03-03 16:20:24 +00:00
Abhinav Gupta
f9a77428d0
[V3ENGINE-13] Fix NDC IR generation for functions / procedures ( #330 )
...
V3_GIT_ORIGIN_REV_ID: f579e9fb7a413adb24481bfc04feee7d661aa534
2024-02-29 05:30:27 +00:00
Vishnu Bharathi
9e0864c6e3
ci: tag release v2.37.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10706
GitOrigin-RevId: 2247e9dcf10600e7525a501e8216d59e9d1e124d
2024-02-28 09:43:28 +00:00
Varun Choudhary
b201806739
console: revert changes for 10691
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10701
GitOrigin-RevId: d6537f2ef7a1aeb55236e47dc9c4726a5ae3b578
2024-02-28 06:13:01 +00:00
Sean Park-Ross
e0448db42c
Docs: Update variable query example to show multiple variables in one request
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10699
GitOrigin-RevId: c2f594e06a73116fc5f49c86c6155bb5c989b24e
2024-02-27 19:29:34 +00:00
Samir Talwar
d21d8277c8
Stop publishing arm64 images. ( #329 )
...
Co-authored-by: Paritosh <paritosh@hasura.io>
V3_GIT_ORIGIN_REV_ID: d41a19cb58afb69843d7450d884d1e69b585fcfa
2024-02-27 10:36:02 +00:00
paritosh-08
5c9033a66a
add health endpoint ( #326 )
...
V3_GIT_ORIGIN_REV_ID: c2868238d43045e65b30df4dff4bc909a4999a17
2024-02-27 09:15:29 +00:00
David Overton
64bb9c873d
Nested selections ( #255 )
...
Co-authored-by: Abhinav Gupta <127770473+abhinav-hasura@users.noreply.github.com>
Co-authored-by: Brandon Martin <brandon@codedmart.com>
V3_GIT_ORIGIN_REV_ID: 4f4674c5bad551afa7ed718ae78c281b6f571a62
2024-02-23 19:11:10 +00:00
Rob Dominguez
af0a457c0c
Docs: Remove availability admonition
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10696
GitOrigin-RevId: 88c324b36f582bab8ba60148ad5f6b8b44a230de
2024-02-23 18:28:07 +00:00