graphql-engine/server
Samir Talwar e3b46b78a9 server/upgrade-tests: Tests that ensure that HGE upgrades successfully.
These tests ensure that upgrading HGE preserves the GraphQL schema.

They do this by running two different versions of HGE against the same metadata, and ensuring that the GraphQL schema doesn't change.

We might find that in the future, we make an additive change that makes these tests fail. Improving the tests to allow for this is left as an exercise to whoever triggers it. (Sorry.)

Currently, we do this with:

  * an empty database (zero tracked relations)
  * the Chinook dataset
  * the "huge schema" dataset

The base version of HGE tested against can be overridden with an option. The version must be available on Docker Hub.

Further information is in the Haddock documentation.

[NDAT-627]: https://hasurahq.atlassian.net/browse/NDAT-627?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8982
GitOrigin-RevId: 97b4deda1e6fe1db33ce35db02e12c6acc6c29e3
2023-04-28 12:54:51 +00:00
..
benchmarks dev.sh: support graphql-engine-pro 2023-04-25 10:54:30 +00:00
documentation Fix haskell error in example code block 2023-04-04 11:28:35 +00:00
lib server/upgrade-tests: Tests that ensure that HGE upgrades successfully. 2023-04-28 12:54:51 +00:00
src-emit-metadata-openapi harmonize network manager handling 2023-02-22 15:55:54 +00:00
src-exec [feature branch] EE Lite Trials 2023-04-05 08:59:09 +00:00
src-lib chore(server): add Logical Models count to telemetry 2023-04-28 12:25:41 +00:00
src-rsr ci: tag release v2.24.1 2023-04-28 11:37:18 +00:00
src-test Import InsOrdHashMap, not OMap, OM, Map, HM, ... 2023-04-27 07:43:22 +00:00
test-manual server/test-manual: A way to start PostgreSQL with a read replica. 2023-03-28 09:20:51 +00:00
test-mssql server: Split the integration tests out into their own directories. 2022-11-17 12:56:26 +00:00
test-postgres chore(server): make native queries pro-only 2023-04-27 14:31:53 +00:00
tests-py Import J, not Aeson, A, JSON, Yaml... 2023-04-26 17:30:24 +00:00
.dockerignore update packages (#251) 2018-08-08 13:10:13 +05:30
.gitignore server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
.ormolu Upgrade Ormolu to v0.5. 2022-11-02 20:55:13 +00:00
commit_diff.txt Rewrite GraphQL schema generation and query parsing (close #2801) (#4111) 2020-08-21 12:27:01 -05:00
COMPILING-ON-MACOS.md frontend: switch cli and server to use the new nx assets 2023-01-25 12:07:01 +00:00
CONTRIBUTING.md nix: Switch to nixpkgs-unstable. 2023-03-24 20:36:48 +00:00
graphql-engine.cabal Remove RQL.Types -> RQL.DDL dependencies 2023-04-28 10:48:15 +00:00
Makefile ci: misc. cleanup, naming 2022-01-03 06:26:39 +00:00
STYLE.md Nix: Use nixpkgs-fmt to format everything. 2022-06-20 13:02:45 +00:00
testing-guidelines.md Extract the test harness from the Hspec tests 2022-10-04 08:31:26 +00:00
troubleshooting.md Create troubleshooting.md 2022-05-30 09:18:44 +00:00
VERSIONS.json Nix: Upgrade nixpkgs so we can use Cabal v3.10.1. 2023-04-26 09:22:15 +00:00