You are working on the hyperswitch repository (Rust payment processing system).…
- User
You are working on the hyperswitch repository (Rust payment processing system).
REPOSITORY SETUP:
- Repository: juspay/hyperswitch
- Working directory: ./repos/hyperswitch_pool_7 (already cloned)
- Base commit: 344dcd6e43022c3e5479629b57bff255b903d5b5
- Task ID: juspay__hyperswitch-8070
- Version: v1.114.0
TASK DESCRIPTION: Bug: [FEATURE] Add support for multiple retry algorithms in revenue recovery workflow #7
Add support for Process tracker revenue recovery workflow to support multiple retry algorithms.
- The retry algorithm is a runtime config
DETAILED CONTEXT & HINTS:
Type of Change
- Bugfix
- New feature
- Enhancement
- Refactoring
- Dependency updates
- Documentation
- CI/CD
Description
- This PR adds support for updating the retry Algorithm from Monitoring to Smart , once the threshold is reached
- It also adds support in the process tracker workflow for revenue recovery , to consume schedule time for retry based on different retry algorithms
Additional Changes
- This PR modifies the API contract
- This PR modifies the database schema
- This PR modifies application configuration/environment variables
Motivation and Context
How did you test it?
- Create a MA and a Billing connector
- The retry_Algorithm type in business profile will be switched to Monitoring
- Once the time in the revenue_recovery_config is surpassed , the
retry_Algorithm typefield in business profile will be updated to Cascading [image: Screenshot 2025-05-15 at 7 45 53 PM] open
Assistant
I'll help you implement support for multiple retry algorithms in the revenue recovery workflow. Let me start by understanding the current implementation and identifying the key files that need to be modified.
First, I'll explore the repository structure to locate the relevant files for revenue recovery and retry algorithms.
Assistant
Let me use the Explore agent properly to understand the repository structure and find the relevant files.
Assistant
Now let me look more specifically at the retry algorithm implementations and business profiles to understand how to add support for multiple retry algorithms.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.