Skip to content

fix(DM01-6451): prevent API timeouts and bound job initialization retries - #657

Merged
liuwei08 merged 3 commits into
masterfrom
fix/DM01-6451
Nov 19, 2026
Merged

liuwei08 merged 3 commits into
masterfrom
fix/DM01-6451

Conversation

@liuwei08

@liuwei08 liuwei08 commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Vault AppRole authentication failures or slow Vault responses can leave job initialization holding database connections, exhaust the API pool, and block requests such as /api/ping. Fetch the project's Vault configurations and release the database connection before resolving secrets. Fail immediately on AppRole HTTP 400/401/403 and use 10-second timeouts for authentication-related HTTP calls.

Limit runner connection errors and timeouts to the same 10-retry budget as HTTP failures, with exponential delays capped at 300 seconds. HTTP 400 remains terminal and preserves the API error message. Preserve the request-ID, traceback, and API-stage diagnostics on master.

Jira: https://jira.tools.sap/browse/DM01-6451

Validation: 27 local regression tests passed: 11 API tests, 8 runner retry tests, and 8 request-diagnostics tests from master. The tests cover database-pool availability during blocked Vault calls, AppRole error handling, bounded and transient runner failures, HTTP 400/409 handling, and flushed diagnostics before retry. Whitespace checks passed. Production verification is pending.

@liuwei08 liuwei08 changed the title fix(DM01-6451): prevent API timeouts during Vault authentication failures fix(DM01-6451): prevent API timeouts and bound job initialization retries Nov 19, 2026
@liuwei08
liuwei08 merged commit 9b92c02 into master Nov 19, 2026
2 checks passed
@liuwei08
liuwei08 deleted the fix/DM01-6451 branch November 19, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant