Skip to content

Add PostgreSQL support to pass_or_fail investigator#171

Merged
jhutar merged 3 commits into
redhat-performance:mainfrom
KrishnaM256:pass_or_fail_psql
Jun 15, 2026
Merged

Add PostgreSQL support to pass_or_fail investigator#171
jhutar merged 3 commits into
redhat-performance:mainfrom
KrishnaM256:pass_or_fail_psql

Conversation

@KrishnaM256

Copy link
Copy Markdown
Contributor

Summary

  • Add PostgreSQL plugins for loading historical data and storing pass/fail decisions in pass_or_fail.py
  • Make psycopg2-binary optional via a [postgresql] extra; document install options in README and sample config
  • Harden PostgreSQL decision storage with clearer import errors and graceful connection/insert failure handling

Test plan

  • Run pass_or_fail.py with postgresql history/decisions config against a test DB
  • Verify core install works without psycopg2 and fails with a clear message when postgresql plugin is selected
  • Verify pip install opl-rhcloud-perf-team-core[postgresql] enables the plugins

Apply black formatting, fix markdown style, prose, list numbering,
command-line terminology, and pre-existing typos in investigator README.
@jhutar jhutar merged commit db38f34 into redhat-performance:main Jun 15, 2026
1 check failed
@jhutar

jhutar commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Thank you! Linter issues were pre-existing issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants