Commit Graph

7435 Commits

Author SHA1 Message Date
Brandon Simmons
4eeb0860d9 server: use lighter GC in ourIdleGC when idle
Previously when users had an idle system with a large working set (i.e. large schema) they would likely see CPU spikes every 10 seconds.

See: https://github.com/hasura/graphql-engine/issues/9592#issuecomment-1580543694

Now we perform a lighter-weight minor GC in that case.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9841
GitOrigin-RevId: a04f86bfef7a73cb25fbec850d58e51eb796b81b
2023-07-12 09:26:11 +00:00
Brandon Simmons
f28b7cdfd8 Jberryman/07 11 2023 new cabal workarounds
some dev.sh cabal project file fixes

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9842
GitOrigin-RevId: a3a095f9ac7739ff94514d53222818f400269f8a
2023-07-12 08:30:35 +00:00
Krushan Bauva
cfd2f54eab server: fix operationName not parsed into subscription metrics and query tags
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9816
GitOrigin-RevId: c27ab21d2574fe36a150f3e333c6da6ea2658a32
2023-07-12 07:33:17 +00:00
David Overton
a46f07ea45 Logical models in get_table_info
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9798
GitOrigin-RevId: ab7b1dc0a4504c1ec103c449ca2e444589673c0f
2023-07-12 02:10:02 +00:00
Luca Restagno
6ea943c4b1 [CockroachDB] Fix create manual relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9830
GitOrigin-RevId: f28455fa54edc65e099035c3c4dd1dd2d0ea56f7
2023-07-11 15:24:16 +00:00
Matthew Goodwin
bce4ed6f3f console: add tab color and accent style options
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9795
GitOrigin-RevId: 7aba4c497ee08df413fbb3d0da30ff751acd0064
2023-07-11 14:46:29 +00:00
Varun Dey
c83897b82f Fix typo CLoud -> Cloud
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9826
GitOrigin-RevId: b5e1a08357d3849e027dd4014a6b44b39ef9f6b3
2023-07-11 10:49:52 +00:00
Divi
b35fc56a90 ci: tag release v2.29.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9828
GitOrigin-RevId: 09d0e56627557b434789ce949c79c892986b35c1
2023-07-11 10:19:37 +00:00
Nicolas Inchauspe
b48d5640b7 Snowflake functions permissions editor
[DSF-408]: https://hasurahq.atlassian.net/browse/DSF-408?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9735
GitOrigin-RevId: a17582122340634cecaa16954572d46162b06a3e
2023-07-11 08:27:19 +00:00
Daniel Chambers
d4f0351b65 Fix flaky tests in agent test suite by adding ordering
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9824
GitOrigin-RevId: 5750ab8c6e230a3723f3232c7638407e6a3cd5dc
2023-07-11 02:18:43 +00:00
Julian
3c330c8efc Use boolean comparison for computed fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9806
GitOrigin-RevId: 641d5190ec9ff8bf697834a809c51c1438df24aa
2023-07-10 18:42:38 +00:00
Matthew Goodwin
f238e7a28a console (refactor): remove redundant metadata invalidations
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9675
GitOrigin-RevId: 4a34f9f4ba09e8437824573dd3522fb4737a89d6
2023-07-10 15:27:25 +00:00
kodiakhq[bot]
216f6a8f30 Jberryman/07 06 2023 benchmarks instance
A little fix for  highlighting of the peak throughput benchmarks, which was reversed, and also add a little note about capacity. as of this afternoon it seems like we can get instances, but I won't have time this week to make any kind of switch over…

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/processor_state_control.html
https://instances.vantage.sh/

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9794
GitOrigin-RevId: ae955a462b5b60092b1319d16e2495d4df7fbc7c
2023-07-10 14:49:45 +00:00
Daniel Harvey
eeb819e7a4 chore(server): allow Logical Models to be defined inside Native Queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9787
GitOrigin-RevId: 48b88f3c98024d3be721ab27a28be75952586a8c
2023-07-10 13:47:25 +00:00
Daniel Harvey
213f64c061 chore(server): add experiment feature flag to disable Postgres arrays in introspection
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9804
GitOrigin-RevId: eeb378153df070ffedcada6a91d3117a0a83dde9
2023-07-10 11:17:10 +00:00
Rob Dominguez
e4ebbbccd7 docs: add notes for input coercion on Actions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9771
GitOrigin-RevId: e243c1c5fac8655f40c2f319c3a29a519c5b37ca
2023-07-10 10:43:02 +00:00
Philip Lykke Carlsen
e8d7444b70 Feat: Use column nullabilty to generate simpler permissions SQL
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9793
GitOrigin-RevId: d7a3995efe5ca3936fa5b3a7ecf4574b694b9909
2023-07-10 09:28:54 +00:00
Tom Harding
ceedfe7f8d Allow array and object relationships to be made with bulk_atomic
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9809
GitOrigin-RevId: d813b66be6ab07a1efb834aa988a715ab531a3a2
2023-07-07 17:25:23 +00:00
Vijay Prasanna
effbac0ffb console: improve error message for delete all inconsistent metadata
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9803
GitOrigin-RevId: bcfba0a229c48b388ebc991088854886b27eda37
2023-07-07 16:55:07 +00:00
Rob Dominguez
8472732104 docs: add refs for ee overview sections
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9810
GitOrigin-RevId: 7a0b6ebe855b176edf69412de4bad35dc31e0cba
2023-07-07 16:17:32 +00:00
Luca Restagno
70ab0ec85b Fix default metadata
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9801
GitOrigin-RevId: 54b8136df4800aea583f1ae11ccadbdac4f226d0
2023-07-07 15:45:25 +00:00
Toan Nguyen
a16c3e72e1 docs: add the hasurahq dashboards link on grafana cloud
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9807
GitOrigin-RevId: 539d15d1e9a382dde0719168a4ab533a06c39c72
2023-07-07 15:04:31 +00:00
Tirumarai Selvan
f145de2bb9 add tip for public data and session variables
add tip for public data and session variables in docs

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9784
GitOrigin-RevId: 5d8670ee3b506d9141b96c1d894fbb1dffa20db7
2023-07-07 14:12:52 +00:00
Luca Restagno
f2b46f677e Add function customization for GDC data sources
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9770
GitOrigin-RevId: b27d37f02f2abbe7ec08256a5dc812c3b62e35db
2023-07-07 13:37:52 +00:00
pranshi06
0151e25e8b server: add test case for null value forwarding in Remote Schemas
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9800
Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com>
GitOrigin-RevId: 2be2b2f794aa3236a1204ac3ef24283dabbcf429
2023-07-07 13:12:02 +00:00
Nicolas Inchauspe
2bc882ebc9 console: fix sticky header for table browse rows
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9766
GitOrigin-RevId: 3fed2d628a3b5ce18f8e91edd6550cdd6d92c929
2023-07-07 12:45:40 +00:00
Daniel Chambers
9cbd29a987 docs: Stop saying native queries is EE/Cloud only
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9796
GitOrigin-RevId: 84d5c4e4658151e060bdb3c1b227fc3467a8f50d
2023-07-07 10:58:58 +00:00
Luca Restagno
7f2fa266e6 fix: next button disabled state in paginated rows view
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9791
GitOrigin-RevId: 953433a8c4bc3dfddb38a141c5e7d079a6da3618
2023-07-07 10:03:53 +00:00
Varun Choudhary
7d35304816 console: improve flow between rest and graphiql page
This PR adds a button on the REST page `Create REST` which will open the rest form.
Also, to select the query we have a link which will route the user to `GraphiQL` page with the `REST` button on the Nav bar highlighted.

Demo -

https://github.com/hasura/graphql-engine-mono/assets/68095256/3fab4ef2-fe21-4be6-b52d-bf8f937888aa

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9797
GitOrigin-RevId: 848ccff74ec1489df945821f583270714ba4e770
2023-07-07 08:53:55 +00:00
Krushan Bauva
c68f6c7ba1 server: extend livequery-poller-log to log errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9708
GitOrigin-RevId: ba2075f5f62bd56805fde0a8f02803b05105d775
2023-07-07 07:18:14 +00:00
Puru Gupta
1d8d934157 server: fix race condition in reloadAppContext
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9788
GitOrigin-RevId: c6b9441e4f4e12fea6ad4e5b336f3231fc4494d2
2023-07-06 23:01:32 +00:00
Matthew Goodwin
d61d523f77 console: add missing key to component map in CardedTable
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9712
GitOrigin-RevId: 531e2cfae8568326be4d5486728181c64fa82e31
2023-07-06 17:07:29 +00:00
Daniele Cammareri
9eb1097957 feat: refactor of rest endpoint details component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9783
GitOrigin-RevId: b40ef6dafd699c51da1089d0b6687c9cf934e275
2023-07-06 16:44:58 +00:00
Auke Booij
fdddac8057 server: Delete unused SchemaCacheVer
`SchemaCacheVer` has been a write-only value for a while. It was introduced by hasura/graphql-engine#1934.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9786
GitOrigin-RevId: aa9d5600d2be347ea0538903b7f41f7ed745fafc
2023-07-06 15:37:01 +00:00
Daniele Cammareri
e7310a1e13 feat: new design for rest endpoint form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9782
GitOrigin-RevId: 0119b9ce91f3e43bb90c62ed605dfa75c0d221e5
2023-07-06 14:27:32 +00:00
Daniele Cammareri
fa398581f5 feat: add a one-click feature to create CRUD rest endpoints from a table
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9585
GitOrigin-RevId: 54757d51010a44211029d6f63714bfc08e152224
2023-07-06 09:00:23 +00:00
Nicolas Inchauspe
1a1e046b47 console: fix tree view not refreshed after SQL execution
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9683
GitOrigin-RevId: 6e967052b4f8024fb1166220c777f9aa9ca3fdcf
2023-07-06 08:27:24 +00:00
pranshi06
d32ae8ea05 server: update HTTP exception errors in log line for Triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9738
GitOrigin-RevId: cece764a6fa087958675077c8420e9478d419e8e
2023-07-06 07:38:09 +00:00
Varun Choudhary
d6cb5bff4a docs: docs for export OAS from restified endpoint
This PR adds docs for the new console feature to download the OAS from the testified end point.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9740
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 8a0ea766a5199d1689db330d720312407fa8a5d7
2023-07-06 06:48:51 +00:00
Rikin Kachhia
e41be0a2d3 ci: update latest stable release as v2.29.0
Blocker: Data connector still needs to be published

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9775
GitOrigin-RevId: 93ec6478932f016a3a1c10b656218fecb00fb864
2023-07-05 18:40:06 +00:00
Tirumarai Selvan
281a6b45c9 Add max connections to production checklist
Adds a section on configuring max_connections to production checklist docs: https://hasura.io/docs/latest/deployment/production-checklist/

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9776
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 6481e760f46fc2d958728aad0c1248982660fde5
2023-07-05 15:21:50 +00:00
Toan Nguyen
31af5d6ab8 docs: EE console SSO troubleshooting and improvements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9685
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: f0e5f538b652bff0deee7a15eb5b68d991c28639
2023-07-05 14:20:22 +00:00
Rob Dominguez
147839079f docs: fix sidebar theme when starting with dark
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9772
GitOrigin-RevId: ed078792e92911157b9ef53ed1c6d7a4c3bb95b0
2023-07-05 14:02:45 +00:00
nevermore
ec4ebf1e1d console: fix schema registry heap IDs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9773
GitOrigin-RevId: 05ec9b97702a4734f28e99d36c75b420a57d7bbd
2023-07-05 13:20:00 +00:00
Luca Restagno
319e9855f9 console: add Function Custom Field Customization for Postgres
[DSF-449]: https://hasurahq.atlassian.net/browse/DSF-449?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9736
GitOrigin-RevId: 0f39db28f98ef1bc83b4877e4b742a9c614ec667
2023-07-05 12:32:01 +00:00
Daniele Cammareri
af51a481c2 fix request and response transform generate by import from OpenAPI wh…
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9705
GitOrigin-RevId: 63c4467072d842b11fca8e0a8140b44464c4bc65
2023-07-05 11:35:08 +00:00
Philip Lykke Carlsen
fdcd4748a6 docs: Document support for prepared statements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9741
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 2fea0a00ec39d75dbbffb16c3fefae7dba57e815
2023-07-05 10:51:19 +00:00
ananya-2410
cc2aa655c7 ci: tag release v2.11.9
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9767
GitOrigin-RevId: 337f4f14a4c93729e0378dc12ba5be3c33759a6c
2023-07-05 10:39:38 +00:00
ananya-2410
963dffce03 ci: tag release v2.29.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9759
GitOrigin-RevId: 32fb60b11e6b45f73d8c323f61a5ca2875c32529
2023-07-05 07:06:45 +00:00
Daniel Harvey
a0cc1dd9c9 chore(server): Native Query relationships no longer required a matching Logical Model field
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9737
GitOrigin-RevId: 4e6cd40fee21b7ca51342b805ed52e6b51b8c0d5
2023-07-04 17:21:19 +00:00