Skip to content

feat: Add Soroban pagination, health confidence bands, backfill controls, and event search - #1228

Merged
Mosas2000 merged 7 commits into
StellaBridge:mainfrom
Ultra-Tech-code:feature/multi-issue-resolutions
Aug 29, 2026
Merged

feat: Add Soroban pagination, health confidence bands, backfill controls, and event search#1228
Mosas2000 merged 7 commits into
StellaBridge:mainfrom
Ultra-Tech-code:feature/multi-issue-resolutions

Conversation

@Ultra-Tech-code

Copy link
Copy Markdown
Contributor

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

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behaviour)
  • Refactoring (no functional changes)
  • Documentation update
  • CI/CD change
  • Dependency update

Related Issue

Closes #1043
Closes #1141
Closes #1165
Closes #1166

Changes Made

Testing

  • Unit tests pass locally (npm run test:unit)
  • Integration tests pass locally (npm run test:integration)
  • New tests added for new behaviour
  • Manual testing completed — describe below if relevant

Manual test steps (if applicable):

Migration Changes

  • No database migrations in this PR
  • New migration file generated with npm run migrate:make
  • Migration validated with npm run migrate:validate
  • down() function tested locally
  • No data loss in the rollback path

Documentation

  • No documentation changes needed
  • README.md updated (new commands, endpoints, or setup steps)
  • Relevant docs/ file updated
  • .env.example updated (new environment variables)
  • Inline comments / JSDoc updated for changed functions
  • backend/docs/API.md updated (new or changed endpoints)

Checklist

  • Branch is up to date with main
  • PR title follows Conventional Commits format (type(scope): summary)
  • Code follows project style — linters pass (npm run lint, cargo clippy)
  • Build succeeds (npm run build, cargo build --release)
  • No console.log / println! left in production code
  • No secrets, credentials, or .env files committed
  • Self-review completed — I have read my own diff

CI Status

  • Backend lint, build, and tests pass
  • Frontend lint, build, and tests pass
  • Contract format check, Clippy, and tests pass
  • Security scan passes (no new vulnerabilities)
  • Docker build succeeds

Screenshots

Breaking Changes

Additional Notes

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
@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@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! 🚀

Learn more about application limits

@Mosas2000
Mosas2000 merged commit 5ab6843 into StellaBridge:main Aug 29, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants