Skip to content

fix: properly add "CI" to the default user-agent from NewClient - #532

Merged
zeroshade merged 3 commits into
mainfrom
fix-ci-user-agent
Oct 28, 2026
Merged

zeroshade merged 3 commits into
mainfrom
fix-ci-user-agent

Conversation

@zeroshade

Copy link
Copy Markdown
Member

In the deprecated handling for constructing user-agents we properly checked the "CI" environment variable and added the suffix to the user-agent. When we refactored things to go through the NewClient function for everything, we neglected to add that properly. This also adds a unit test for it.

@zeroshade
zeroshade requested a review from amoeba October 22, 2026 16:02
@zeroshade zeroshade changed the title Properly add "CI" to the default user-agent from NewClient fix: properly add "CI" to the default user-agent from NewClient Oct 22, 2026
@zeroshade
zeroshade merged commit 13b97b1 into main Oct 28, 2026
15 checks passed
@zeroshade
zeroshade deleted the fix-ci-user-agent branch October 28, 2026 17:16

This branch was successfully deployed

1 active deployment
snapshot — 1a9fdb4d Deployed Oct 23, 2026 by zeroshade via snapshot #1040
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.

2 participants