Skip to content

fix: cap config.num_retries and keep host only - #6

Closed
utsab345 wants to merge 844 commits into
mainfrom
fix/cap-num-retries-config
Closed

utsab345 wants to merge 844 commits into
mainfrom
fix/cap-num-retries-config

Conversation

@utsab345

Copy link
Copy Markdown
Owner

Repository settings can no longer set config.num_retries and a host value above 10 is clamped to 10 to prevent unbounded retries.

PeterDaveHello and others added 30 commits October 18, 2026 00:42
…#4104)

Co-authored-by: Alex Tumanov <6143578+oleksii-tumanov@users.noreply.github.com>
…he-PR-Agent#4064)

Co-authored-by: Ismael Martinez Ramos <ismaelmartinez@gmail.com>
oleksii-tumanov and others added 27 commits October 27, 2026 07:39
The-PR-Agent#4418)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…group across 1 directory (The-PR-Agent#4419)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pei711 <199601925+pei711@users.noreply.github.com>
Co-authored-by: naorpeled <6171622+naorpeled@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Felipe Lima <lipezera1836@gmail.com>
@github-actions github-actions Bot added the bug Something isn't working label Oct 28, 2026
@utsab345 utsab345 closed this Oct 28, 2026
full_diff = full_diff_with_metadata
if full_diff_is_usable:
if return_prepared:
return PreparedPRDiff(full_diff, [], model=model,
return PreparedPRDiff(full_diff, [], model=model,
add_line_numbers_to_hunks=add_line_numbers_to_hunks,
token_handler=token_handler, attempt_budget=budget)
return full_diff
Comment on lines +285 to +287
async def is_valid_notification(
notification, headers, handled_ids, session, user_id, added_handled_ids=None
):
_fail_on_recorded_tool_error()


async def _handle_configured_command(url, command):
return normalize_setting_list(value)


async def _handle_request(url, body, notify=None):
Comment on lines +227 to +229
# elif get_settings().pr_description.enable_help_comment:
# pr_body += '\n\n___\n\n> 💡 **PR-Agent usage**: '
# Comment `/help "your question"` on any pull request to receive relevant information'

async def apply_new_mr_repo_settings(url: str):
try:
get_logger().info(f"PR main language: {pr_languages[0]['language']}")
except Exception as e:
except Exception:
try:
get_logger().info(f"PR main language: {pr_languages[0]['language']}")
except Exception as e:
except Exception:
@@ -264,7 +445,7 @@
'names_filtered': names_filtered

})
except Exception as e:
except Exception:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.