Commit Graph

5555 Commits

Author SHA1 Message Date
Samir Talwar
bf355864b5 git: Add the Ormolu reformatting to the blame-ignore list.
Run the following to enable this:

```
git config --local blame.ignoreRevsFile .git-blame-ignore-revs
```

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6753
GitOrigin-RevId: bcc244f01d55502dddd60bba64fccd4c34487f9b
2022-11-08 03:53:18 +00:00
nevermore
33a44ae14a console: Change Experiment Client to a React Query based approach
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6595
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: afb52cbbb16a37b88d6e6d651b331412185bdb88
2022-11-07 07:26:13 +00:00
awjchen
ebb28ad4c9 pro-server: add support for exporting traces over OTLP
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5862
GitOrigin-RevId: fd80a59a1459095716f94cea7b2e54f9b5d19a98
2022-11-07 06:56:08 +00:00
awjchen
3e6840e4fa server: more adjustments to metadata sync logging
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6718
GitOrigin-RevId: 8cab5e6b39b1fa85e42fa176f3fb589c5da2c081
2022-11-05 22:38:22 +00:00
Jesse Hallett
de6e5d71b0 server: codecs for table, function, and remote relationship types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6608
GitOrigin-RevId: 9c91edec06e49b8d44960e322459ba7a05f26b5a
2022-11-04 21:44:41 +00:00
awjchen
8d6b39602a server: remove excessive metadata sync log line
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6715
GitOrigin-RevId: 564ae127b20638b15a6a0e407976ed4d90c81b4a
2022-11-04 19:42:17 +00:00
Vijay Prasanna
c447044020 fix (console): view database launches wrong route
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6747
GitOrigin-RevId: bc59aacff64bedd5a97ee03c0ff8783f0bd42b15
2022-11-04 19:07:54 +00:00
Abby Sassel
8f0a0becab NDAT-192 Update CockroachDB Docker image reference post-release
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6739
GitOrigin-RevId: becbbf0a3e3fcaedc579c91d805cf2f0c282099e
2022-11-04 16:15:32 +00:00
Stefano Magni
691caf63db console: Update the Analytics docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6667
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 4a063fccb895ad129e91708ac9b6c3bdbcc3ca7e
2022-11-04 16:09:27 +00:00
Daniel Harvey
e6c3113a43 [server]: feature flag to remove _stream fields from schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6698
GitOrigin-RevId: d2b80900d06353647505256fc351a07e6f7cd5f7
2022-11-04 13:10:35 +00:00
Daniel Chambers
381c81c806 Added new agent test to check ordering in deeply nested array relationships [GDC-605]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6721
GitOrigin-RevId: e0478bef0a8f5fffba9ef032be323cadc0f85116
2022-11-04 12:27:35 +00:00
Abby Sassel
8bb537e73b NDAT-72 CRDB Support for Value of Derived Field
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6707
GitOrigin-RevId: 8fab832a8ca225080d2797013f93d122e6424e35
2022-11-04 11:53:48 +00:00
Rishichandra Wawhal
52b11b3bbb console: add a standardised lux client and setup type autogeneration for control plane graphql types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6621
GitOrigin-RevId: b96641106f7f179ee7a61eaceec019f654af4bd9
2022-11-04 11:16:41 +00:00
nandhithakamal
fee4de93fc ci: do not build debian-based images
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6729
GitOrigin-RevId: 882fd6e000fbca928f04e2b7bf169c3c205a0f0d
2022-11-04 10:05:25 +00:00
Nicolas Inchauspe
1f4e802d88 console: upgrade msw to fix storybook with NX
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6732
GitOrigin-RevId: f83a95d9589cd9fddf9cb9f57f5bbe612022a77a
2022-11-04 08:44:52 +00:00
Daniel Chambers
723c91bef4 Fixed unstable ordering issues in data connector agent test suite
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6687
GitOrigin-RevId: 278a6073923981683cb75cfb922f284e0960c324
2022-11-04 04:36:47 +00:00
Philip Lykke Carlsen
6720d77cd9 Perform fixture setup spec-by-spec
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6708
GitOrigin-RevId: ac4b7350f6c0e9719f8b5973b267d72e3e4e444c
2022-11-03 20:27:02 +00:00
Rob Dominguez
79b58d4e7e docs: add algolia to 404
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6655
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: b174efd44e4e50517ef4c3d4d023c00cb4d674f1
2022-11-03 19:46:11 +00:00
Daniel Harvey
1f4a54347c [tooling] start databases in parallel in makefiles
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6713
GitOrigin-RevId: bd1eb1e6f4cfff1e19f8284d74997208ceae5f98
2022-11-03 17:17:41 +00:00
Philip Lykke Carlsen
1fa7f9b881 server/tests: Move 'emptySetupAction' to its single usage site
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6704
GitOrigin-RevId: 9adac1913fff3735b44c89c206e92544c9aa760b
2022-11-03 16:29:28 +00:00
Philip Lykke Carlsen
a4792a6b80 server/tests: Remove unnecessary complexity from Harness
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6700
GitOrigin-RevId: 3130097581b4e9284cd1074a5d74eb5165354eb4
2022-11-03 15:57:54 +00:00
Tom Harding
d823d201b9 CREATE SCHEMA _ IF NOT EXISTS in api-tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6701
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 13ab91a8c4241fb4e60df9e8856bc926afac6be9
2022-11-03 14:54:48 +00:00
Lyndon Maydwell
4db9941b32 Prohibit underscores in dataconnector names [GDC-586]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6681
GitOrigin-RevId: 5335208fc4c8f0d1b16a45415329ef390a269b4c
2022-11-03 14:00:52 +00:00
Sooraj
278cb94004 console/actions: add tracking events on import types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6688
GitOrigin-RevId: 6b6c3e74e8ad91f02761691f64a97758d43a1227
2022-11-03 12:32:51 +00:00
Samir Talwar
82d897efda CI: In upgrade+downgrade tests, run the current graphql_server.py.
There doesn't seem to be a good reason to run the release version, and if there's a problem, we can't fix it without making a new release.

This also means we should catch bugs much earlier.

Co-Authored-By: Abby Sassel <3883855+sassela@users.noreply.github.com>

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6678
GitOrigin-RevId: 7b32cd721089dccabc634598b333b94a3933221a
2022-11-03 12:02:45 +00:00
Philip Lykke Carlsen
5b2877bc8f server/tests: Move subscriptions harness to a separate module
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6664
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: f5d7793606a50fb10f871ae757748fe5c21e50c8
2022-11-03 10:58:32 +00:00
Karthikeyan Chinnakonda
d7609233c4 Rename get_event_invocations to get_scheduled_event_invocations
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6513
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 172ba6152ed77b90eeec9183a3fb4c6f177e45b3
2022-11-03 10:23:11 +00:00
Erik Magnusson
a9515cdb68 console: replace redux fetching logic with react query for insert row tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6644
GitOrigin-RevId: ae7809e702edeafa84075bcad1ba37236bdb1d1a
2022-11-03 09:14:39 +00:00
Erik Magnusson
d17b27e91f fixed button margin handling
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6685
GitOrigin-RevId: ac5c34854966510f1ba0f074893bb4b11cf345e8
2022-11-03 08:43:19 +00:00
Tirumarai Selvan
66b63ac828 document default value for events fetch interval
Same as title

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6686
GitOrigin-RevId: 6c8edaae5d9d005f098d7cded14f991b5c22c881
2022-11-03 08:12:47 +00:00
Mohd Bilal
b44443941f cli: refactor cli to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6662
GitOrigin-RevId: 3b9199ae80c587f8d763df4889f4f81c73ccd3d3
2022-11-03 08:09:07 +00:00
Aravind K P
e982a492d6 cli: port migrate squash and migrate delete to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6548
GitOrigin-RevId: 21771cb44655788be71c61b7ee3b4159341907a1
2022-11-03 07:38:03 +00:00
Nicolas Inchauspe
b0d5238c3b console: globally add missing <!DOCTYPE html>
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6661
GitOrigin-RevId: ee45e493c76ad81569731dcd5468c846ba01cd12
2022-11-03 07:06:06 +00:00
Aravind K P
061f6b96ed cli: port migrate, migrate status to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6547
GitOrigin-RevId: edef43331e06b227484e84a39f4b81b5fdaf1658
2022-11-03 05:56:00 +00:00
awjchen
700d4616cb server: add logging for debugging metadata sync issues
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6657
GitOrigin-RevId: ab7b8015010d20a641606fad8cd1cc8563466d0c
2022-11-02 23:24:23 +00:00
Vijay Prasanna
c930e2a4d1 feature (console): add support for enum type inputs in the OpenApi3 config schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6652
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: c4410dd220dee0f18989065dc932abdbf8ef167b
2022-11-02 22:05:15 +00:00
Rob Dominguez
1e1592c254 docs: incorporate fixes and reorder cloud-dbs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6673
GitOrigin-RevId: 0eebba2a04f9109734c28c9b5da6d16e00e60ee1
2022-11-02 21:29:44 +00:00
Samir Talwar
342391f39d Upgrade Ormolu to v0.5.
This upgrades the version of Ormolu required by the HGE repository to v0.5.0.1, and reformats all code accordingly.

Ormolu v0.5 reformats code that uses infix operators. This is mostly useful, adding newlines and indentation to make it clear which operators are applied first, but in some cases, it's unpleasant. To make this easier on the eyes, I had to do the following:

* Add a few fixity declarations (search for `infix`)
* Add parentheses to make precedence clear, allowing Ormolu to keep everything on one line
* Rename `relevantEq` to `(==~)` in #6651 and set it to `infix 4`
* Add a few _.ormolu_ files (thanks to @hallettj for helping me get started), mostly for Autodocodec operators that don't have explicit fixity declarations

In general, I think these changes are quite reasonable. They mostly affect indentation.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6675
GitOrigin-RevId: cd47d87f1d089fb0bc9dcbbe7798dbceedcd7d83
2022-11-02 20:55:13 +00:00
Matt Hardman
89f639b40b console: add permissions for GDC to console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6592
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 67a72f9b76604c50f647113d170e6e1778c9f7b9
2022-11-02 19:55:12 +00:00
Gil Mizrahi
5278e4ed9f update hspec to fix deadlock issue
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6670
GitOrigin-RevId: d045c915ba2e4422f5e338ca60f0bc9232b7a498
2022-11-02 16:39:30 +00:00
Samir Talwar
4c5a00ab71 Update the .gitignore file to reflect the internal one.
As far as I can tell, there's no need to have two .gitignore files. We can just ship the same one.

The OSS .gitignore file was horrendously out of date anyway.

Please take a look at [the current .gitignore file](https://github.com/hasura/graphql-engine-mono/blob/main/.gitignore) to verify you're happy with this change.

(No open-source commit message.)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6628
GitOrigin-RevId: b47d6a8cfa9affe6c06b8945e6861de5546ad53c
2022-11-02 13:28:59 +00:00
Tom Harding
aaf8e9a8c1 Add tests for streaming subscriptions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6650
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: 415f7904b591d2c4e32ec320570d1b8e0bef1719
2022-11-02 13:23:47 +00:00
Gil Mizrahi
60bd73e8d9 add a test for subscriptions with variables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6653
GitOrigin-RevId: b7d7f7392c50e983183812b270af3516c831d859
2022-11-02 12:47:04 +00:00
Mohd Bilal
24b98e1900 cli: refactor internal/projectmetadata package to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6435
GitOrigin-RevId: d48b0412cb8f7d252018861cbbe65123eddfc412
2022-11-02 12:10:25 +00:00
Daniel Harvey
11ff01f3e9 [server] Fix CockroachDB live queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6551
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: e78ce17d3ff5c677360b2927dca04a91e144952e
2022-11-02 11:41:02 +00:00
Mohd Bilal
d63686f8d4 cli: refactor plugins to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6562
GitOrigin-RevId: 8ab6252bd5e3fa716f3c9d546418dfedefd837be
2022-11-02 11:11:54 +00:00
Samir Talwar
dbc027424b Rename relevantEq to (==~) for Ormolu's sake.
Ormolu v0.5 tries to reformat code using operators according to fixity. Unfortunately, it doesn't really understand backticked functions (even when they have an associated `infix` declaration), and so messes up the formatting.

This is probably a bug in Ormolu, but we can work around it by using a symbol operator.

Happy to bikeshed on `==~` (which I am reading as "pretty much equal to"). Please yell at me if you prefer something else.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6651
GitOrigin-RevId: 79af427422194460200b2b48339cdb9ee9b33c33
2022-11-02 10:43:48 +00:00
Stefano Magni
bf551be20f console(platform): Respect the Heap custom events convention
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6520
GitOrigin-RevId: afbf6139fe4bee0e17a90ee1b7a22c8442a75e28
2022-11-02 10:10:40 +00:00
Tom Harding
7df6198b68 Add multiplexed subscription testing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6637
GitOrigin-RevId: a92b333b88c548ba514e69598a86098d8f6243cc
2022-11-02 09:39:47 +00:00
Marion Schleifer
7b4a7917ce docs: fix typo in query tags docs
[Slack conversation](https://hasurahq.slack.com/archives/C041B2DLHJS/p1667350236988359?thread_ts=1667347400.158339&cid=C041B2DLHJS)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6658
GitOrigin-RevId: 2861aae877d125150e92a9f32d370ed2b1894c10
2022-11-02 08:02:19 +00:00