Skip to content

Conversation

@arcoraven
Copy link
Contributor

@arcoraven arcoraven commented May 2, 2025

PR-Codex overview

This PR focuses on removing WebSocket functionality from the server and updating transaction status routes. It replaces the checkTxStatus function with two new routes that handle transaction status retrieval via query parameters.

Detailed summary

  • Deleted the withWebSocket middleware import and its usage in src/server/index.ts.
  • Replaced checkTxStatus with getTransactionStatusRoute in src/server/routes/transaction/status.ts.
  • Added getTransactionStatusQueryParamRoute for querying transaction status via query parameters.
  • Removed WebSocket handling logic from checkTxStatus.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@zeet-co
Copy link

zeet-co bot commented May 2, 2025

We're building your pull request over on Zeet.
Click me for more info about your build and deployment.
Once built, this branch can be tested at: https://tw-unreal-demo-engine-vwn0-ph-que-00077d.engine-aws-usw2.zeet.app before merging 😉

},
wsHandler: async (connection: SocketStream, request) => {
const { queueId } = request.params;
});
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing websocket handler. Not used anymore.

@arcoraven arcoraven merged commit 0e2d2f6 into main May 2, 2025
7 checks passed
@arcoraven arcoraven deleted the ph/query-param-status branch May 2, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants