Skip to content

[codex] Set Freebuff ad request user agent#661

Merged
jahooma merged 1 commit into
mainfrom
jahooma/freebuff-cli-ua
May 12, 2026
Merged

[codex] Set Freebuff ad request user agent#661
jahooma merged 1 commit into
mainfrom
jahooma/freebuff-cli-ua

Conversation

@brandonkachen
Copy link
Copy Markdown
Collaborator

Summary

Set the Freebuff/Codebuff CLI product User-Agent header on ad fetch and impression requests, then forward that header to Carbon ad-serving calls and impression pixel fetches. Carbon still receives the browser-like UA in its required useragent query parameter for targeting, while BuySellAds request logs now see Freebuff-CLI/<version> instead of the default Node UA. Added a Carbon provider test covering the forwarded header and required query parameter.

Validation

Ran Carbon/ZeroClick provider tests, CLI typecheck, web typecheck, git diff --check, and a live ignore=yes request against the public Carbon test zone.

@jahooma jahooma merged commit ee1b878 into main May 12, 2026
35 checks passed
@jahooma jahooma deleted the jahooma/freebuff-cli-ua branch May 12, 2026 20:30
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