extensions: [Amazon AWS]... can't see any of pipelines...

Extension

https://raycast.com/Falcon/aws

Raycast Version

1.77.3

macOS Version

No response

Description

Error:

ThrottlingException: Rate exceeded
    at throwDefaultError (/Users/user/.config/raycast/extensions/cdcb4b69-7df7-4f7e-977b-1406967eb3e7/codepipeline.js:13:5039)
    at /Users/user/.config/raycast/extensions/cdcb4b69-7df7-4f7e-977b-1406967eb3e7/codepipeline.js:13:5204
    at de_CommandError (/Users/user/.config/raycast/extensions/cdcb4b69-7df7-4f7e-977b-1406967eb3e7/codepipeline.js:38:97251)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /Users/user/.config/raycast/extensions/cdcb4b69-7df7-4f7e-977b-1406967eb3e7/codepipeline.js:2:11136
    at async /Users/user/.config/raycast/extensions/cdcb4b69-7df7-4f7e-977b-1406967eb3e7/codepipeline.js:3:6280
    at async /Users/user/.config/raycast/extensions/cdcb4b69-7df7-4f7e-977b-1406967eb3e7/codepipeline.js:13:15725
    at async /Users/user/.config/raycast/extensions/cdcb4b69-7df7-4f7e-977b-1406967eb3e7/codepipeline.js:1:7426
    at async /Users/user/.config/raycast/extensions/cdcb4b69-7df7-4f7e-977b-1406967eb3e7/codepipeline.js:69:11342
    at async Promise.all (index 0)

Steps To Reproduce

just open codepipeline in raycast with aws profile with multiple pipelines

Current Behaviour

No response

Expected Behaviour

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Perfect @arabshapt . Thanks for testing! So we root-caused it to 50 async calls being triggered (instead of sequential) that raised the TPS to throttle limits.

I think they get cached, because that initial loading i can search immediately.

Yes we are using cached promise, so you will be seeing stale results but every time you reload the command it will revalidate.

The question is how long does it take for a new pipeline to appear there.

This is what we need to optimize next. Can you add logging after each ListPipelineExecutions call to track what is the avg latency spent here? Based on that we can rebalance max items loaded to fit both TPS and low latency thresholds.