aglinxinyuan opened a new pull request, #6095:
URL: https://github.com/apache/texera/pull/6095

   ### What changes were proposed in this PR?
   
   Add unit test coverage for three `common/workflow-core` storage-model 
classes, selected from the Codecov report (all 0%). No production-code changes.
   
   | File | Codecov before | What the tests pin |
   | --- | --- | --- |
   | `ResultSchema.scala` | 0% | the runtime-statistics schema's 11 columns 
(names + types, in order) and the single-column console-messages schema |
   | `ReadonlyLocalFileDocument.scala` | 0% | URI/file accessors and 
input-stream read against a local temp file, plus each unsupported collection 
accessor throwing its exact message |
   | `VirtualDocument.scala` | 6.2% | every default method 
(read/write/file/stat) throws `NotImplementedError` with its exact message, via 
a minimal concrete subclass |
   
   ### Any related issues, documentation, discussions?
   
   Follow-up to the review feedback on #6043: prioritize tests that fill 
uncovered code paths.
   
   ### How was this PR tested?
   
   - `sbt "WorkflowCore/testOnly *ResultSchemaSpec 
*ReadonlyLocalFileDocumentSpec *VirtualDocumentSpec"` — 20 tests, all green
   - `sbt "WorkflowCore/Test/scalafmtCheck"` and `sbt "WorkflowCore/scalafixAll 
--check"` — clean
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Opus 4.8 [1M context])
   


-- 
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]

Reply via email to