Deploy rollback can't confirm it owns a credential provider whose create response was lost

Open
#2,906 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
aws, typescript

Research direction

The payload names no files or tests, so begin by finding the deploy rollback path and the code that creates credential providers, searching for where the provider name is used to look one up. The proposed fix tags each provider with agentcore:deploy-id at create time and deletes only on a tag match, so check how the create call and the rollback delete are written. Done means rollback deletes a provider only when its tag matches the deploy, and a lost create response is covered by a test.

Written by the indexing model from the issue text.

Description

Rollback identifies credential providers only by name, so after a lost create response it must either risk deleting another deploy's provider or leave a secret-holding one behind; the fix is to tag each provider with agentcore:deploy-id at create time and delete only when the tag matches.

Dominant language
TypeScript
Stars
339
Forks
129
Avg merge
19h 21m
Merged PRs (30d)
125

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/agentcore-cli

All issues in aws/agentcore-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.