Skip to content

Refactor bridge management and remove unused database drivers#428

Merged
OutOfBedlam merged 3 commits into
mainfrom
bridge-refactor
Jun 29, 2026
Merged

Refactor bridge management and remove unused database drivers#428
OutOfBedlam merged 3 commits into
mainfrom
bridge-refactor

Conversation

@OutOfBedlam

Copy link
Copy Markdown
Contributor
  • Deleted the internal implementations for MSSQL, MySQL, PostgreSQL, and SQLite bridges.
  • Updated the bridge management logic to utilize a new connector pattern for database bridges.
  • Improved error handling and response structures in the bridge management service.
  • Added unit tests for bridge management functionalities.
  • Refactored the MQTT and NATS bridges to include stats snapshot functionality.
  • Removed the Python bridge support from the exec command handling.
  • Enhanced the runtime service to streamline SQL execution requests.

- Deleted the internal implementations for MSSQL, MySQL, PostgreSQL, and SQLite bridges.
- Updated the bridge management logic to utilize a new connector pattern for database bridges.
- Improved error handling and response structures in the bridge management service.
- Added unit tests for bridge management functionalities.
- Refactored the MQTT and NATS bridges to include stats snapshot functionality.
- Removed the Python bridge support from the exec command handling.
- Enhanced the runtime service to streamline SQL execution requests.
@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.26667% with 59 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.35%. Comparing base (338ae2d) to head (ffb5584).

Files with missing lines Patch % Lines
mods/bridge/connector/sql_bridge.go 84.78% 26 Missing and 9 partials ⚠️
mods/bridge/connector/sql_base.go 82.27% 7 Missing and 7 partials ⚠️
mods/bridge/registry.go 57.14% 5 Missing and 1 partial ⚠️
mods/bridge/connector/connector.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #428      +/-   ##
==========================================
+ Coverage   65.03%   65.35%   +0.32%     
==========================================
  Files         354      351       -3     
  Lines       69766    69566     -200     
==========================================
+ Hits        45373    45468      +95     
+ Misses      19557    19261     -296     
- Partials     4836     4837       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@OutOfBedlam OutOfBedlam merged commit d1a4ae5 into main Jun 29, 2026
9 checks passed
@OutOfBedlam OutOfBedlam deleted the bridge-refactor branch June 29, 2026 07:04
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.

1 participant