bobbai00 commented on code in PR #9445:
URL: https://github.com/apache/texera/pull/9445#discussion_r4674964199
##########
amber/src/test/scala/org/apache/texera/web/resource/SyncExecutionResourceSpec.scala:
##########
@@ -1217,4 +1254,37 @@ class SyncExecutionResourceSpec
result.operators("scan-op").state shouldBe "Unknown"
result.operators("scan-op").error shouldBe None
}
+
+ it should "mark the execution span ERROR with correlation labels on a failed
run" in {
Review Comment:
The new wording still undercounts by one. The throwing case at
[L1296](https://github.com/apache/texera/blob/3fb963ebf86379942a00e14e3c4752a4a3a12480/amber/src/test/scala/org/apache/texera/web/resource/SyncExecutionResourceSpec.scala#L1296),
added in the same commit, also calls `executeWorkflowSync` for real; it just
stops at the warehouse check
([SyncExecutionResource.scala:176](https://github.com/apache/texera/blob/3fb963ebf86379942a00e14e3c4752a4a3a12480/amber/src/main/scala/org/apache/texera/web/resource/SyncExecutionResource.scala#L176))
before the engine. Something like this for L105-106 covers all three:
```scala
* sixteen are `private def`. `executeWorkflowSync` is driven for real here
by three cases — two
* of them as far as a running engine can be taken without one — but the
result-shaping helpers
```
--
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]