The GitHub Actions job "Build and push images" on texera.git/main has failed.
Run started by GitHub user bobbai00 (triggered by bobbai00).

Head commit for run:
17cdba4ecd22d5574bd8d9f063a525438c3856e8 / Xinyuan Lin <[email protected]>
test(pybuilder): add unit test coverage for BoundaryValidator and 
EncodableInspector (#6822)

### What changes were proposed in this PR?

Adds unit coverage for the two macro-only pybuilder helpers. Both
classes run only during macro expansion, so the tests drive real
expansions through a runtime `ToolBox` (the pattern the existing suite
already uses) and assert on the captured expansion errors/behavior.
- `BoundaryValidatorSpec` (+17): the `validateCompileTime` abort
branches (splice inside an unclosed quote, after a `#` comment, bad
left/right neighbor) and pass-through cases, plus the
`runtimeChecksForNestedBuilder` guard (throws only for Encodable content
in an unsafe context).
- `EncodableInspectorSpec` (new, 12): Encodable detection via TYPE_USE
annotation, symbol annotation, case-class accessor hop, and annotated
return type; plus the non-Encodable cases and the nested-builder
short-circuit.

No source files changed.

### Any related issues, documentation, discussions?

Closes #6820.

### How was this PR tested?

`sbt -java-home <jbr-17> "PyBuilder/testOnly *BoundaryValidatorSpec
*EncodableInspectorSpec"` -> 32 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])

---------

Signed-off-by: Xinyuan Lin <[email protected]>
Co-authored-by: Copilot Autofix powered by AI 
<[email protected]>

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

With regards,
GitHub Actions via GitBox

Reply via email to