Skip to content

feat(cli): identify tap in the HTTP user agent - #119

Merged
jlrickert merged 1 commit into
mainfrom
feat/cli-user-agent
Sep 28, 2026
Merged

jlrickert merged 1 commit into
mainfrom
feat/cli-user-agent

Conversation

@jlrickert

Copy link
Copy Markdown
Owner

Summary

Hubs list signed-in clients by user agent (see the tapper-hub login-activity PR). tap now sends tap/<version> (<os>/<arch>) on requests that don't set their own User-Agent, instead of Go's default Go-http-client/1.1.

Testing

  • New pkg/cli/user_agent_test.go
  • go build, go vet, go test ./..., task lint:docs, task lint:fs

Hubs list signed-in clients by user agent. Requests now send a tap
user agent carrying the version and platform instead of Go's default.
@jlrickert
jlrickert merged commit 029c27d into main Sep 28, 2026
1 check passed
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