Skip to content

Conversation

alexpitsikoulis
Copy link
Collaborator

Motivation

The RecordScanner class which implements the RecordProvider interface serves as a means of access for the Record Scanner Service.

Test Plan

Unit tests on initialization of the RecordScanner as well as all of its methods, ensuring that it is making the correct HTTP requests with the correct body and headers and returning the data received from these requests as expected.

Related PRs

Upgrade to RecordProvider interface

@iamalwaysuncomfortable
Copy link
Member

@alexpitsikoulis I'll review this in a bit, basically though, as many tests as you can build proving it against a real RSS service with it, the better.

Copy link
Member

@iamalwaysuncomfortable iamalwaysuncomfortable left a comment

Choose a reason for hiding this comment

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

Overall really great job here Alex, the tests are good. Left some comments, but they're mostly small changes.

What we want to do prior to folding this in is test it against an actual service.

Can you write up another test file that tests it against the service? We can store all the test data related to that in envars for ci.

@iamalwaysuncomfortable
Copy link
Member

Excellent work @alexpitsikoulis this is set to merge.

@alexpitsikoulis alexpitsikoulis merged commit 2209875 into mainnet Oct 6, 2025
13 checks passed
@alexpitsikoulis alexpitsikoulis deleted the feat/record-scanner-client branch October 6, 2025 17:33
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