P1B: Refactor (packages/server/src/handlers/session.ts): Found 18 lines of identical code in 2 locations (mass = 71)
Open
@yamj6 is already working on this.
Since Sep 8, 2026.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 126
- PR merge metrics
- No merged PRs in 30d
Description
Uniqueness check
- I have searched open issues and confirmed this file + smell is not already taken.
Full path to the Typescript file
packages/server/src/handlers/session.ts
Function(s)/scope targeted
MessageHandler = HttpApiBuilder.group(Api, "server.message", (handlers)
Relevant Qlty output
175 Found 18 lines of identical code in 2 locations (mass = 71)
also found at packages/server/src/handlers/session.ts
199 Found 18 lines of identical code in 2 locations (mass = 71)
also found at packages/server/src/handlers/session.ts
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.