The GitHub Actions job "Required Checks" on texera.git/refactor/agent-service-foundation has failed. Run started by GitHub user bobbai00 (triggered by bobbai00).
Head commit for run: 3faf03f4742550a54bebc98c8a60b9124b6b606a / Jiadong Bai <[email protected]> test(agent-service): cover the WebSocket protocol and pull-based results Add coverage for the parts of the WS framework this PR introduces, which the existing app.handle()-based suite never exercised (it only hits HTTP routes): - server.ws.test.ts: drives the real socket via app.listen + a WebSocket client. Covers the results-free snapshot on connect, the unknown-agent error, the stop command -> STOPPING status, prompt validation and malformed -frame errors, a stubbed prompt run streaming GENERATING -> step -> resting status, and a failed run still returning to a resting status (the stuck-on-GENERATING fix). No live LLM: the agent's sendMessage is stubbed. - server.ts: add a small `_getAgentForTests` hook (mirrors `_resetAgentStoreForTests`) so tests can stub agent behavior. - agent.service.spec.ts (frontend): cover fetchOperatorResults — the on-demand REST pull that replaced the WS results push — including the failure fallback. server.ts line coverage rises from ~53% to ~70%; the remaining gaps are pre-existing (agent construction, the deprecated checkout endpoint, the startup banner) and not introduced by this PR. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_012qFkyrpTd5PrkNBPcBeo4Q Report URL: https://github.com/apache/texera/actions/runs/28118338238 With regards, GitHub Actions via GitBox
