Ints 369 highspot improve polling status#7220
Conversation
oin the skip case, there are no rows masked
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
Greptile SummaryThis PR enhances the polling status override system to support nuanced completion states. Previously, status overrides could only return a simple Key Changes:
Confidence Score: 5/5
Important Files Changed
|
Greptile's behavior is changing!From now on, if a review finishes with no comments, we will not post an additional "statistics" comment to confirm that our review found nothing to comment on. However, you can confirm that we reviewed your changes in the status check section. This feature can be toggled off in your Code Review Settings by deselecting "Create a status check for each PR". |
src/fides/api/service/saas_request/saas_request_override_factory.py
Outdated
Show resolved
Hide resolved
Linker44
left a comment
There was a problem hiding this comment.
Looks good! some minor nitpicks
Ticket INTS-369
Description Of Changes
This PR enhances the polling status override system to support nuanced completion states. Previously, status overrides could only return a simple bool (complete or not), but some APIs have multiple completion states like:
The new PollingStatusResult schema allows status overrides to signal "complete but skip result request", avoiding unnecessary HTTP calls when there's no data to fetch.
Backward Compatibility: Existing status overrides returning bool continue to work unchanged.
Code Changes
New Schema
** Updated Factory**
Updated Strategy
Steps to Confirm
(Requires Fidesplus)
Backwards Compatibility
** New functionality**
Complete_No_Records_FoundPre-Merge Checklist
CHANGELOG.mdupdatedmaindowngrade()migration is correct and works