Commit Graph
2 Commits
Author SHA1 Message Date
Sam Fakhreddine a155e66b15 feat(codepipeline): validate ListPipelineExecutions filters and PutApprovalResult inputs (#2696)
* feat: tighten CodePipeline P0 operation contracts

* fix(codepipeline): reject malformed filters and stop stranding approvals on rename

- ListPipelineExecutions: reject non-string succeededInStage.stageName,
  unknown filter/succeededInStage members, and non-integer maxResults
  instead of silently coercing them.
- PutApprovalResult: reject non-string result.summary instead of
  coercing it, and split the "result is required" error from a
  clearer "result must be an object" error for wrong-typed payloads.
- PutApprovalResult: look up the pending approval by token across the
  execution's own captured stage/action names before consulting the
  pipeline's current declaration, so renaming or removing a stage or
  action via UpdatePipeline no longer strands an in-flight approval
  behind a StageNotFoundException/ActionNotFoundException.
- Replace fixed Thread.sleep(100) waits in
  CodePipelineIntegrationTest with polling helpers
  (waitForApprovalToken/waitForApprovalStatus) matching the existing
  waitForJob/waitForExecution pattern, removing test flakiness.
2026-08-28 22:11:07 -04:00
kotov228 3f314dcb4e feat(codepipeline): add AWS CodePipeline emulation (#1469)
* feat(codepipeline): add AWS CodePipeline emulation

* fix(codepipeline): align webhook and rollback response shapes
2026-06-21 09:01:44 -05:00