aws-cloudformation / aws-cloudformation/cloudformation-cli
List handler time out issue
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 337
- Forks
- 172
- Avg merge
- 3d 5m
- Merged PRs (30d)
- 3
Description
I implemented the list handler for resource AWS::CodeGuruReviewer::RepositoryAssociation. Our service uses DynamoDB and the list handler will call the api as long as the nextToken is not null.
In our prod account, as the canary test, the amount of data is large and caused the registration verification test failed.
In contract test, can we check whether the resource has found, if found, no list call anymore?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the contract test for the AWS::CodeGuruReviewer::RepositoryAssociation list handler and trace how it handles nextToken. Reproduce the registration verification case with a resource that is found, then confirm the contract test stops listing once the resource is found and avoids the timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- backend, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100