Skip to content

feat: add buffer lookup and location results update to services#3312

Closed
gorkem-bwl wants to merge 1 commit intofeat/globalping-check-modelsfrom
feat/globalping-check-services
Closed

feat: add buffer lookup and location results update to services#3312
gorkem-bwl wants to merge 1 commit intofeat/globalping-check-modelsfrom
feat/globalping-check-services

Conversation

@gorkem-bwl
Copy link
Contributor

Summary

  • Add findInBuffer() to BufferService for looking up checks still in the write buffer by ID
  • Add updateLocationResults() to checks repository interface and MongoDB implementation
  • These methods are not yet wired into the check pipeline — purely additive, no behavior changes

Test plan

  • npm run build in /server passes with zero errors
  • Existing check pipeline is unaffected
  • New methods are available but not called yet

@gorkem-bwl gorkem-bwl force-pushed the feat/globalping-check-services branch from f3e251c to 4e7e341 Compare February 20, 2026 05:44
@gorkem-bwl gorkem-bwl force-pushed the feat/globalping-check-models branch 2 times, most recently from 467e0f0 to ebfcb95 Compare February 20, 2026 06:15
@gorkem-bwl gorkem-bwl force-pushed the feat/globalping-check-services branch from 4e7e341 to 325537e Compare February 20, 2026 06:15
## Changes
- Add findInBuffer() to BufferService for looking up checks still in the write buffer
- Add updateLocationResults() to IChecksRepository interface and MongoChecksRepository
- Update GlobalpingService to return GlobalpingCheckResult[] instead of MonitorStatusResponse[]

## Benefits
Non-destructive service additions that prepare the backfill pipeline.
Existing check-writing and Globalping flows are unchanged.
@gorkem-bwl gorkem-bwl force-pushed the feat/globalping-check-models branch from ebfcb95 to d25ce9e Compare February 20, 2026 06:42
@gorkem-bwl gorkem-bwl force-pushed the feat/globalping-check-services branch from 325537e to 3b858de Compare February 20, 2026 06:42
Copy link
Member

@Br0wnHammer Br0wnHammer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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