Commit Graph

6886 Commits

Author SHA1 Message Date
Tom Harding
fb92b78b5f Document concurrent_bulk
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8951
GitOrigin-RevId: 4a323bc2558a58265f47985a808f50761cc87c69
2023-04-26 16:55:29 +00:00
Tom Harding
566b8b018c Add documentation for bulk_keep_going
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8950
GitOrigin-RevId: cd730f2ac97daa4cdca46427cd452f981e52497e
2023-04-26 16:26:00 +00:00
kodiakhq[bot]
bb8f6a76cc PLAT-438: improve traces from OpenTelemetry
[PLAT-438](https://hasurahq.atlassian.net/browse/PLAT-438)

After this change the top level trace is is annotated with `request_id` and `parameterized_query_hash`. It looks like this,  in jeager:

![image](https://user-images.githubusercontent.com/210815/233206107-73682a85-3306-4d1d-8a6c-148890dc1a38.png)

 bulk queries should output a separate `parameterized_query_hash` for each query span

...after the last two commits, things look like this (remove pointless spans, more attributes):

![image](https://user-images.githubusercontent.com/210815/233476532-47521f35-2cdf-4f7d-af13-39c7ce15c9ec.png)

[PLAT-438]: https://hasurahq.atlassian.net/browse/PLAT-438?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8824
GitOrigin-RevId: 0fd105c879161587d41b729b9bac968e92efae95
2023-04-26 16:21:29 +00:00
Tom Harding
7e334e08a4 Import HashMap, not HM, Map, M...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8947
GitOrigin-RevId: 18e52c928e1df535579e2077b4af6c2ce92bdcef
2023-04-26 15:43:44 +00:00
Rob Dominguez
3bc9c23bc6 docs: add ee trials to gdc-backed databases
[DOCS-877]: https://hasurahq.atlassian.net/browse/DOCS-877?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8923
GitOrigin-RevId: 1e09d7f2fa030f1a8f99f78086163b5a2bed0caa
2023-04-26 15:10:30 +00:00
Rob Dominguez
776fa51ab5 docs: update overview pages' titles
[DOCS-913]: https://hasurahq.atlassian.net/browse/DOCS-913?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8929
GitOrigin-RevId: 64a733ec808d0e8723a5c1cbe5f754829b7c1388
2023-04-26 15:05:00 +00:00
Sean Park-Ross
923c8eeb80 Docs: Amend Cloud Version Upgrades Note
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8886
GitOrigin-RevId: 7cf4544598a32afe25d6e40ff2e147e3bc5388b0
2023-04-26 14:56:21 +00:00
Rishichandra Wawhal
a3b5cfc8d4 docs: improve documentation for Hasura Enterprise
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8902
GitOrigin-RevId: 708d90f07a866891411d9e99799367880b4e9b1b
2023-04-26 12:04:43 +00:00
Daniel Harvey
107db24caf chore(tests): Move Native Queries and Logical Models tests to api-tests-pro
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8936
GitOrigin-RevId: 9c170f2ce2de68818a9efe52266b47e87a7c4726
2023-04-26 11:05:32 +00:00
Samir Talwar
3ce3a6b413 Nix: Upgrade nixpkgs so we can use Cabal v3.10.1.
This version includes an important fix for properly detecting changes in extra-source-files.

We also pin the same version in GitHub workflows.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8930
GitOrigin-RevId: 884d9b807041a9b6c622ab221cbdfb446d3ffdba
2023-04-26 09:22:15 +00:00
ananya-2410
e33dd144ec ci: tag release v2.24.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8935
GitOrigin-RevId: c0700fbbaccbba6357ef0284fc3b28ff6cc98209
2023-04-26 08:03:10 +00:00
Daniel Chambers
cb80942e4f Disable use of local relationships in metadata if Data Connector agents don't declare relationships capability
[GDC-489]: https://hasurahq.atlassian.net/browse/GDC-489?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8862
GitOrigin-RevId: cfff2d9c688185e00f4a830dbdbe173dba4ce7f0
2023-04-26 06:49:36 +00:00
Brandon Martin
56ec360cab Consistent mysql gdc connector name
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8928
GitOrigin-RevId: 6da82a2d953d6eb51cd6a2fa9417931bc32da752
2023-04-25 23:57:48 +00:00
Matthew Goodwin
7941d827f3 console: refactor logical models code ahead of future PR merges
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8927
GitOrigin-RevId: eb933ba3c69c814902ad294291d7dfd3fd2b52de
2023-04-25 22:50:04 +00:00
Julian
2c7b118d77 Remove Mongo from list of agents
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8919
GitOrigin-RevId: afc27311d040b3e479d04957614f54cfe6298df7
2023-04-25 22:16:51 +00:00
Samir Talwar
6afcf17df8 frontend: Use origin/main as the base when running Nx commands.
We may not want to assume that the `main` branch on a developer's machine (a) exists and (b) is up-to-date.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8915
GitOrigin-RevId: 441d1c4cb7d864601a5f7a81dbfd04ec5415161e
2023-04-25 21:43:28 +00:00
Gil Mizrahi
858c0634f3 add QueryWithDDL back
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8906
GitOrigin-RevId: 5304e2a3ffa71ed13c3f706cdf64bcef84d7c0c1
2023-04-25 21:06:58 +00:00
Karthikeyan Chinnakonda
c19bc58f1e Server: Websocket queue time and pre subscriptions start errors metrics [Subscription metrics - 3]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8870
GitOrigin-RevId: 35cb1f1c7ffe7c8dcdd65fa14c423fcd1c2de234
2023-04-25 20:29:30 +00:00
Rishi Divate
0361158ab7 docs: update MySQL, MariaDB and Oracle docs to reflect Beta
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8861
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
GitOrigin-RevId: b12bbebd1673df8ba2ce5ccb2df6117c43991a2d
2023-04-25 19:46:00 +00:00
Erik Magnusson
94e68dbea7 fixed mix-up bug with compare and regular operators with tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8792
GitOrigin-RevId: 3b4c794d63173b8ea87ad48532464f9d69c205c4
2023-04-25 18:51:57 +00:00
Rob Dominguez
3f34e59e34 docs: swap ee links on overview
[DOCS-897]: https://hasurahq.atlassian.net/browse/DOCS-897?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8891
GitOrigin-RevId: 811b471bd9cdf4bac1775d5653d2e55c8f7f05a4
2023-04-25 18:06:20 +00:00
Matthew Goodwin
f83028d2b2 console: fix some minor issues with Alert functions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8859
GitOrigin-RevId: 3ed709bf46c3036232d723b4506f2940a465c9e1
2023-04-25 18:01:31 +00:00
Tom Harding
74f282ad16 chore(server): remove Eventing instances from RQL.Types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8909
GitOrigin-RevId: 302a9583c3364d507dfe106111ffcabac0b1dbf5
2023-04-25 17:18:30 +00:00
Daniel Harvey
c2424abd2e chore(server): add -fexpose-all-unfoldings in hasura-base and hasura-extras
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8890
GitOrigin-RevId: 3a028ea9e6f2e7d6829ceb411c460da1e971178b
2023-04-25 16:35:58 +00:00
Tom Harding
2a9575f922 Split Hasura.Session, remove RQL.Types dependency
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8921
GitOrigin-RevId: b3586942838be4d7a7d48b6b50c7e2643cd8fa06
2023-04-25 15:57:08 +00:00
Erik Magnusson
1c5e8837f9 console: fixed cloning bugs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8764
GitOrigin-RevId: aa6f5726bd0194135accc19913d67bfee6813d81
2023-04-25 15:21:04 +00:00
Brandon Martin
5b27561caa Update docker compose files, add graphql-data-connector
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8804
GitOrigin-RevId: 37d4ac91691857cd426bab550e2091b2b0311833
2023-04-25 14:42:46 +00:00
Samir Talwar
be67b0db59 server: Make HLint pass, by hook or by crook.
This fixes the simple HLint warnings, and adds a few suppressions to avoid noise.

The suppressions don't really solve the problems, but I think the warnings here are quite benign and I'm uncomfortable with how likely I would be to introduce a bug during refactoring.

In the case of _pg-client_ and _resource-pool_, we can't use the recommended functions anyway, and there doesn't seem to be a way to tell HLint to ignore entire packages.

I have updated the `make` targets to only fail if errors or warnings are found, not suggestions. This brings it in line with the CI job.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8910
GitOrigin-RevId: 596277b4ae5833876fc3f43875208c1279518a59
2023-04-25 14:03:02 +00:00
Daniel Harvey
7e20fd9088 chore(tests): run pro api-tests for all native databases
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8892
GitOrigin-RevId: 6bf2629e676471ff94a34746beacb08cad14f4d0
2023-04-25 13:26:20 +00:00
Samir Talwar
e24bcf2a39 server/tests-py: Never allocate the same port twice.
We seem to be getting flakes where we try and use the same port for two different servers. This is because in certain cases we cannot simply allocate the port dynamically, but have to decide it in advance, leading to a race condition.

We resolve this by keeping track of the ports we allocate when using this method, making sure we never allocate them twice. We also make sure we allocate from a different pool of ports to the usual dynamic port pool (typically above port 32768, and often above port 49152).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8903
GitOrigin-RevId: 375a23867591a4566493dddbc550c58cf88ea392
2023-04-25 12:51:01 +00:00
Daniel Harvey
15ce4818b2 chore(server): fix Logical Model permissions for nested fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8889
GitOrigin-RevId: c86f5328170aaa40cc5bf469f5cbb98e01ac521d
2023-04-25 11:59:48 +00:00
Krushan Bauva
2a68a4ac18 server: API support for fetching events
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7587
GitOrigin-RevId: da9e77abe9e9eb0e414aaddccd021433cd40e604
2023-04-25 11:24:09 +00:00
Brandon Simmons
7066b52777 dev.sh: support graphql-engine-pro
So you can do:

```
$ HASURA_GRAPHQL_EE_LICENSE_KEY=... scripts/dev.sh graphql-engine-pro
```

along with the `--prof-*` modes etc.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8894
GitOrigin-RevId: 2257749b2936cbd3230beb23e774ac92989e2fbc
2023-04-25 10:54:30 +00:00
Vijay Prasanna
7b34899c7d console: use release_name property on the UI to display the release tag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8872
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 8e6294dd8e71c2301ec921ec81e71b25539eaae9
2023-04-25 09:43:18 +00:00
Tom Harding
6a53470728 Break Metadata.DTO.Utils into Autodocodec.Extended and RQL.Types.BackendTag
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8874
GitOrigin-RevId: 77a8f61e1f5a5bb84908b5afd743a575e723d87f
2023-04-25 09:01:12 +00:00
Tom Harding
1a23e47818 Separate Hasura.EncJSON into its own package
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8875
GitOrigin-RevId: 9622bb67b6c357837db3e3a9f26e8e471ec7382c
2023-04-25 08:25:06 +00:00
Rishichandra Wawhal
1997589927 install-manifests: comment empty license key from enterprise docker-compose
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8900
GitOrigin-RevId: 487ed10dcaf416776e4d5049d4e12149bea9f76d
2023-04-25 07:55:13 +00:00
Varun Dey
09127215ca console: Show use case popup post onboarding
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8832
GitOrigin-RevId: c8e12e8c99e1b2b008cba7746eff94dd8797946e
2023-04-25 05:16:03 +00:00
Matthew Goodwin
aab5a2082b console: storybook components for list native query and list logical models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8858
GitOrigin-RevId: 9d659f1eb5af52d8776f318f7c843680102c8ede
2023-04-24 22:20:42 +00:00
Julian
059fe14154 Add Mongo icon to Connect DB DSF-203
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8817
GitOrigin-RevId: 7384c8884063ae6cf073759f7c050e841e0c47bc
2023-04-24 20:31:02 +00:00
paritosh-08
b158aae73b server: check for event triggers before throwing source-cleanup-failed warnings
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8885
GitOrigin-RevId: 7e02829608c6838f5db8226b532b436dd97f1b22
2023-04-24 19:52:50 +00:00
Samir Talwar
8af30c4c6b server/tests-py: Extract Apollo servers into fixtures.
I'm hoping this will reduce the flakiness of the tests, by ensuring the servers stop appropriately.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8880
GitOrigin-RevId: 6379b18cbe43527a1c2e73a14d93179b54bf1b75
2023-04-24 19:16:20 +00:00
Daniel Harvey
ea5c92acae chore(server): move Hasura.SQL.Backend to Hasura.RQL.Types.BackendType
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8876
GitOrigin-RevId: abfc18eeef96a1f3593bfe823adab4d161161333
2023-04-24 18:37:33 +00:00
Auke Booij
d5402d17d8 ci: sleep 3 seconds after allowlist adhoc operation benchmark
Trying to reduce the nondeterminism in the allowlist benchmarks.

Thanks to @jberryman for spotting this.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8842
GitOrigin-RevId: 1369050e4c5844538ef0852f4347d7a72dd18287
2023-04-24 18:02:30 +00:00
Tom Harding
de8e6c022d Move the GHC directory into hasura-extras
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8888
GitOrigin-RevId: 50cdb72293096faa2c6ab94fe40bbc59d232d4e1
2023-04-24 17:25:32 +00:00
Daniel Harvey
8cf134dad1 Split Hasura.RQL.DDL.Headers to put types in Hasura.RQL.Types.Headers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8873
GitOrigin-RevId: 566cb4271f0eb27e6688c2e0fbc26711bdf8baa9
2023-04-24 16:45:55 +00:00
Varun Choudhary
7fcb3bc8d4 console: fix UI issue with buttons on RS edit permission page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8864
GitOrigin-RevId: b9afd5a7ca558fcb5aa9351e343105a10481387a
2023-04-24 16:01:13 +00:00
Rikin Kachhia
93eef7b9d8 docs: update hasura federation sidebar title
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8883
GitOrigin-RevId: c5adb8c82e198a988760d980ef6630815ee35733
2023-04-24 15:23:32 +00:00
Tom Harding
f8ae944dbc Move Hasura.GraphQL.Schema.Options to Hasura.RQL.Types.Options
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8877
GitOrigin-RevId: 8be82f60a57cd9582d6980a6dea2f34c7b0c13c1
2023-04-24 15:18:56 +00:00
Tom Harding
982bf2cec6 RemoveHasura.RQL.Types dependency on Backends.Postgres.Execute.Types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8869
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: acabf17b5b9bde9f0f319eeae120ccc9527075a3
2023-04-24 14:41:19 +00:00