You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "wenjin272 (via GitHub)" <gi...@apache.org> on 2026/07/07 15:23:43 UTC
[PR] [hotfix] Propagate action task Errors from mailbox [flink-agents]
wenjin272 opened a new pull request, #880:
URL: https://github.com/apache/flink-agents/pull/880
Catch Throwable in mailbox-submitted action task processing so Errors are rethrown through the mailbox and fail the task visibly instead of remaining in a Future while processing keys stay in-flight.
<!--
* Thank you very much for contributing to Flink Agents.
* Please add the relevant components in the PR title. E.g., [api], [runtime], [java], [python], [hotfix], etc.
-->
### Purpose of change
Catch Throwable in mailbox-submitted action task processing so Errors are rethrown through the mailbox and fail the task visibly instead of remaining in a Future while processing keys stay in-flight.
### Tests
ut
### API
no
### Documentation
<!-- Do not remove this section. Check the proper box only. -->
- [ ] `doc-needed` <!-- Your PR changes impact docs -->
- [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-included` <!-- Your PR already contains the necessary documentation updates -->
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [hotfix] Propagate action task Errors from mailbox [flink-agents]
Posted by "wenjin272 (via GitHub)" <gi...@apache.org>.
wenjin272 merged PR #880:
URL: https://github.com/apache/flink-agents/pull/880
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [hotfix] Propagate action task Errors from mailbox [flink-agents]
Posted by "weiqingy (via GitHub)" <gi...@apache.org>.
weiqingy commented on code in PR #880:
URL: https://github.com/apache/flink-agents/pull/880#discussion_r3540383941
##########
runtime/src/test/java/org/apache/flink/agents/runtime/operator/ActionExecutionOperatorTest.java:
##########
@@ -1711,6 +1732,16 @@ public static void durableMixedRecoveryAction(Event event, RunnerContext context
}
}
+ public static class LinkageErrorAction {
+ static {
+ if (System.nanoTime() >= 0) {
Review Comment:
Could we make this linkage-error fixture deterministic? `System.nanoTime()` is permitted to return a negative value, so on a JVM where that happens the static initializer would complete normally and this regression test would fail for environmental reasons instead of exercising the intended `Error`-propagation path. A deterministic guard like `if (true)` (or an `alwaysTrue()` helper) keeps the fixture focused on the `LinkageError` path.
--
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org