fix: add retry_transient_errors to merge_config by nickbroon 路 Pull Request #3437 路 python-gitlab/python-gitlab
Repository navigation
fix: add retry_transient_errors to merge_config - #3437
Open
nickbroon wants to merge 1 commit into python-gitlab:main from nickbroon:merge_config_retry_transient_errors
Open
fix: add retry_transient_errors to merge_config #3437 nickbroon wants to merge 1 commit into python-gitlab:main from nickbroon:merge_config_retry_transient_errors
Conversation
nickbroon commented Aug 17, 2026
Copy link Copy Markdown
Contributor
merge_config() supports other options that the constructor and from_config() factory method do, and was just missing this one.
nickbroon commented Sep 18, 2026
Copy link Copy Markdown
Contributor
Author
|
It would be nice to have this merged before the next release. 馃檪 |
fix: add retry_transient_errors to merge_config
1b3cb2f
`merge_config()` supports other options that the constructor and `from_config()` factory method do, and was just missing this one.max-wittig self-assigned this Sep 18, 2026 max-wittig force-pushed the merge_config_retry_transient_errors branch from
677e698 to
1b3cb2f
Compare
September 18, 2026 13:20 max-wittig enabled auto-merge (rebase) September 18, 2026 13:20 max-wittig disabled auto-merge September 18, 2026 13:21
max-wittig commented Sep 18, 2026
Copy link Copy Markdown
Member
|
@nickbroon Could we have some tests for this as well? |
nickbroon commented Sep 18, 2026
Copy link Copy Markdown
Contributor
Author
Are there any existing tests of |
nickbroon commented Sep 18, 2026 · edited Loading
Copy link Copy Markdown
Contributor
Author
Replying to myself; There are no immediately obviously existing tests, or even uses, of |
View session
Copilot PR reviewer Copilot
AI
reviewed Sep 22, 2026
View reviewed changes
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 review overview
馃煛 Changes recommended
Explicit False values currently cannot override a configuration value of True.
Get a fresh assessment by requesting another Copilot review.
Review effort: Balanced
Findings: 1
Adds retry_transient_errors handling to Gitlab.merge_config().
Changes:
- Merges the retry setting from explicit options or configuration.
| File | Description |
|---|---|
gitlab/鈥媍lient.py |
Passes the merged retry setting to the client constructor. |
馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| retry_transient_errors=options.get("retry_transient_errors") | ||
| or config.retry_transient_errors, |
This branch has not been deployed
No deployments
Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment