You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by GitBox <gi...@apache.org> on 2026/07/24 06:08:31 UTC
[GH] (texera/gh-readonly-queue/main/pr-6823-dd6421749c1369a15c56f5efa422ab602e123fbc): Workflow run "Required Checks" failed!
The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-6823-dd6421749c1369a15c56f5efa422ab602e123fbc has failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run:
a48e5a43a5c2165c96c1404307d06ad3e190a4fd / Xinyuan Lin <xi...@uci.edu>
test(workflow-core): add storage unit test coverage (DocumentFactory, DatasetFileDocument, IcebergDocument) (#6823)
### What changes were proposed in this PR?
Adds unit coverage for three workflow-core storage classes (all verified
with the JBR-17 sbt toolchain; no source changes).
- `DocumentFactorySpec` (extended): the full scheme-dispatch surface of
`openReadonlyDocument`/`openDocument`/`createDocument`/`documentExists`
— dataset/file/vfs arms, the unsupported-scheme guards (each asserting
the operation-specific message), and the vfs create/open/exists happy
paths across the RESULT/STATE/CONSOLE_MESSAGES/RUNTIME_STATISTICS
namespaces, against a real local Iceberg catalog.
- `DatasetFileDocumentSpec` (extended): the companion-object
env-fallback lazy vals (presign-URL endpoint default, empty JWT
default). The LakeFS/network-backed read paths are left uncovered as
they need a live LakeFS.
- `IcebergDocumentSpec` (new, unit-level — not `@IntegrationTest`):
`getURI`, `getCount`, `get`/`getRange`/`getAfter` (with column
projection + multi-file ordering + iterator exhaustion),
`getTableStatistics`, `getTotalFileSize`, `asInputStream` (ZIP with
parquet entries), and `clear` — driven against a real local Hadoop
Iceberg catalog via a new `LocalHadoopIcebergCatalog` test helper.
### Any related issues, documentation, discussions?
Closes #6821.
### How was this PR tested?
`sbt -java-home <jbr-17> "WorkflowCore/testOnly *DocumentFactorySpec
*DatasetFileDocumentSpec *IcebergDocumentSpec"` -> 49 succeeded, 0
failed. scalafmtCheckAll + scalafixAll --check clean.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Opus 4.8 [1M context])
Report URL: https://github.com/apache/texera/actions/runs/30070611176
With regards,
GitHub Actions via GitBox