Repository navigation
Integration tests: RDM, Rules approval and silver writer on the shared pg16 server - #903
Merged
Merged
Conversation
…d pg16 server Each started its own Docker postgres:16-alpine with its own readiness loop. They now use tests/support/pg16.server(), as the clean MDM tests do (#900): Docker in CI, PG16_SERVER=pgserver locally, yielded once it answers SELECT 1, cleaned up either way. The silver writer keeps PG16_ADMIN_URL for a server kept between runs. 23 passed on local PostgreSQL 16. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FFKdv4nqKXKM9d5Cf2hEFk
Review (Standards, Spec, GoF): its last caller was the silver writer test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FFKdv4nqKXKM9d5Cf2hEFk
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
test_rdm_postgres.py,test_rules_approval_postgres.pyandtest_silver_writer_postgres.pyeach started their own Dockerpostgres:16-alpinecontainer with their own readiness loop. They now use the sharedtests/support/pg16.server(), as the clean MDM integration tests already do (#900).pg16.server()uses Docker in CI andPG16_SERVER=pgserverlocally. It yields the server only once it answersSELECT 1, and cleans up either way.The silver writer test still accepts
PG16_ADMIN_URL, for a server kept between runs.This was a follow-up from the GoF review on #900. The change is test-only: 35 lines added, 84 removed.
Checked
PG16_SERVER=pgserver uv run --with pgserver pytest tests/integration/test_rdm_postgres.py tests/integration/test_rules_approval_postgres.py tests/integration/test_silver_writer_postgres.py.ruff --select Fis clean.Review (Standards, Spec, GoF)
docker()andIMAGEintest_clean_mdm_postgres.pyhad no caller left once the silver writer test moved, so they are deleted. 57 clean MDM and silver writer tests pass on local PostgreSQL 16.RuntimeError(a fixture error) instead ofpytest.fail.tests/engine/test_data_skill_bundle_postgres.pystill starts its own container. It is on Codex's path list, so it is left as a follow-up.🤖 Generated with Claude Code
https://claude.ai/code/session_01FFKdv4nqKXKM9d5Cf2hEFk