Commit Graph

3313 Commits

Author SHA1 Message Date
Gil Mizrahi
813d4cee5e Explicitly close the connection after a native query validation step finishes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10830
GitOrigin-RevId: 30eed2140da4cbc694ec5ef399d6dbbc78ee9007
2024-05-23 11:53:30 +00:00
Daniel Harvey
61f2b6d462 Somewhat improve a bunch of log messages
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10826
GitOrigin-RevId: 5eacf178f27e7fda9bf3014f158e4325d17b1acd
2024-05-22 09:44:19 +00:00
prashy123
227fbc25a1 Adds catalog tag release v2.39.2
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10827
GitOrigin-RevId: 34cfe084cb5219af0fdf1106a05d433012169a9a
2024-05-21 08:47:46 +00:00
Daniel Harvey
9054800f3a Setup scheduled events off the main thread
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10823
GitOrigin-RevId: 379d010c768c7e94198682565852d214fb257291
2024-05-17 16:07:51 +00:00
Tom Harding
cfb7b58c90 Ensure closed streaming subscription handlers are cleared up correctly
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10814
GitOrigin-RevId: dee142742ea1803753cc858df60f6a5ccad8c43f
2024-05-17 13:50:57 +00:00
Daniel Harvey
0201cf5f29 Change 'preparing data' to 'unlocking all locked scheduled events'
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10816
GitOrigin-RevId: cd2d96df900359b52d30458a5bc2ddfb136a78b6
2024-05-14 11:18:54 +00:00
ashwiniag
a710454f9b ci: tag release v2.39.1
GitOrigin-RevId: 4bb72aee05ab6b7bd3af062e6f9eeab70f6b7f8d
2024-05-13 11:46:33 +00:00
ashwiniag
d29be5ad19 catalog version v2.39.0 stable release
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10803
GitOrigin-RevId: 3e796592b4005aae444dc1e93aabb39d77ff5cd8
2024-05-13 11:46:00 +00:00
Anon Ray
aa109ba331 fix: deregister relevant connection pool metrics when part of the source config is modified
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10786
GitOrigin-RevId: 6ba7a1db1df19453c59de3f41d0e0d9de93d3a8e
2024-05-13 11:45:38 +00:00
paritosh-08
25f92f379e add timeout for redis queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10788
GitOrigin-RevId: 7a18b077e106812703c73d57b70d9a7f10a7e8ac
2024-05-13 11:45:17 +00:00
ashwiniag
8d596f639e ci: tag release v2.39.0-beta.1 and updates base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10779
GitOrigin-RevId: 97e0de3147e9b79c1048c0449181d697c6ea3f5a
2024-04-25 15:14:48 +00:00
Philip Lykke Carlsen
f54b5cd3ef A collection of scripts to setup read replicas wtih ssl
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10777
GitOrigin-RevId: 0243fa6f2b20c2482be904702055d0470e855284
2024-04-24 15:48:14 +00:00
Toan Nguyen
ce5ff4c367 server: support env template for otel status
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10764
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 3dfb3478cefc8ffa9067295293203e06b3eac90c
2024-04-17 07:25:44 +00:00
Divi
b08997c79b ci: update ubi base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10762
GitOrigin-RevId: 7e00d6a2f44b5e2698edde3af7e12e51b8742d51
2024-04-02 06:02:45 +00:00
Vishnu Bharathi
78ba9c82bc ci: tag release v2.38.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10744
GitOrigin-RevId: 0a45e5b17b486bccc56434885981b4361754c663
2024-03-21 09:18:41 +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
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
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
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
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
pranshi06
d4740a08a1 server: fix behaviour of error field for query and subscription in asynchronous actions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10685
GitOrigin-RevId: a0deb276814b63c784a820964d3dbb320ffedae9
2024-02-22 14:21:18 +00:00
Naveen Naidu
acd3f33bb5 server: add hasura_postgres_max_connection prometheus metric
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10669
GitOrigin-RevId: 6d6607a6dd520866d1aa556bab1007afd1793a01
2024-02-20 06:01:04 +00:00
Brandon Simmons
7b3ce7d927 server: don't use 'auto-update' for log timestamp cache/refresh
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10662
GitOrigin-RevId: abefec7649098cfb6e4cc906210bc709c25301b0
2024-02-06 22:07:58 +00:00
Vishnu Bharathi
0cc2f2c5cb ci: tag release v2.37.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10656
GitOrigin-RevId: e2b623ac60706b9e74dd909f5db4b3cc8f18edef
2024-01-30 09:33:18 +00:00
kodiakhq[bot]
dd3bbef2fe Jberryman/ghc 9.6.4
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10615
GitOrigin-RevId: 8a45c92bec8444d5ec0aed125f4aa96d9c684728
2024-01-23 19:47:53 +00:00
Tom Harding
cc588a1ed3 Add support for ilike and nilike operators in BigQurey
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10638
GitOrigin-RevId: 6e97d480282b19ef0c87e08719e6421c09665d15
2024-01-23 15:28:21 +00:00
Vishnu Bharathi
fed4371f84 ci: tag release v2.36.3 and update base image
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10641
GitOrigin-RevId: 3fd82399241442ae1d071dbb3a50c13c6bbebbd2
2024-01-23 09:01:03 +00:00
Rakesh Emmadi
f8b71fa94e server/pro/cloud: consider session variables and http headers from connection templates for query caching
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10625
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 3bf7896437cb5bc40c491e6feac7c43e7d2c7e6e
2024-01-17 06:48:31 +00:00
Krushan Bauva
8b34100606 server: add a flag to specify header precedence when calling webhook in actions and input validations
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10594
GitOrigin-RevId: 84f58b7b957630e2fc527ece09c026bf07f3027a
2024-01-11 13:26:36 +00:00
Vishnu Bharathi
4c9189441b ci: tag release for v2.36.2 and v2.37.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10611
GitOrigin-RevId: 3098ebad9a91ccbf3e89d1b1570d25cdd22b26b5
2024-01-11 12:24:53 +00:00
Rakesh Emmadi
726842a3f8 server/pro: support url encoded redis passwords
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10603
GitOrigin-RevId: 2278dde171c3b2ddede1cddc5708cc3a8ae67e75
2024-01-10 12:26:06 +00:00
hasura-bot
63d90dcf69 Allow reading data connector agent URLs from environment variables
GITHUB_PR_NUMBER: 10077
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/10077

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10585
Co-authored-by: Nick DeGroot <1966472+nickthegroot@users.noreply.github.com>
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 9169e9250cbbee0fc9d47b503ead5e2219c98bc6
2024-01-04 23:23:32 +00:00
paritosh-08
7f1f0606ed add config to prioritize data/error for remote schema fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10528
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 49d0d7cbcc73fb0876d7ac3f5a1a8ff61ff800e8
2023-12-19 13:30:30 +00:00
pranshi06
004602c37f server: fix HTTP request structure leak in Async Actions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10549
GitOrigin-RevId: e628fc161546c4899dc39a571290ddf0af2e2d83
2023-12-18 10:31:58 +00:00
Rakesh Emmadi
e6ca36dcb1 server: insert updated metadata and schema sync notifications in a transaction
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10558
GitOrigin-RevId: e3bb0ef2378162a5fdccc7131a584f4200404afd
2023-12-18 08:59:44 +00:00
Vishnu Bharathi
8a16671fb1 ci: tag release for v2.35.3 and v2.36.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10564
GitOrigin-RevId: 75debaf5fd6132152a66a4f5bd53acb5ca57f67a
2023-12-18 08:09:12 +00:00
Rakesh Emmadi
7fd9f0fd7c server: insert schema sync notifactions as soon as metadata is updated in the storage (hot fix)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10552
GitOrigin-RevId: 33886b5a1b648373053e1aa2920bdabeb5df69a7
2023-12-13 16:18:55 +00:00
Daniel Harvey
72e50c1556 chore: check we have fields in our Logical Model before outputting a parser
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10550
GitOrigin-RevId: 85f83274f696e381da68547bf7af098ea8f5ac11
2023-12-13 12:32:00 +00:00
Vishnu Bharathi
10c2ae745c ci: tag release v2.35.2
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10545
GitOrigin-RevId: d600e0ccbff76f181517dd2f42bc0e860c6d434c
2023-12-11 16:19:20 +00:00
Samir Talwar
ae5279ccda Apply HLint's new proposed fixes.
Upgrading HLint brought in a bunch of new suggestions for improvements to the code.

I thought I'd go through them quickly and get them in.

This is not all of them, just the ones I thought were reasonable.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10505
GitOrigin-RevId: cefd661e9dcb973843b421fd0e31a5c5ffe4720f
2023-12-07 09:16:33 +00:00
pranshi06
94f01cfbb0 server: fix condition to classify requests to Apollo persisted queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10514
GitOrigin-RevId: c7ada21af3984761e8521f0fc8092e27367cdc02
2023-12-06 10:56:44 +00:00
Daniel Harvey
d9aec547f2 chore: change array lookup in introspection
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10496
GitOrigin-RevId: 9035dcd241e46543b9c20339073698871be39666
2023-11-30 14:05:49 +00:00
Vishnu Bharathi
5768af0ee7 ci: tag release for v2.36.0-beta.1 and v2.36.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10517
GitOrigin-RevId: a075b09b4c13fff5ff3ce8f9391331d987e2669c
2023-11-29 12:31:52 +00:00
Samir Talwar
d39f30c38c Allow for columns without known types in MS SQL Server.
Sometimes, the `sys.types` table will not contain a type for a given column.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10506
GitOrigin-RevId: 7407e715a75d196f1bc0408d05f00804f85cbc55
2023-11-23 10:32:56 +00:00
Samir Talwar
73e413e1ee Specify the GHC version in one place.
There's no reason to duplicate this, and it's easy to let them get out of sync.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10502
GitOrigin-RevId: ab52a8ee636bc2abce817985971e43be0e37a874
2023-11-22 09:33:37 +00:00
Samir Talwar
0373beaed0 Upgrade nixpkgs, bump Haskell tool versions, and fix the new HLint errors.
Maintenance work to keep our server tools up to date.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10503
GitOrigin-RevId: 4402e39a5600d14c1e7d5eb4c91b152c2111f315
2023-11-22 09:02:34 +00:00