Repository navigation
observers: document disposable local Postgres tests - #16
Merged
Merged
Conversation
Signed-off-by: Brad <1676751+Sinkleberg@users.noreply.github.com>
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.
What changes
Add a disposable PostgreSQL 17 Docker walkthrough with loopback publishing, logical WAL, test administrator and separate reader roles, exact single-file test commands, a SELECT-only profile example, and cleanup. Link it from the observer README and the live-test skip hint.
Closes #7.
The failing case
The existing
pg.live.test.mjspermission-denied case rejects a role without SELECT. Local walkthrough verification also confirms the documented reader can SELECT but receives SQLSTATE 42501 on UPDATE. Both live files were exercised against PostgreSQL 17.11 with Node 24.22.2; the optional ALTER SYSTEM test remains skipped.Actual live-suite output (Linux/amd64):
The fresh-start TCP readiness block passed; the same block pointed at a closed port exhausted its 30 attempts and exited 1. Full suite on the final head: 4,679 passed, 92 repository-defined skips, zero failures across all 330 files. CI helper tests: 92 passed, 4 skipped, zero failures.
Limits
This checks that server version and synthetic data only, with no application assessment or wider Postgres compatibility claim. Snapshot inserts/deletes remain net-only. No dependency or observer implementation change.
Checklist
./scopehaven test --test-concurrency=4 --test-reporter=tappasses locally on the final head.