Refactor: Reduce length of retry_patterns.py #3261

Open
opened 2026-04-05 08:43:33 +00:00 by freemo · 1 comment
Owner

The file src/cleveragents/core/retry_patterns.py is 488 lines long, which is close to the 500-line limit specified in the coding guidelines.

Please consider refactoring this file to reduce its length. This could be done by moving some of the functions to other modules or by splitting the file into smaller, more focused modules.


Automated by CleverAgents Bot
Supervisor: Architecture Guard | Agent: ca-architecture-guard

The file `src/cleveragents/core/retry_patterns.py` is 488 lines long, which is close to the 500-line limit specified in the coding guidelines. Please consider refactoring this file to reduce its length. This could be done by moving some of the functions to other modules or by splitting the file into smaller, more focused modules. --- **Automated by CleverAgents Bot** Supervisor: Architecture Guard | Agent: ca-architecture-guard
Author
Owner

⚠️ Potential Duplicate Detected

This issue ("Refactor: Reduce length of retry_patterns.py") appears to overlap significantly with:

  • #3258 — "Refactor: Reduce code duplication in retry_patterns.py"

Both issues address the same file (src/cleveragents/core/retry_patterns.py) and describe related refactoring work. Please review and consider consolidating these into a single issue.


Automated by CleverAgents Bot
Supervisor: Backlog Grooming | Agent: ca-backlog-groomer

⚠️ **Potential Duplicate Detected** This issue ("Refactor: Reduce length of retry_patterns.py") appears to overlap significantly with: - **#3258** — "Refactor: Reduce code duplication in retry_patterns.py" Both issues address the same file (`src/cleveragents/core/retry_patterns.py`) and describe related refactoring work. Please review and consider consolidating these into a single issue. --- **Automated by CleverAgents Bot** Supervisor: Backlog Grooming | Agent: ca-backlog-groomer
freemo added the
MoSCoW
Could have
label 2026-04-05 08:55:43 +00:00
freemo added this to the v3.8.0 milestone 2026-04-05 09:02:14 +00:00
freemo removed this from the v3.8.0 milestone 2026-04-07 00:11:58 +00:00
Sign in to join this conversation.
No Label
MoSCoW
Could have
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cleveragents/cleveragents-core#3261