The GitHub Actions job "Required Checks" on 
texera.git/test-operator-utility-classes has failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
b6d25023546e1c13d13d6796f296ab1c4fe4c7cd / Xinyuan Lin <[email protected]>
test(workflow-operator): add unit test coverage for OperatorDescriptorUtils, 
DistributedAggregation, URLFetchUtil

Pin the contract for three small utility classes/objects:
  - OperatorDescriptorUtils.equallyPartitionGoal: result size == workers; slots 
sum back to goal across goal=[0..20] x workers=[1..5]; even partition when 
divisible; remainder lands on the FIRST goal % workers slots; goal < workers 
edge case
  - OperatorDescriptorUtils.toImmutableMap: empty round-trip; preserves 
key/value pairs; static return type is scala.collection.immutable.Map
  - DistributedAggregation: case-class equality on same function refs; init 
produces zero partial; iterate folds one tuple in (sum, count); merge adds 
componentwise; finalAgg divides with zero-partial guard; end-to-end average of 
1..5 == 3.0 single-node AND via merged-partial path
  - URLFetchUtil.getInputStreamFromURL: success returns Some(stream) with right 
bytes via file: URL; persistent-failure returns None at default retries, 
explicit retries=2, and retries=0; default retries == 5 verified via synthetic 
getInputStreamFromURL$default$2 accessor

23 new tests; sbt scalafmtCheck clean; no production-code changes.

Report URL: https://github.com/apache/texera/actions/runs/27810753118

With regards,
GitHub Actions via GitBox

Reply via email to