The GitHub Actions job "Required Checks" on 
texera.git/cov/computing-unit-selection has failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
460c23d9c192b80ba4f83479f5d6873dd4c97640 / Xinyuan Lin <[email protected]>
test(frontend): drive the virtual-environment socket

The PVE block is the largest uncovered region in this component, and the
existing suite stops exactly at its seams: it stubs runPveWebSocket and
deleteUserPackages so it can assert name validation without opening a socket.
These drive the other side of those seams.

Adds 9 tests using a stand-in WebSocket, so onmessage and onerror can be fired
by hand. Covered: the socket opening and locking the card, the name being
trimmed before it reaches the URL, server lines appending to the pip output, the
__DONE__ sentinel closing the socket and clearing installing without printing
itself, a dropped connection surfacing as output rather than a hang, a 
still-open
socket being closed before another starts, and the create path chaining
delete-then-install so a rebuilt environment gets its packages back.

The sentinel test stubs the continuation out deliberately. Letting the real
delete/install chain run resets isInstalling downstream, so the assertion passed
even with the sentinel branch mutated to leave it set — the stub is what makes
the test discriminate.

No production file is touched.

Report URL: https://github.com/apache/texera/actions/runs/31341768205

With regards,
GitHub Actions via GitBox

Reply via email to