aglinxinyuan opened a new pull request, #6822: URL: https://github.com/apache/texera/pull/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]) -- 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]
