feat: Add Soroban pagination, health confidence bands, backfill controls, and event search - #1228
Merged
Mosas2000 merged 7 commits intoAug 29, 2026
Conversation
Closes StellaBridge#1141 - Update HealthScore database model to include confidenceBand and confidenceScore. - Modify sourceHealthScoring.service.ts to calculate and save confidence bands. - Update sourceHealthScoring.routes.ts to return confidence data.
Closes StellaBridge#1043 - Created SorobanEvent schema/model and hypertable - Implemented sorobanEventIndex.service.ts for fetching and indexing - Implemented paginated sorobanEvents.routes.ts
Closes StellaBridge#1165 - Update backfill tracking models to link to sourceId and track states. - Expose backfill orchestrator with start/stop/status methods per source. - Create backfill.routes.ts to expose backfill controls via API.
Closes StellaBridge#1166 - Add searchIngestionHistory method to incidentIngestion.service.ts - Expose ingestion search endpoint in incidents.routes.ts
|
@Ultra-Tech-code Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
Description
This PR implements several discrete backend features to expand Bridge-Watch's capabilities across Soroban event indexing, health scoring, ingestion search, and backfill controls.
Type of Change
Related Issue
Closes #1043
Closes #1141
Closes #1165
Closes #1166
Changes Made
soroban_eventshypertable andsorobanEventIndex.service.tsto index and serve paginated queries for Soroban events. Exposed viaGET /api/v1/soroban-events.backfill_jobstracking with an orchestrator service supportingstart,stop, andstatuscontrols exposed over/api/v1/backfill/:sourceId.searchIngestionHistoryto query historical incident ingestions by source type, status, and date bounds, exposed viaGET /api/v1/incidents/ingestion/search.Testing
npm run test:unit)npm run test:integration)Manual test steps (if applicable):
Migration Changes
npm run migrate:makenpm run migrate:validatedown()function tested locallyDocumentation
README.mdupdated (new commands, endpoints, or setup steps)docs/file updated.env.exampleupdated (new environment variables)backend/docs/API.mdupdated (new or changed endpoints)Checklist
maintype(scope): summary)npm run lint,cargo clippy)npm run build,cargo build --release)console.log/println!left in production code.envfiles committedCI Status
Screenshots
Breaking Changes
Additional Notes