raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.28k stars 2.97k forks source link

[Amazon AWS] it was working, but broke a couple of days ago. #13088

Closed arabshapt closed 3 months ago

arabshapt commented 3 months ago

Extension

https://www.raycast.com/Falcon/aws

Raycast Version

1.77.1

macOS Version

No response

Description

TypeError: Cannot read properties of undefined (reading 'pipelineExecutionId')

sx:codepipeline.tsx:12:66


9: import { StopExecutionAction } from "./components/codepipeline/stop-execution-action"; 10: 11: export default function CodePipeline() { 12: const { pipelines, error, isLoading, revalidate, pagination } = usePipelines(); 13: 14: return ( 15: <List

Fr:index.js:8:2490 at ray-navigation-stack No:index.js:8:2088

Steps To Reproduce

No idea, I used it with sso and it worked until now

Current Behaviour

No response

Expected Behaviour

No response

raycastbot commented 3 months ago

Thank you for opening this issue!

🔔 @victor-falcon @Hodglim @JonathanWbn @gebeto @momme-rtf @duboiss @hexpl0it @crisboarna @sidhant92 @DorukAkinci @frese @nagauta @vineus @jfkisafk @srikirank @b0lle you might want to have a look.

💡 Author and Contributors commands The author and contributors of `Falcon/aws` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
jfkisafk commented 3 months ago

@raycastbot assign me

jfkisafk commented 3 months ago

I couldn't fully reproduce this issue, but my best guess is that you have a pipeline w/o any executions. When this pipeline is getting rendered, aws-sdk is making executions -> undefined instead of executions -> []. The place it might be erroring out is https://github.com/raycast/extensions/blob/main/extensions/amazon-aws/src/codepipeline.tsx#L68. Made this list rendering much safer in the PR.

arabshapt commented 3 months ago

Thank you! I am not sure why this is happening, because I have different profiles and there is no error when i use a profile without pipelines as you see in the screenshot. Only when I switch to the one with pipeline does it break... image on INT there are no pipelines

pernielsentikaer commented 3 months ago

This is now merged 🙂