Skip to content

[bug] go mod tidy command failing because of nhooyr.io/websocket dependency #2328

@semmet95

Description

@semmet95

Describe the bug
Running the command go mod tidy, on the main branch, throws the following error:

go: downloading nhooyr.io/websocket v1.8.11
go: github.com/guacsec/guac/pkg/emitter imports
	gocloud.dev/pubsub/azuresb imports
	github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus tested by
	github.com/Azure/azure-sdk-for-go/sdk/messaging/azservicebus.test imports
	nhooyr.io/websocket: reading nhooyr.io/websocket/go.mod at revision v1.8.11: unknown revision v1.8.11

To Reproduce
Steps to reproduce the behavior:

  1. Checkout the main branch
  2. Run go mod tidy

Expected behavior
All the dependencies are resolved successfully.

Screenshots

image

GUAC version
main branch

Additional context
nhooyr/websocket has been adopted by Coder, as a result the dependency path needs to be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions