The GitHub Actions job "Required Checks" on texera.git/refactor/react-step-modal-types has succeeded. Run started by GitHub user Ma77Ball (triggered by Ma77Ball).
Head commit for run: 4828fc6a6a11cf2d09949626cd5e786ee616a89d / Matthew Ball <[email protected]> refactor(frontend): type the ReAct step modal helpers with the ai SDK The ReActStepDetailModalComponent's message helpers are typed against the `ai` SDK rather than local shapes. getTextFromMessage, getToolCallSummaries, getToolResultFullItems, and getToolResultItems take `ModelMessage | null` and, after guarding the string-content case, narrow `msg.content` directly by each part's `type` tag to `TextPart`, `ToolCallPart`, and `ToolResultPart` (re-exported from `ai` in agent-types.ts), with no intermediate cast. getToolCallSummaries reads a tool call's args from `input` and returns `fullArgs` as `Record<string, unknown>`; tool-result rows take their name from the part's own `toolName`, falling back to `toolCallId`. The module-level `toolResultValue` helper unwraps a ToolResultPart's `{ type, value }` output envelope and defaults to an empty string when a part carries no output, so getToolResultFullItems and getToolResultItems never read `.length` off `undefined`. formatResult, formatJson, and getToolResult keep `unknown` for the arbitrary payloads they stringify. The spec feeds SDK-shaped `{ type, value }` outputs to the tool-result fixtures so the tests exercise the unwrap path, and adds a case asserting a tool-result with no output renders an empty string with a zero token count. Report URL: https://github.com/apache/texera/actions/runs/45123941777 With regards, GitHub Actions via GitBox
