aws / aws/agentcore-cli

bug(flaky-test): payments credential provider setup

Open
#1,559 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
283
Forks
95
Avg merge
1d 2h
Merged PRs (30d)
183

Description

### Problem

```
[payments-strands-bedrock]:deploy stdout={"success":false,"logPath":"agentcore/.cli/logs/deploy/deploy-20260617-195959.log","error":"Payment setup failed: Credential provider for \"E2ePayConn\": Failed to create payment credential provider \"E2ePayMgr-E2ePayConn-cdp\": Payment API error (400): {\"fieldList\":null,\"message\":\"Credential provider with name: E2ePayMgr-E2ePayConn-cdp already exists\",\"reason\":null}"}
```

it looks like the credential provider is using a static name, and likely conflicted with the version created by a concurrent execution.

### Definition of Done
- verify the created payments credentials have a unique suffix.

Contributor guide

Open the contributing guide

Research direction

Start with the payments credential-provider setup that emits the deploy log at agentcore/.cli/logs/deploy/deploy-20260617-195959.log, and reproduce the concurrent deployment described in the issue. Inspect how the E2ePayMgr-E2ePayConn-cdp name is created. Done means verifying that created payments credentials have a unique suffix and no longer collide during concurrent execution.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
payments, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.