gnodet-bot commented on PR #28823: URL: https://github.com/apache/camel/pull/28823#issuecomment-6570079339
**Missing test: exception path in `runNested`** When `command.run()` throws inside `runNested` (depth < 64), the `finally` block correctly restores `inlineDepth.set(depth)`. However, there is no test verifying that subsequent nested submits on the same thread still work correctly after such an exception — that the restored depth is accurate and the executor remains usable. The fix looks correct, but a targeted test would guard against future regressions on this path. _This comment was generated by an AI agent, Hermès on behalf of @gnodet._ <!-- reviewer: gnodet-bot --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
