Open
Conversation
- Create Oracle database adapter (bingo/tests/dbc/OracleDB.py) following the same pattern as PostgresSQL.py, with Oracle-specific SQL syntax - Add Oracle configuration to db_config.ini - Update base.py to support Oracle connection strings and env var overrides - Update conftest.py to handle Oracle DB setup/teardown - Add oracledb dependency to requirements.txt - Add test_bingo_oracle_linux_x86_64 CI job using gvenzl/oracle-xe service Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>
Co-authored-by: AlexeyGirin <26869421+AlexeyGirin@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add tests for Bingo Oracle coverage
Add tests for Bingo Oracle
Feb 20, 2026
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.
Generic request
#1234 – issue nameFor release/xx branch
Optional
No tests existed for Bingo Oracle. This adds the Oracle database adapter to the existing multi-backend test framework and a corresponding CI job.
Oracle DB Adapter (
bingo/tests/dbc/OracleDB.py)New
SQLAdaptersubclass mirroringPostgresSQL.py, with Oracle-specific differences:text()with:paramsyntax instead of psycopg2's%(param)sVALUESsyntax)INDEXTYPE IS bingo.MoleculeIndexinstead ofUSING bingo_idxCREATE SCHEMA IF NOT EXISTS(Oracle schemas = users)bingo.Exact(),bingo.Sub(),bingo.Sim(),bingo.AutoAAM(), etc. withFROM dualfor scalar queriesTest Infrastructure
conftest.py: Oracle setup/teardown indbfixture — creates tables, imports data, creates indices, drops on cleanupdb_config.ini: Added[oracle]section (localhost:1521/XEPDB1, user=test)base.py: Oracle config loading (wasNone),oracle+oracledbdialect, env var overrides (DB_ORACLE_HOST,DB_POSTGRES_HOST) for CIrequirements.txt: Addedoracledb==3.4.2CI Workflow (
indigo-ci.yaml)New
test_bingo_oracle_linux_x86_64job:build_bingo_oracle_linux_x86_64bingo-oracle-install.shagainst the service containertestuser with grants onbingo.MangoPackage/bingo.RingoPackagepytest -s --tb=no --db oracleOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.