renovate[bot] and Wolfgang Walther
277342bf8c
chore(deps): update ubuntu:jammy docker digest to a6d2b38
2024-05-04 12:21:37 +02:00
steve-chavez
d9a51f23ce
test: sanity tests for primary and replica
...
* new --replica option to `postgrest-with-postgresql-*`
* new command `postgrest-test-replica`
* new sanity tests on test_replica.py
* add postgrest-test-replica to postgrest-check and postgrest-coverage
2024-04-30 18:35:40 -05:00
steve-chavez
cdb877135b
test: flush stdout so readline doesn't hang
2024-04-30 13:52:51 -05:00
Taimoor Zaeem and Steve Chavez
7e5fd317e6
docs: add docs page for CLI
2024-04-29 12:51:54 -05:00
Laurence Isla and GitHub
40bd9a7769
ci: DRY the cleanup job for ARM servers
2024-04-29 12:20:00 -05:00
renovate[bot] and Wolfgang Walther
5e41121551
chore(deps): update ubuntu:jammy docker digest to 6d7b5d3
2024-04-26 08:34:18 +02:00
renovate[bot] and Wolfgang Walther
46d8dfde42
chore(deps): update actions/checkout action to v4.1.4
2024-04-26 08:31:33 +02:00
Laurence Isla
85a4e35a2d
docs: fix http status for PGRST121 error
2024-04-24 15:04:35 -05:00
renovate[bot] and Wolfgang Walther
359a14533b
chore(deps): update actions/download-artifact action to v4.1.7
2024-04-24 20:53:56 +02:00
Laurence Isla and GitHub
69bbce5b32
feat: improve PGRST121 error message
...
* Clarify the message field
* Show failed MESSAGE or DETAIL in the the PGRST121 error's details field
* Show the correct JSON format in the hint field
2024-04-24 13:33:10 -05:00
steve-chavez
3eff4670f0
docs: metrics for schema cache and connection pool
2024-04-23 19:08:37 -05:00
steve-chavez
357400b2b8
feat: schema cache metrics
2024-04-23 19:08:37 -05:00
steve-chavez
653c7955b2
feat: connection pool metrics in admin server
2024-04-23 19:08:37 -05:00
steve-chavez
29cd7d195c
nix: add instructions for haskell-packages.nix
2024-04-23 19:08:37 -05:00
Laurence Isla and GitHub
e788776ec3
ci: clean ARM server even when previous steps or jobs fail
2024-04-23 16:34:55 -05:00
steve-chavez
3e615bd0d9
feat: add log-level=debug
2024-04-22 21:36:29 -05:00
renovate[bot] and Wolfgang Walther
bddfa2782d
chore(deps): update actions/checkout action to v4.1.3
2024-04-22 21:30:23 +02:00
Wolfgang Walther
6858693291
ci: Be explicit about the version of linux and windows runner images
...
Using the -latest tag is potentially prone to errors, because an update of the tag
could break our CI. This recently happend with macos-latest, which we downgraded
to macos-12 earlier.
Using an explicit version reference makes this problem much less likely - in fact
renovate will pick up new versions once they exist and will suggest updates for it.
Thus, we will see the failures in a related PR instead of randomly everywhere.
2024-04-22 21:20:30 +02:00
renovate[bot] and Wolfgang Walther
dcb9f92b80
chore(deps): update actions/upload-artifact action to v4.3.3
2024-04-22 21:14:58 +02:00
renovate[bot] and Wolfgang Walther
6a38cc098d
chore(deps): update actions/download-artifact action to v4.1.6
2024-04-22 21:14:44 +02:00
Wolfgang Walther and Wolfgang Walther
81ceac8ba3
ci: revert to macos-12
...
GitHub Actions updated the latest macos image to macos-14 [1], which made both
of our macos build jobs fail.
This reverts to macos-12, which should fix CI for the moment. We can then look
into migrating to macos-14 explicitly.
[1]: https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/
2024-04-22 21:11:03 +02:00
Taimoor Zaeem and Steve Chavez
88abf600c4
fix: fix wrong http status on pg error 42P17 infinite recursion
2024-04-22 13:40:07 -05:00
Wolfgang Walther and Wolfgang Walther
80f83f0366
nix: Update to latest nixpkgs#master
2024-04-20 17:06:29 +02:00
Wolfgang Walther and Wolfgang Walther
b6a50ab8ed
nix: Allow changing to a fork in nixpkgs-version.nix
2024-04-20 17:06:29 +02:00
Wolfgang Walther
87a463f857
test: fix broken io tests after last commit
...
Forgot to update the snapshots.
2024-04-20 16:03:53 +02:00
Wolfgang Walther
ed407350ad
fix: hoist function settings with memory units properly
...
f9ee1f7e introduced the hoisting of function settings as transaction-scoped
settings. However, this currently doesn't work with memory units, which are
case-sensitive according to the docs [1]. This removes the lowercasing of
values to make them work.
This is not added to the CHANGELOG, because this feature was not released, yet.
[1]: https://www.postgresql.org/docs/current/config-setting.html#CONFIG-SETTING-NAMES-VALUES
2024-04-20 13:58:04 +02:00
renovate[bot] and Wolfgang Walther
de788c9832
chore(deps): update ubuntu docker tag to v22
2024-04-20 12:39:22 +02:00
Wolfgang Walther
07dc37e66f
chore: limit docutils to <0.21.0
...
sphinx-rtd-theme currently does not support docutils 0.21.x.
This restriction can be lifted once the upstream issue has been resolved:
https://github.com/readthedocs/sphinx_rtd_theme/issues/1557
2024-04-20 12:38:24 +02:00
renovate[bot] and Wolfgang Walther
c2994fb0b1
chore(deps): update ubuntu:focal docker digest to 71b82b8
2024-04-20 12:33:30 +02:00
renovate[bot] and Wolfgang Walther
6863fe1e26
chore(deps): update actions/download-artifact action to v4.1.5
2024-04-20 12:33:06 +02:00
renovate[bot] and Wolfgang Walther
dc6399abad
chore(deps): update actions/upload-artifact action to v4.3.2
2024-04-20 12:32:55 +02:00
Laurence Isla and Steve Chavez
0d13b842a6
fix: OpenAPI now tags a FK correctly on O2O relationships
2024-04-18 17:08:14 -05:00
steve-chavez
1bf0c54dd6
feat: log connection pool events on log-level=info
2024-04-15 18:31:51 -05:00
Steve Chavez and GitHub
9d1dc783bf
test: use postgrest.read_stdout in io tests ( #3412 )
...
It's easier to maintain this way in case there are new log lines.
2024-04-15 13:51:23 -05:00
steve-chavez
69c6ce9c38
refactor: use LogLevel in Logger
...
* remove Logger dependency on Auth.
2024-04-14 20:10:01 -05:00
steve-chavez
c57ec52229
refactor: make stdout explicit on Logger
...
Otherwise it's hard to know we're logging to stdout.
2024-04-14 20:10:01 -05:00
Taimoor Zaeem and Steve Chavez
973201a8d3
fix: remove rejected mediatype application/vnd.pgrst.object+json from response
2024-04-13 16:07:38 -05:00
steve-chavez
fbc4d565ca
refactor: move debounce from AppState to Logger
...
Will allow to capture accurate timeout metrics.
2024-04-12 14:29:39 -05:00
steve-chavez
2de32fc108
refactor: observation handler to AppConfig
...
With this:
- Is no longer necessary to pass observer as an argument
to every function that needs observations.
- We can invoke the observer on every function that uses AppConfig.
However it'd be better to just call the observer in the upper modules
(like on App.hs).
2024-04-12 14:29:39 -05:00
Laurence Isla and GitHub
460259548d
perf: fix space leaks by downgrading fuzzyset to v0.2.4
2024-04-11 14:13:20 -05:00
steve-chavez
b88191299f
docs: remove schema cache dep from Query
2024-04-10 19:35:23 -05:00
Laurence Isla
4bcd6725fe
chore: update sponsor logos
2024-04-10 18:37:57 -05:00
Laurence Isla
70396d3f6c
docs: add dark mode
...
- Uses sphinx-rtd-dark-mode for sphinx-rtd-theme
- Adds dark mode logos for sponsors
2024-04-10 18:37:57 -05:00
steve-chavez
c9136816a2
docs: move ARCHITECTURE.md to architecture.rst
2024-04-10 15:51:08 -05:00
steve-chavez
4428253efe
docs: move health_check.rst to admin_server.rst
2024-04-10 15:51:08 -05:00
steve-chavez
47a4e2bfd0
docs: add proxy and config reloading to arch
2024-04-10 13:57:49 -05:00
renovate[bot] and Wolfgang Walther
5880e62d7a
chore(deps): update codecov/codecov-action action to v4.3.0
2024-04-10 09:10:27 +02:00
steve-chavez
2772b78013
docs: add config/cli/developer to arch
2024-04-08 15:51:30 -05:00
steve-chavez
b91908b749
docs: add architecture description
2024-04-08 13:50:00 -05:00
steve-chavez
ab73624366
docs: add architecture diagram
2024-04-08 11:57:03 -05:00