feat(payments): attribute SDK usage via user-agent integration source - #669
Merged
aidandaly24 merged 1 commit intoSep 21, 2026
Merged
Conversation
rajuans
had a problem deploying
to
auto-approve
September 17, 2026 18:45 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 17, 2026 18:45 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 17, 2026 18:45 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 17, 2026 18:45 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 17, 2026 18:45 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 17, 2026 18:45 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 17, 2026 18:45 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 17, 2026 18:45 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 17, 2026 18:45 — with
GitHub Actions
Failure
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #669 +/- ##
=======================================
Coverage ? 89.53%
=======================================
Files ? 123
Lines ? 10712
Branches ? 1680
=======================================
Hits ? 9591
Misses ? 733
Partials ? 388
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
|
Claude Security Review: no high-confidence findings. (run) |
Propagate an integration_source through the boto3 User-Agent so the payments data plane can count callers by surface / version / operation from each request. - build_user_agent_suffix gains an optional feature token, e.g. bedrock-agentcore/X.Y.Z (integration_source=strands; feature=payments). - PaymentManager (data plane) and PaymentClient (control plane) accept integration_source (default "raw-sdk") and emit it with feature=payments. - Strands plugin sets integration_source="strands"; LangGraph middleware sets "langgraph". No new data leaves the caller. Adds unit coverage for the user-agent formatting.
rajuans
force-pushed
the
feat/payments-surface-instrumentation
branch
from
September 18, 2026 22:20
57dc939 to
003dbcd
Compare
rajuans
had a problem deploying
to
auto-approve
September 18, 2026 22:23 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 18, 2026 22:23 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 18, 2026 22:23 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 18, 2026 22:23 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 18, 2026 22:23 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 18, 2026 22:23 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 18, 2026 22:23 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 18, 2026 22:23 — with
GitHub Actions
Failure
rajuans
had a problem deploying
to
auto-approve
September 18, 2026 22:23 — with
GitHub Actions
Failure
Contributor
|
Claude Security Review: no high-confidence findings. (run) |
Contributor
|
Confirmed integ tests pass |
aidandaly24
reviewed
Sep 21, 2026
aidandaly24
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me, thanks for adding
aidandaly24
approved these changes
Sep 21, 2026
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Propagate an origin signal through the boto3 User-Agent so the payments data plane can measure who is calling.
build_user_agent_suffixgains an optionalfeaturetoken →bedrock-agentcore/X.Y.Z (integration_source=strands; feature=payments).PaymentManager(data plane) andPaymentClient(control plane) now takeintegration_source(defaultraw-sdk) and emit it withfeature=payments.integration_source="strands"; LangGraph middleware sets"langgraph".Tests
tests/bedrock_agentcore/_utils/test_user_agent.py— user-agent formatting, feature token, sanitization.integration_sourcekwarg.