rbelavadi opened a new pull request, #7289:
URL: https://github.com/apache/texera/pull/7289

   ### What changes were proposed in this PR?
   `pyright-language-service` has no test coverage today, a dependency bump can 
pass CI while silently breaking the WebSocket-to-pyright bridge at runtime, and 
the only way to catch that is starting the service by hand.
   
   Adds `src/main.smoke.spec.ts`: boots the real service as a subprocess and 
drives it over WebSocket, covering the happy path (diagnostics for a bad file), 
clean/empty/unicode documents, and negative cases (unknown method, malformed 
frame, unknown WS path). No source changes, the unknown-path hang is a 
pre-existing gap in `upgradeWsServer`, characterized here rather than fixed; 
follow-up issue to come.
   
   Also fixes a stale comment on the CI job claiming this service has no 
coverage.
   
   
   ### Any related issues, documentation, discussions?
   Closes #6193 
   
   ### How was this PR tested?
   `yarn --cwd pyright-language-service test`,8/8 passing. Wired into 
`.github/workflows/build.yml` after the existing typecheck step, so it runs on 
future PRs automatically.
   
   
   ### Was this PR authored or co-authored using generative AI tooling?
   Generated-by: Claude Code (Claude Opus 4.8)
   


-- 
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]

Reply via email to