Skip to content

Conversation

@wtgodbe
Copy link
Member

@wtgodbe wtgodbe commented Mar 11, 2025

This is dead code

Edit:
We decided many years ago to stop shipping the 1.X versions of @aspnet/signalr-protocol-msgpack and @aspnet/signalr npm packages. The newer clients should be backwards compatible with older servers (assuming you don't use features not available yet, e.g. streaming with a 1.X server).
Users should be using supported versions of @microsoft/signalr and @microsoft/signalr-protocol-msgpack.

Copilot AI review requested due to automatic review settings March 11, 2025 21:05
@ghost ghost added the area-signalr Includes: SignalR clients and servers label Mar 11, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request removes dead code related to the SignalR TypeScript client and associated functional tests.

  • Removed various hubs, test cases, and supporting utilities used solely for testing the TS client.
  • Cleans up the codebase by eliminating unused files and scripts.

Reviewed Changes

Copilot reviewed 104 out of 104 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/SignalR/clients/ts/FunctionalTests/UncreatableHub.cs Deleted dead hub class.
src/SignalR/clients/ts/FunctionalTests/ts/ConnectionTests.ts Removed connection tests for SignalR TS client.
src/SignalR/clients/ts/FunctionalTests/Program.cs Deleted unused test server program.
src/SignalR/clients/ts/FunctionalTests/ts/WebSocketTests.ts Removed WebSocket tests.
src/SignalR/clients/ts/FunctionalTests/AuthorizedHub.cs Deleted hub with authorization.
src/SignalR/clients/ts/FunctionalTests/ComplexObject.cs Removed dead complex object definition.
src/SignalR/clients/ts/FunctionalTests/EchoConnectionHandler.cs Deleted the echo connection handler.
src/SignalR/clients/ts/FunctionalTests/ts/TestLogger.ts Removed test logger implementation.
src/SignalR/clients/ts/FunctionalTests/TestHub.cs Deleted test hub functionality.
src/SignalR/clients/ts/FunctionalTests/selenium/run-tests.ts Removed Selenium test runner script.
src/SignalR/clients/ts/FunctionalTests/ts/Utils.ts Deleted utility functions for the tests.
src/SignalR/clients/ts/FunctionalTests/ts/Common.ts Removed common utilities used by TS tests.
src/SignalR/clients/ts/FunctionalTests/Startup.cs Deleted startup configuration for SignalR tests.
src/SignalR/clients/ts/FunctionalTests/ts/WebDriverReporter.ts Removed WebDriver reporter used in tests.
src/SignalR/clients/ts/FunctionalTests/selenium/run-ci-tests.ts Deleted CI test-runner script.

@wtgodbe wtgodbe merged commit e1b8a6d into release/2.3 Mar 11, 2025
2 of 4 checks passed
@wtgodbe wtgodbe deleted the wtgodbe/DeleteSignalrTs branch March 11, 2025 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-signalr Includes: SignalR clients and servers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants