Skip to content

Db viewer - #10

Closed
ajs2583 wants to merge 7 commits into
mainfrom
db-viewer
Closed

Db viewer#10
ajs2583 wants to merge 7 commits into
mainfrom
db-viewer

Conversation

@ajs2583

@ajs2583 ajs2583 commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator

This pull request sets up the foundational infrastructure and documentation for the OpenRAG Responses DB Viewer project. It introduces a comprehensive README, a Python and database-focused .gitignore, cross-platform SSH tunnel launch scripts, and a GitHub Actions workflow for CI and automated releases. These changes collectively enable easy local or remote (EC2) usage, robust CI, and clear onboarding for new users.

Project Documentation and Onboarding:

  • Added a detailed README.md describing project features, setup instructions, usage scenarios (local and EC2), environment variables, manual test steps, and project structure to help users and contributors quickly understand and use the DB viewer.

Development Environment Setup:

  • Introduced a .gitignore file to exclude Python bytecode, virtual environments, database files, and environment files from version control.

Connection Scripts for EC2 Integration:

  • Added connect.sh (Linux/macOS) and connect.ps1 (Windows) scripts to automate SSH tunneling to an EC2 PostgreSQL instance, set environment variables, and launch the Streamlit app, streamlining secure remote access for production data. [1] [2]

Continuous Integration and Release Automation:

  • Created .github/workflows/ci.yml to run smoke tests (import checks, SQL validation, diff utilities) on push/pull request, and on push to main, auto-generate a timestamped GitHub Release with quick-start instructions.

ajs2583 added 6 commits March 2, 2026 12:08
- Add app core files (`app.py`, `db_utils.py`, `diff_utils.py`)
- Add documentation: `README.md`
- Add database connection scripts: `connect.sh`, `connect.ps1`
- Add CI GitHub workflow for CI checks
- Add Python requirements for the project
- Initial `.gitignore` for OpenRAG-DB-viewer
- Remove obsolete `systems/docgpt/.env.example`
- Add new `systems/docgpt/.env.test` for test configuration
@github-actions

github-actions Bot commented Apr 7, 2026

Copy link
Copy Markdown

PR Change Log

Changed Files Summary

Overall: 18 files changed, 1689 insertions(+), 10 deletions(-)

Files Changed

Status File Lines Added Lines Removed
Added OpenRAG-DB-viewer/.github/workflows/ci.yml +95 -0
Added OpenRAG-DB-viewer/.gitignore +7 -0
Added OpenRAG-DB-viewer/README.md +148 -0
Added OpenRAG-DB-viewer/app.py +452 -0
Added OpenRAG-DB-viewer/connect.ps1 +92 -0
Added OpenRAG-DB-viewer/connect.sh +80 -0
Added OpenRAG-DB-viewer/db_utils.py +388 -0
Added OpenRAG-DB-viewer/diff_utils.py +97 -0
Added OpenRAG-DB-viewer/requirements.txt +3 -0
Added systems/docgpt/.env.test.example +18 -0
Modified systems/docgpt/README.md +67 -0
Added systems/docgpt/docker-compose.test.yml +31 -0
Added systems/docgpt/run-test-bot.sh +18 -0
Modified systems/docgpt/src/adapters/assistant.py +94 -1
Modified systems/docgpt/src/app/discord.py +57 -2
Modified systems/docgpt/src/core/containers.py +3 -1
Modified systems/docgpt/src/core/prompts.py +7 -2
Modified systems/docgpt/src/logging/discord_logger.py +32 -4

Changes by Directory

  • OpenRAG-DB-viewer/: 8 file(s)
  • systems/docgpt/: 4 file(s)
  • systems/docgpt/src/core/: 2 file(s)
  • systems/docgpt/src/logging/: 1 file(s)
  • systems/docgpt/src/app/: 1 file(s)
  • systems/docgpt/src/adapters/: 1 file(s)
  • OpenRAG-DB-viewer/.github/workflows/: 1 file(s)
  • ./: 1 file(s)

Warnings

Large changes detected in:

  • OpenRAG-DB-viewer/app.py (452+ / 0-)
  • OpenRAG-DB-viewer/db_utils.py (388+ / 0-)

Updated: 2026-04-07T19:15:15.425Z

@github-actions

github-actions Bot commented May 9, 2026

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs.

@github-actions github-actions Bot added the stale label May 9, 2026
@github-actions

Copy link
Copy Markdown

This pull request was closed because it has been stale for 14 days with no activity. Feel free to reopen if you'd like to continue working on it.

@github-actions github-actions Bot closed this May 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant