You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "sshiv012 (via GitHub)" <gi...@apache.org> on 2026/10/16 22:30:31 UTC
[PR] fix(amber): keep the failing worker when an error crosses ControlError [texera]
sshiv012 opened a new pull request, #9015:
URL: https://github.com/apache/texera/pull/9015
### What changes were proposed in this PR?
#8668 tags a failed worker RPC with the worker it targeted (`WorkflowRuntimeException` with `relatedWorkerId`), so the surfaced error can point at that worker. But the worker is dropped one hop later: the coordinator returns the error to the web service as a `ControlError`, which has no field for it, and `ErrorUtils.reconstructThrowable` rebuilds a plain `Throwable`. `WorkflowService`'s error handler then finds no worker and records the error as "unknown operator".
You can see this with a Python UDF that fails while starting (e.g. the default template, which has no class). The coordinator log shows `WorkflowRuntimeException … Worker:WF23-PythonUDFV2-operator-udfdemo-main-0`, but the UI gets `operatorId: "unknown operator"`. So clicking the failed UDF shows only an empty Console and no error.
This PR carries the worker the rest of the way:
- `ControlError` gets an optional `relatedWorkerId` (`core.ActorVirtualIdentity`).
- `mkControlError` fills it from a `WorkflowRuntimeException`.
- `reconstructThrowable` rebuilds a `WorkflowRuntimeException` with that worker when the field is set, so `WorkflowService` maps the error to the failing operator.
Errors without a worker are unchanged.
### Any related issues, documentation, discussions?
Follow-up to #8668 (issue #8667). Part of #8736. With this, #8771 no longer needs a frontend workaround to show a failed UDF's startup error when the UDF is clicked.
### How was this PR tested?
- New specs in `ErrorUtilsSpec`:
- `mkControlError` carries the worker of a `WorkflowRuntimeException`, and leaves it empty otherwise;
- `reconstructThrowable` rebuilds a `WorkflowRuntimeException` with the worker, message and cause;
- the rebuilt error maps to the right operator id via `getOperatorFromActorIdOpt`;
- errors without a worker still rebuild a plain `Throwable`.
- The two existing specs that build a `ControlError` directly pass the new field (`None`).
```
sbt "WorkflowExecutionService/testOnly org.apache.texera.amber.error.ErrorUtilsSpec org.apache.texera.amber.engine.architecture.scheduling.RegionExecutionManagerSpec org.apache.texera.amber.engine.architecture.scheduling.WorkflowExecutionManagerSpec"
sbt "WorkflowExecutionService/scalafmtCheck" "WorkflowExecutionService/Test/scalafmtCheck" "WorkflowExecutionService/scalafixAll --check"
bash bin/python-proto-gen.sh && cd amber && pytest -m "not integration"
```
End to end, on a local Texera built from current main plus this PR and #8771 (which no longer has a frontend filter), I ran a Python UDF that fails while starting:
| | `operatorId` the UI receives | Clicking the failed UDF |
|---|---|---|
| main | `"unknown operator"` (`workerId` empty) | only an empty Console |
| this PR | `"PythonUDFV2-operator-udfdemo"` (`workerId` `Worker:WF23-PythonUDFV2-operator-udfdemo-main-0`) | a Static Error tab next to the Console, with the error |
The message also loses its `java.lang.Throwable:` prefix, since the rebuilt `WorkflowRuntimeException` prints just its message.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 5.5)
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(amber): keep the failing worker when an error crosses ControlError [texera]
Posted by "sshiv012 (via GitHub) via notifications" <no...@texera.apache.org>.
sshiv012 commented on code in PR #9015:
URL: https://github.com/apache/texera/pull/9015#discussion_r4674073510
##########
amber/src/test/scala/org/apache/texera/amber/engine/architecture/scheduling/RegionExecutionManagerSpec.scala:
##########
@@ -683,6 +683,7 @@ class RegionExecutionManagerSpec
errorMessage = "transient EndWorker failure",
errorDetails = "",
stackTrace = "",
- language = ErrorLanguage.SCALA
+ language = ErrorLanguage.SCALA,
+ None
Review Comment:
Done, named it.
##########
amber/src/test/scala/org/apache/texera/amber/engine/architecture/scheduling/WorkflowExecutionManagerSpec.scala:
##########
@@ -213,7 +213,8 @@ class WorkflowExecutionManagerSpec
errorMessage = udfInitError,
errorDetails = "",
stackTrace = "",
- language = ErrorLanguage.PYTHON
+ language = ErrorLanguage.PYTHON,
+ None
Review Comment:
Done, same here.
##########
amber/src/test/scala/org/apache/texera/amber/error/ErrorUtilsSpec.scala:
##########
@@ -204,4 +208,50 @@ class ErrorUtilsSpec extends AnyFlatSpec with Matchers {
operatorId shouldBe "__DummyOperator"
workerId shouldBe "COORDINATOR"
}
+
+ // ----- carrying the failing worker through ControlError -----
+
+ private val failingWorker =
+ ActorVirtualIdentity("Worker:WF23-PythonUDFV2-operator-udfdemo-main-0")
+
+ "mkControlError with a WorkflowRuntimeException" should "carry the failing worker" in {
+ val ce = ErrorUtils.mkControlError(new WorkflowRuntimeException("boom", Some(failingWorker)))
+ ce.relatedWorkerId shouldBe Some(failingWorker)
+ }
+
+ it should "leave the worker empty for errors that are not tied to one" in {
+ ErrorUtils.mkControlError(new RuntimeException("boom")).relatedWorkerId shouldBe None
+ ErrorUtils
+ .mkControlError(new WorkflowRuntimeException("boom", None))
+ .relatedWorkerId shouldBe None
+ }
+
+ "reconstructThrowable with a related worker" should "rebuild a WorkflowRuntimeException" in {
+ val original =
+ new WorkflowRuntimeException("boom", new IllegalStateException("root"), Some(failingWorker))
+ val rebuilt = ErrorUtils.reconstructThrowable(ErrorUtils.mkControlError(original))
+ rebuilt shouldBe a[WorkflowRuntimeException]
+ val wre = rebuilt.asInstanceOf[WorkflowRuntimeException]
+ wre.relatedWorkerId shouldBe Some(failingWorker)
+ wre.getMessage shouldBe "boom"
+ wre.getCause.getMessage shouldBe new IllegalStateException("root").toString
+ }
+
+ it should "let the error be attributed to the failing operator" in {
+ // WorkflowService reads relatedWorkerId from the rebuilt error; before this,
+ // the worker was dropped and the UI showed "unknown operator".
+ val rebuilt = ErrorUtils
+ .reconstructThrowable(
+ ErrorUtils.mkControlError(new WorkflowRuntimeException("boom", Some(failingWorker)))
+ )
+ .asInstanceOf[WorkflowRuntimeException]
+ ErrorUtils.getOperatorFromActorIdOpt(rebuilt.relatedWorkerId) shouldBe
+ ("PythonUDFV2-operator-udfdemo", failingWorker.name)
+ }
+
+ it should "still rebuild a plain Throwable when no worker is set" in {
Review Comment:
Good point. It now has its own heading: "reconstructThrowable without a related worker should rebuild a plain Throwable". The `mkControlError` case above it had the same problem under the WorkflowRuntimeException heading, so I split that one out too.
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(amber): keep the failing worker when an error crosses ControlError [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #9015:
URL: https://github.com/apache/texera/pull/9015#issuecomment-6225924755
<!-- backport-auto-label-report -->
### Backport auto-label report
This `fix:` PR was checked against each actively-supported release branch. A `release/*` label nominates a backport target; the branch's release manager approving this PR is what sends the fix there. The required **Backport Approvals** check stays red until every label below is approved, so each manager either approves or removes their own label — which is why the labels left on a merged PR are exactly the branches it reached.
| Release branch | Analysis |
| --- | --- |
| ✅ `release/v1.3` | Change detected on this branch — label added; this fix is queued to backport here. @mengw15 decides: approving sends the fix here, removing this label declines it. The merge waits on one or the other. Review requested. |
| ✅ `release/v1.2` | Change detected on this branch — label added; this fix is queued to backport here. @xuang7 decides: approving sends the fix here, removing this label declines it. The merge waits on one or the other. Review requested. |
_[Auto-label run](https://github.com/apache/texera/actions/runs/38976164341)._
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(amber): keep the failing worker when an error crosses ControlError [texera]
Posted by "sshiv012 (via GitHub) via notifications" <no...@texera.apache.org>.
sshiv012 commented on PR #9015:
URL: https://github.com/apache/texera/pull/9015#issuecomment-7001446350
/request-review @Xiao-zhen-Liu
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(amber): keep the failing worker when an error crosses ControlError [texera]
Posted by "sshiv012 (via GitHub) via notifications" <no...@texera.apache.org>.
sshiv012 commented on PR #9015:
URL: https://github.com/apache/texera/pull/9015#issuecomment-6586995229
When a Python UDF fails while starting, its error loses track of which operator failed on the way back to the UI, so it gets recorded as "unknown operator" and clicking the failed UDF shows an empty Console. This PR carries the failing worker through ControlError so the error lands on the right operator, and since v1.2 already has #8668 but not this fix, v1.2 and v1.3 users would hit the same confusing empty Console. @mengw15 @yangzhang75 please check if this needs to be backported (it is a small fix).
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(amber): keep the failing worker when an error crosses ControlError [texera]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #9015:
URL: https://github.com/apache/texera/pull/9015#issuecomment-6226060703
## [Codecov](https://app.codecov.io/gh/apache/texera/pull/9015?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:x: Patch coverage is `87.50000%` with `1 line` in your changes missing coverage. Please review.
:white_check_mark: Project coverage is 92.33%. Comparing base ([`57faa6b`](https://app.codecov.io/gh/apache/texera/commit/57faa6b85c72bdd258b8e735c4be13171b5f8443?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`ff606f8`](https://app.codecov.io/gh/apache/texera/commit/ff606f889c25400be9557a8a030725c2b8c63521?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:white_check_mark: All tests successful. No failed tests found.
| [Files with missing lines](https://app.codecov.io/gh/apache/texera/pull/9015?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Patch % | Lines |
|---|---|---|
| [...ala/org/apache/texera/amber/error/ErrorUtils.scala](https://app.codecov.io/gh/apache/texera/pull/9015?src=pr&el=tree&filepath=amber%2Fsrc%2Fmain%2Fscala%2Forg%2Fapache%2Ftexera%2Famber%2Ferror%2FErrorUtils.scala&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-YW1iZXIvc3JjL21haW4vc2NhbGEvb3JnL2FwYWNoZS90ZXhlcmEvYW1iZXIvZXJyb3IvRXJyb3JVdGlscy5zY2FsYQ==) | 87.50% | [0 Missing and 1 partial :warning: ](https://app.codecov.io/gh/apache/texera/pull/9015?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## main #9015 +/- ##
=========================================
Coverage 92.32% 92.33%
- Complexity 5045 5046 +1
=========================================
Files 1260 1260
Lines 54026 54030 +4
Branches 6744 6747 +3
=========================================
+ Hits 49879 49886 +7
+ Misses 2487 2484 -3
Partials 1660 1660
```
| [Flag](https://app.codecov.io/gh/apache/texera/pull/9015/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | *Carryforward flag |
|---|---|---|---|
| [access-control-service](https://app.codecov.io/gh/apache/texera/pull/9015/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `77.38% <ø> (ø)` | | Carriedforward from [57faa6b](https://app.codecov.io/gh/apache/texera/commit/57faa6b85c72bdd258b8e735c4be13171b5f8443?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [agent-service](https://app.codecov.io/gh/apache/texera/pull/9015/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `99.16% <ø> (ø)` | | Carriedforward from [57faa6b](https://app.codecov.io/gh/apache/texera/commit/57faa6b85c72bdd258b8e735c4be13171b5f8443?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [amber](https://app.codecov.io/gh/apache/texera/pull/9015/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `87.32% <87.50%> (+0.01%)` | :arrow_up: | |
| [computing-unit-managing-service](https://app.codecov.io/gh/apache/texera/pull/9015/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `60.48% <ø> (ø)` | | Carriedforward from [57faa6b](https://app.codecov.io/gh/apache/texera/commit/57faa6b85c72bdd258b8e735c4be13171b5f8443?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [config-service](https://app.codecov.io/gh/apache/texera/pull/9015/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `87.37% <ø> (ø)` | | Carriedforward from [57faa6b](https://app.codecov.io/gh/apache/texera/commit/57faa6b85c72bdd258b8e735c4be13171b5f8443?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [file-service](https://app.codecov.io/gh/apache/texera/pull/9015/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `82.00% <ø> (ø)` | | Carriedforward from [57faa6b](https://app.codecov.io/gh/apache/texera/commit/57faa6b85c72bdd258b8e735c4be13171b5f8443?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [frontend](https://app.codecov.io/gh/apache/texera/pull/9015/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `96.54% <ø> (ø)` | | Carriedforward from [57faa6b](https://app.codecov.io/gh/apache/texera/commit/57faa6b85c72bdd258b8e735c4be13171b5f8443?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [notebook-migration-service](https://app.codecov.io/gh/apache/texera/pull/9015/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `83.73% <ø> (ø)` | | Carriedforward from [57faa6b](https://app.codecov.io/gh/apache/texera/commit/57faa6b85c72bdd258b8e735c4be13171b5f8443?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [pyamber](https://app.codecov.io/gh/apache/texera/pull/9015/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `98.57% <ø> (ø)` | | Carriedforward from [57faa6b](https://app.codecov.io/gh/apache/texera/commit/57faa6b85c72bdd258b8e735c4be13171b5f8443?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [workflow-compiling-service](https://app.codecov.io/gh/apache/texera/pull/9015/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `72.43% <ø> (ø)` | | Carriedforward from [57faa6b](https://app.codecov.io/gh/apache/texera/commit/57faa6b85c72bdd258b8e735c4be13171b5f8443?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
*This pull request uses carry forward flags. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to find out more.
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/texera/pull/9015?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(amber): keep the failing worker when an error crosses ControlError [texera]
Posted by "Xiao-zhen-Liu (via GitHub) via notifications" <no...@texera.apache.org>.
Xiao-zhen-Liu commented on code in PR #9015:
URL: https://github.com/apache/texera/pull/9015#discussion_r4673056297
##########
amber/src/test/scala/org/apache/texera/amber/engine/architecture/scheduling/WorkflowExecutionManagerSpec.scala:
##########
@@ -213,7 +213,8 @@ class WorkflowExecutionManagerSpec
errorMessage = udfInitError,
errorDetails = "",
stackTrace = "",
- language = ErrorLanguage.PYTHON
+ language = ErrorLanguage.PYTHON,
+ None
Review Comment:
Nit: naming this argument would match the four named arguments above it.
```suggestion
relatedWorkerId = None
```
##########
amber/src/test/scala/org/apache/texera/amber/engine/architecture/scheduling/RegionExecutionManagerSpec.scala:
##########
@@ -683,6 +683,7 @@ class RegionExecutionManagerSpec
errorMessage = "transient EndWorker failure",
errorDetails = "",
stackTrace = "",
- language = ErrorLanguage.SCALA
+ language = ErrorLanguage.SCALA,
+ None
Review Comment:
Nit: the four arguments above are named, so a bare value here does not say which field it fills.
```suggestion
relatedWorkerId = None
```
##########
amber/src/test/scala/org/apache/texera/amber/error/ErrorUtilsSpec.scala:
##########
@@ -204,4 +208,50 @@ class ErrorUtilsSpec extends AnyFlatSpec with Matchers {
operatorId shouldBe "__DummyOperator"
workerId shouldBe "COORDINATOR"
}
+
+ // ----- carrying the failing worker through ControlError -----
+
+ private val failingWorker =
+ ActorVirtualIdentity("Worker:WF23-PythonUDFV2-operator-udfdemo-main-0")
+
+ "mkControlError with a WorkflowRuntimeException" should "carry the failing worker" in {
+ val ce = ErrorUtils.mkControlError(new WorkflowRuntimeException("boom", Some(failingWorker)))
+ ce.relatedWorkerId shouldBe Some(failingWorker)
+ }
+
+ it should "leave the worker empty for errors that are not tied to one" in {
+ ErrorUtils.mkControlError(new RuntimeException("boom")).relatedWorkerId shouldBe None
+ ErrorUtils
+ .mkControlError(new WorkflowRuntimeException("boom", None))
+ .relatedWorkerId shouldBe None
+ }
+
+ "reconstructThrowable with a related worker" should "rebuild a WorkflowRuntimeException" in {
+ val original =
+ new WorkflowRuntimeException("boom", new IllegalStateException("root"), Some(failingWorker))
+ val rebuilt = ErrorUtils.reconstructThrowable(ErrorUtils.mkControlError(original))
+ rebuilt shouldBe a[WorkflowRuntimeException]
+ val wre = rebuilt.asInstanceOf[WorkflowRuntimeException]
+ wre.relatedWorkerId shouldBe Some(failingWorker)
+ wre.getMessage shouldBe "boom"
+ wre.getCause.getMessage shouldBe new IllegalStateException("root").toString
+ }
+
+ it should "let the error be attributed to the failing operator" in {
+ // WorkflowService reads relatedWorkerId from the rebuilt error; before this,
+ // the worker was dropped and the UI showed "unknown operator".
+ val rebuilt = ErrorUtils
+ .reconstructThrowable(
+ ErrorUtils.mkControlError(new WorkflowRuntimeException("boom", Some(failingWorker)))
+ )
+ .asInstanceOf[WorkflowRuntimeException]
+ ErrorUtils.getOperatorFromActorIdOpt(rebuilt.relatedWorkerId) shouldBe
+ ("PythonUDFV2-operator-udfdemo", failingWorker.name)
+ }
+
+ it should "still rebuild a plain Throwable when no worker is set" in {
Review Comment:
Nit: this case sits under the heading for an error with a related worker, so its full test name contradicts what it checks. Giving it its own heading would make the test name match its case.
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(amber): keep the failing worker when an error crosses ControlError [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #9015:
URL: https://github.com/apache/texera/pull/9015#issuecomment-6225924381
<!-- texera-reviewer-suggestion -->
### Automated Reviewer Suggestions
Based on the `git blame` history of the changed files, we recommend the following reviewers:
- **Contributors with relevant context:** `@eugenegujing`, `@aicam`, `@Yicong-Huang`
You can notify them by mentioning `@eugenegujing`, `@aicam`, `@Yicong-Huang` in a comment.
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(amber): keep the failing worker when an error crosses ControlError [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #9015:
URL: https://github.com/apache/texera/pull/9015#issuecomment-6226008600
<!-- texera-benchmarks-comment -->
## ⚠️ Benchmark changes need a look
🟢 2 better · 🔴 2 worse · ⚪ 11 noise (<±5%) · 0 without baseline
> Compared against main `57faa6b` benchmarked on **this same runner**, so the delta is largely free of cross-runner hardware noise. The "7d avg" column still reflects the gh-pages dashboard. Treat <±5% as noise unless repeated.
[Dashboard](https://apache.github.io/texera/dev/bench/) · [Run](https://github.com/apache/texera/actions/runs/38976189382)
| | config | throughput | MB/s | latency | max Δ latest / 7d |
|---|---|---:|---:|---:|---:|
| 🟢 | bs=10 sw=10 sl=64 | 371 | 0.226 | 26,848/32,731/32,731 us | 🟢 -15.5% / 🔴 +141.7% |
| 🔴 | bs=100 sw=10 sl=64 | 776 | 0.474 | 125,355/161,624/161,624 us | 🔴 +16.0% / 🔴 +66.2% |
| ⚪ | bs=1000 sw=10 sl=64 | 888 | 0.542 | 1,122,340/1,186,066/1,186,066 us | ⚪ within ±5% / 🔴 +32.8% |
<details><summary>Baseline details</summary>
Latest main `57faa6b` from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---:|---:|---:|---:|---:|
| bs=10 sw=10 sl=64 | throughput | 371 tuples/sec | 385 tuples/sec | 929.17 tuples/sec | -3.6% | -60.1% |
| bs=10 sw=10 sl=64 | MB/s | 0.226 MB/s | 0.235 MB/s | 0.567 MB/s | -3.8% | -60.1% |
| bs=10 sw=10 sl=64 | p50 | 26,848 us | 25,927 us | 11,110 us | +3.6% | +141.7% |
| bs=10 sw=10 sl=64 | p95 | 32,731 us | 38,754 us | 14,603 us | -15.5% | +124.1% |
| bs=10 sw=10 sl=64 | p99 | 32,731 us | 38,754 us | 17,357 us | -15.5% | +88.6% |
| bs=100 sw=10 sl=64 | throughput | 776 tuples/sec | 808 tuples/sec | 1,191 tuples/sec | -4.0% | -34.8% |
| bs=100 sw=10 sl=64 | MB/s | 0.474 MB/s | 0.493 MB/s | 0.727 MB/s | -3.9% | -34.8% |
| bs=100 sw=10 sl=64 | p50 | 125,355 us | 121,332 us | 88,770 us | +3.3% | +41.2% |
| bs=100 sw=10 sl=64 | p95 | 161,624 us | 139,326 us | 97,256 us | +16.0% | +66.2% |
| bs=100 sw=10 sl=64 | p99 | 161,624 us | 139,326 us | 115,734 us | +16.0% | +39.7% |
| bs=1000 sw=10 sl=64 | throughput | 888 tuples/sec | 890 tuples/sec | 1,259 tuples/sec | -0.2% | -29.5% |
| bs=1000 sw=10 sl=64 | MB/s | 0.542 MB/s | 0.543 MB/s | 0.769 MB/s | -0.2% | -29.5% |
| bs=1000 sw=10 sl=64 | p50 | 1,122,340 us | 1,126,068 us | 857,339 us | -0.3% | +30.9% |
| bs=1000 sw=10 sl=64 | p95 | 1,186,066 us | 1,195,447 us | 893,239 us | -0.8% | +32.8% |
| bs=1000 sw=10 sl=64 | p99 | 1,186,066 us | 1,195,447 us | 923,509 us | -0.8% | +28.4% |
</details>
<details><summary>Raw CSV</summary>
```csv
config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
0,10,10,64,20,539.21,200,128000,371,0.226,26848.36,32731.23,32731.23
1,100,10,64,20,2575.95,2000,1280000,776,0.474,125354.89,161624.04,161624.04
2,1000,10,64,20,22511.75,20000,12800000,888,0.542,1122340.15,1186065.93,1186065.93
```
</details>
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] fix(amber): keep the failing worker when an error crosses ControlError [texera]
Posted by "xuang7 (via GitHub) via notifications" <no...@texera.apache.org>.
xuang7 commented on PR #9015:
URL: https://github.com/apache/texera/pull/9015#issuecomment-6907546029
Removing release/v1.2: diagnostics only, and it changes the control protocol.
--
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: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org