Summary
Allow workflows to prepend a custom user-agent token to SDK requests so Backblaze support and internal logs can identify which workflow or integration generated traffic.
Why
The SDK already supports a custom userAgent prefix. The action always uses the SDK default, which identifies the SDK but not the consuming workflow, repository, product, or automation. A user-supplied token improves operational traceability without changing request behavior.
SDK support (already available)
B2ClientOptions.userAgent
- SDK default user-agent contract (
b2-sdk-typescript/... and package token retained)
Proposed surface
New optional input:
user-agent-prefix: prepended to the SDK default user-agent, e.g. my-org-release/1.2
The action should validate this as a header-safe string and continue to rely on the SDK to append its own product token.
Acceptance criteria
Out of scope
- Per-command user-agent overrides.
- Logging or exposing credentials in the user-agent value.
Summary
Allow workflows to prepend a custom user-agent token to SDK requests so Backblaze support and internal logs can identify which workflow or integration generated traffic.
Why
The SDK already supports a custom
userAgentprefix. The action always uses the SDK default, which identifies the SDK but not the consuming workflow, repository, product, or automation. A user-supplied token improves operational traceability without changing request behavior.SDK support (already available)
B2ClientOptions.userAgentb2-sdk-typescript/...and package token retained)Proposed surface
New optional input:
user-agent-prefix: prepended to the SDK default user-agent, e.g.my-org-release/1.2The action should validate this as a header-safe string and continue to rely on the SDK to append its own product token.
Acceptance criteria
user-agent-prefixmaps toB2ClientOptions.userAgent.Out of scope