oscerd commented on PR #29841: URL: https://github.com/apache/camel/pull/29841#issuecomment-7273084720
Pushed `CAMEL-26844: The pages say the exchange still waits for the decision, the claim Javadoc names what it does not guard, and the executor tests wait longer` (6f10ed7b8aa7), the three points that hold whatever the scope decision brings: - **Docs.** The three pages no longer say the option releases the routing thread. They say the work goes to bounded workers, the exchange still waits for the decision so a request is not answered sooner, and the gain is that no routing thread is blocked while the decision is pending, which helps asynchronous consumers such as platform-http on Vert.x or Netty HTTP under load. The OPA page says a REST call blocks in the SDK and runs on the workers instead of the routing thread, while WASM evaluation is in-process CPU work that `borrowTimeout` already bounds, so the workers only move where it runs. Catalog copies regenerated. - **`claim()` Javadoc.** It now says a losing completion publishes nothing, and that `item()`/`items()` are not claimed, so a batch reader racing a cancellation can still add to the counts while the winner builds the event, without changing the outcome. - **Test waits.** Every positive wait in `AuthorizationAsyncExecutorTest` is 10 seconds now (latches, Awaitility and the `supplyAsync` futures); the one 100 ms wait that must stay short is the negative check that the second task has not started. The scope question remains with oscerd; I am not changing the shape of the feature from here. Locally: `AuthorizationAsyncExecutorTest` and `AuthorizationObservationTest` (19 tests) pass; formatter and import sorting clean. _Claude Code on behalf of oscerd_ -- 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]
