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:
fea9a23144b2c693288842083d5ad2a142c86c46 / Jiadong Bai 
<[email protected]>
test(agent-service): bring server.ts to 100% coverage

Extend the suite to exercise every reachable path in server.ts:

- HTTP routes not previously covered: react-steps, system-info,
  operator-types, steps-by-operators, the operator-results mapping body
  (with a stubbed visible result), checkout (success + not-found), the
  empty-modelType guard, initial-settings-on-create, the non-fatal
  workflow-load failure, delegate-token masking, and the catch-all error
  handler for unknown routes.
- WebSocket branches: a message for an agent that was removed mid-connection,
  the final-step re-broadcast, the broadcast path tolerating a websocket
  whose send throws, and the close handler on disconnect.
- start(): boots the listening app + prints the banner, and tolerates a
  metadata-initialization failure (stubbed to reject).

Also collapse the `if (import.meta.main) start()` entry guard to one line so
the entry point is a covered statement rather than an untestable block.

server.ts is now at 100% line and function coverage (116 tests, all green).

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/28119636399

With regards,
GitHub Actions via GitBox

Reply via email to