Skip to content

chore: replace stale nhooyr references - #582

Open
mafredri wants to merge 2 commits into
masterfrom
chore/nhooyr-reference-cleanup
Open

mafredri wants to merge 2 commits into
masterfrom
chore/nhooyr-reference-cleanup

Conversation

@mafredri

@mafredri mafredri commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Updates the six remaining issue and pull-request links from github.com/nhooyr/websocket to github.com/coder/websocket, and renames the masking benchmark from nhooyr-go to coder-go.

Fixes the coverage filter, which still matched nhooyr.io/websocket/internal/test and therefore left test helpers in coverage reports. It now matches github.com/coder/websocket/internal/test/.

The README acknowledgement and the @nhooyr comment remain unchanged, as do the nhooyr.io URLs used to test dial errors.

Follows #567.

Verification
  • Library: make fmt lint test bench, native and WASM builds, and ARM64 masking checks passed. Lint and tests were also rerun with Go 1.26.10.
  • Coverage: the old filter left 57 test-helper records in a real profile; the corrected filter removed only those records.
  • Downstream: local replacement in coder/coder at 63f3bde725. All 310 tested packages passed across the full-suite run and a CLI rerun; the CLI initially failed because the workspace Git wrapper could not run with an empty environment. A process-local PATH change selected system Git for the rerun.
  • Independent review: no findings.

The installed pre-commit hook requires shfmt formatting for the modified test script.

🤖 This PR was created with the help of Coder Agents, and will be reviewed by a human. 🏂🏻

The coverage filter still matched the former module path, leaving
test\nhelpers in the report. Match the current module path and name
the\nbenchmark for the library it measures.
@mafredri
mafredri marked this pull request as ready for review October 23, 2026 14:20
@mafredri
mafredri enabled auto-merge (squash) October 23, 2026 14:26
@mafredri mafredri changed the title chore: finish nhooyr reference cleanup chore: replace stale nhooyr references Oct 23, 2026

This branch has not been deployed

No deployments
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.

1 participant