Skip to content

STF-2532: Remove shipping_address.is_high_risk from minFraud docs - #1830

Open
oschwald wants to merge 1 commit into
mainfrom
greg/stf-2532-deprecate-shipping-is-high-risk
Open

oschwald wants to merge 1 commit into
mainfrom
greg/stf-2532-deprecate-shipping-is-high-risk

Conversation

@oschwald

@oschwald oschwald commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Summary

Merge this after STF-2444 deploys (target December 9). Before then, the web service can still return the field.

  • Remove shipping_address.is_high_risk from the minFraud response schema, the Shipping Address example, and the full Insights and Factors examples.
  • Mark the legacy shipForward output as deprecated. It is present only if the request has shipAddr. It returns No when the shipping address parses and NA when it does not. It never returns Yes.
  • Remove the high-risk address database from the legacy Shipping Address input header.

The release note is in MAR-1515.

STF-2532

🤖 Generated with Claude Code

@oschwald
oschwald requested review from horgh and a balanced review from Copilot December 1, 2026 22:10
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Deploying dev-site with  Cloudflare Pages  Cloudflare Pages

Latest commit: 835f30c
Status: ✅  Deploy successful!
Preview URL: https://44f516d3.dev-site-4ua.pages.dev
Branch Preview URL: https://greg-stf-2532-deprecate-ship.dev-site-4ua.pages.dev

View logs

@coderabbitai

coderabbitai Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 6 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 1cd949b2-ac00-479d-86be-55d39b807834
Commits

Reviewing files that changed from the base of the PR and between 7524536 and 835f30c.

Files selected for processing: 2

  • content/minfraud/api-documentation/responses.md
  • content/minfraud/minfraud-legacy.md

No actionable comments were generated in the recent review.

Walkthrough

The response documentation removes shipping_address.is_high_risk from its schema and examples. The legacy documentation marks shipForward as deprecated and describes its documented values.

Changes: Shipping Address Documentation

Layer / File(s) Summary
Remove is_high_risk from response documentation
content/minfraud/api-documentation/responses.md
The shipping-address schema and response examples no longer include is_high_risk.
Update legacy shipForward description
content/minfraud/minfraud-legacy.md
The description marks shipForward as deprecated. It states that the value is No when the address can be parsed, NA when it cannot, and never Yes.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: kevcenteno, oalders

Merge Risk: Minimal · previous review 75245

This documentation-only change removes a field from the response docs and updates the deprecated legacy shipForward description. The author states it should merge after STF-2444 deploys (target December 9), and the merge risk is minimal as long as that ordering is followed.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: removing shipping_address.is_high_risk from the minFraud documentation. The changeset removes that field from the response docs (schema, Shipping Address example, Insi…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title names the main change: removing shipping_address.is_high_risk from the minFraud documentation. The changeset removes that field from the response docs (schema, Shipping Address example, Insights and Factors examples). The title also has a ticket prefix (STF-2532), which is acceptable. It omits the shipForward legacy deprecation, which is a secondary change and does not need to be in the title.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A rabbit reads the shipping page,
And finds one field removed from view.
“Deprecated,” the legacy notes now say,
With No or NA as values due.
The rabbit hops through docs anew.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: c33cfbb3-e362-415a-b92b-14985088c578
Commits

Reviewing files that changed from the base of the PR and between d3e4970 and 7524536.

Files selected for processing: 2

  • content/minfraud/api-documentation/responses.md
  • content/minfraud/minfraud-legacy.md
Files with no reviewable changes: 1

  • content/minfraud/api-documentation/responses.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Copilot AI 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.

🔵 Needs a closer look

Merging requires human confirmation of STF-2444’s deployment and the resulting Legacy shipForward behavior, which repository evidence cannot establish.

No open issues 🎉

What changed in this PR

Updates minFraud documentation for the removal of shipping-address high-risk reporting. Publication is intended to follow the STF-2444 service deployment.

Changes:

  • Removes shipping_address.is_high_risk from the response schema and Shipping Address, Insights, and Factors examples.
  • Marks legacy shipForward as deprecated, documenting No for parsed addresses, NA for unparseable addresses, and no Yes responses.
File Description
content/​minfraud/​minfraud-legacy.md Documents shipForward deprecation and remaining return values.
content/​minfraud/​api-documentation/​responses.md Removes the shipping high-risk field from the schema and examples.

Review effort: Balanced

@oschwald
oschwald marked this pull request as draft December 1, 2026 22:54
@oschwald
oschwald force-pushed the greg/stf-2532-deprecate-shipping-is-high-risk branch from 7524536 to 3e6c71f Compare December 1, 2026 22:56
minFraud no longer returns shipping_address.is_high_risk in Insights
and Factors responses. Remove the field from the response schema and
the examples.

The legacy shipForward output is now deprecated. It is present only if
the request has shipAddr. It returns No when the shipping address
parses and NA when it does not. It never returns Yes. The legacy
shipping input header no longer mentions the high-risk address
database.

STF-2532

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oschwald
oschwald force-pushed the greg/stf-2532-deprecate-shipping-is-high-risk branch from 3e6c71f to 835f30c Compare December 1, 2026 22:56
@oschwald
oschwald marked this pull request as ready for review December 1, 2026 23:04
Copilot AI balanced review requested due to automatic review settings December 1, 2026 23:04

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

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.

2 participants