Skip to content

Add residential proxy data to Anonymizer#433

Closed
oschwald wants to merge 1 commit into
mainfrom
greg/stf-997-add-residential-to-anonymizer
Closed

Add residential proxy data to Anonymizer#433
oschwald wants to merge 1 commit into
mainfrom
greg/stf-997-add-residential-to-anonymizer

Conversation

@oschwald

Copy link
Copy Markdown
Member

Summary

Surfaces the new residential sub-object of the anonymizer object in the minFraud Insights and Factors ip_address response. The models reuse the GeoIP2 library's Anonymizer record, so this is a fixtures/tests/changelog change; the field flows through via the dependency.

Depends on maxmind/GeoIP2-dotnet#494. At release time the MaxMind.GeoIP2 PackageReference must be bumped to 6.1.0 once published.

Testing

With GeoIP2 packed from that PR (local NuGet source, not committed): dotnet build clean on all five target frameworks; 181/181 tests pass on net8.0/net9.0/net10.0.

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@oschwald, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 57 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: fcdb6903-4389-4415-aeb5-e3a795cbf20a

📥 Commits

Reviewing files that changed from the base of the PR and between 5c77eba and 4bf97e5.

📒 Files selected for processing (5)
  • MaxMind.MinFraud.UnitTest/Response/InsightsTest.cs
  • MaxMind.MinFraud.UnitTest/TestData/factors-response.json
  • MaxMind.MinFraud.UnitTest/TestData/insights-response.json
  • MaxMind.MinFraud.UnitTest/WebServiceClientTest.cs
  • releasenotes.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch greg/stf-997-add-residential-to-anonymizer

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request adds support for the new Residential property on the Anonymizer response model, which contains data from the full-feed GeoIP Residential Proxy database. The changes include updating test response JSON files, adding unit tests to verify the serialization and behavior of the new property (including a test case for when only the residential sub-object is present), and updating the release notes for version 6.1.0. There are no review comments, and I have no additional feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@oschwald
oschwald force-pushed the greg/stf-997-add-residential-to-anonymizer branch from aa3389a to 0321b11 Compare July 11, 2026 02:04
Surface the new Residential sub-object on the anonymizer object in
the Insights and Factors response models. This is inherited directly
from MaxMind.GeoIP2.Model.Anonymizer via MaxMind.MinFraud.Response.IPAddress,
which extends MaxMind.GeoIP2.Responses.InsightsResponse, so no new
model code is needed here.

Test data and tests are updated to cover the new residential field,
including the case where the anonymizer object contains only the
residential sub-object. Requires MaxMind.GeoIP2 6.1.0 or greater at
release time; the dependency in MaxMind.MinFraud.csproj is left
unchanged for now since 6.1.0 has not been released.

STF-997

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@oschwald
oschwald force-pushed the greg/stf-997-add-residential-to-anonymizer branch from 0321b11 to 4bf97e5 Compare July 14, 2026 00:09
@oschwald oschwald closed this Jul 14, 2026
@oschwald
oschwald deleted the greg/stf-997-add-residential-to-anonymizer branch July 14, 2026 14:39
@oschwald

Copy link
Copy Markdown
Member Author

Claude, on behalf of Greg: This PR was inadvertently closed by a head-branch rename (the branch now references the release ticket). Superseded by #434, which carries the identical commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant