refactor: add observation module#3232
Merged
steve-chavez merged 1 commit intoPostgREST:mainfrom Feb 20, 2024
Merged
Conversation
Member
Author
|
Hm, the only test that is failing is: def test_log_postgrest_version(defaultenv):
"Should show the PostgREST version in the logs"
with run(env=defaultenv) as postgrest:
version = postgrest.session.head("/").headers["Server"].split("/")[1]
assert (
"Starting PostgREST %s..." % version
in postgrest.process.stdout.readline().decode()
)Really weird that postgrest-run produces: $ postgrest-run
19/Feb/2024:16:11:42 -0500: Starting PostgREST 12.1 (160caaf)And the io tests don't produce that log line. Is there a difference with |
Member
|
@steve-chavez I think it's the According to the CI error, it does log it: https://github.com/PostgREST/postgrest/actions/runs/7939142788/job/21678864120?pr=3232#step:4:303 |
Member
Author
|
Ahh, thanks a lot for that one @laurenceisla. That saved me a lot of time.
Right, so it's included in the red text then.. that confused me. |
15d6788 to
0b3e4b8
Compare
0b3e4b8 to
f099ce3
Compare
Member
Author
|
This looks ready to merge. There are codecov warnings but to clear those we need the recovery tests #1766. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AppState.hs-opentelemetry#3140)Next steps
showObservation).