feat: Add AWS CodePipeline Retry Stage Execution component#3266
Conversation
Signed-off-by: manasa <manasa.bhagwat.work@gmail.com>
|
Hi @forestileao This is pr ready for review when you get a chance. Adds the Retry Stage Execution component. Happy to iterate based on feedback. [UPDATE - CI has been re-run and all checks are now passing.] Note about failed CI job:One CI failure ( I’m not fully clear on the infrastructure-related failures flagged in the failed test. So, I’ve intentionally avoided modifying infra-specific files to prevent unintended side effects. I’d appreciate it if this could be resolved as part of the review and merge process. |
|
Hey @forestileao Similar to the I believe using If you agree, I can do it in a follow-up PR and roll it out component by component. |
|
@manasa-bhagwat If possible that would be a really nice improvement. Just judge if it makes sense to apply the pattern in the component you are working on 😉 |
…ryStageExecution Signed-off-by: manasa <manasa.bhagwat.work@gmail.com>
Thanks for the suggestion, @forestileao I’ve opened a follow-up PR for this: #3279. I reviewed all 5 CodePipeline components:
|
Signed-off-by: manasa <manasa.bhagwat.work@gmail.com>
5efd46a to
bf0a946
Compare
|
@manasa-bhagwat All good and working. Thanks for the contribution! |

Implements #2753
This PR adds the
aws.codepipeline.retryStageExecutioncomponent, which retries a specific stage in an existing AWS CodePipeline execution using theRetryStageExecutionAPI.What
The component retries a stage using either
FAILED_ACTIONSorALL_ACTIONSand emits retry metadata for downstream workflow steps. It is a synchronous one-shot action — no polling/EventBridge lifecycle. ThepipelineExecutionIdfield supports expressions, enabling dynamic wiring from preceding steps (for exampleRun Pipeline).Backend
pkg/integrations/aws/codepipeline/retry_stage_execution.go— component implementation (all core.Component methods)pkg/integrations/aws/codepipeline/client.go—RetryStageExecution()client method + response structpkg/integrations/aws/codepipeline/retry_stage_execution_test.go— Setup + Execute testspkg/integrations/aws/codepipeline/example_output_retry_stage_execution.json— example outputpkg/integrations/aws/codepipeline/example.go—ExampleOutput()wiringpkg/integrations/aws/aws.go— registered inComponents()Frontend
web_src/src/pages/workflowv2/mappers/aws/codepipeline/retry_stage_execution.ts— canvas mapperweb_src/src/pages/workflowv2/mappers/aws/index.ts— registered mapper + state registryDocs
docs/components/AWS.mdx— generated withmake gen.components.docsTests
pipelineExecutionId, invalidretryMode, valid configDemo
[Updated]
Retry.Stage.Execution.-.Demo.SuperPlane.mp4