Skip to content

fix: recent change to IAlarmAction breaks too many implementors#36695

Merged
mergify[bot] merged 5 commits intomainfrom
huijbers/revert-ialarmaction
Jan 15, 2026
Merged

fix: recent change to IAlarmAction breaks too many implementors#36695
mergify[bot] merged 5 commits intomainfrom
huijbers/revert-ialarmaction

Conversation

@rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Jan 15, 2026

In a recent change we changed the signature of IAlarmAction:

 export interface IAlarmAction {
-  bind(scope: Construct, alarm: IAlarm): AlarmActionConfig;
+  bind(scope: Construct, alarm: IAlarmRef): AlarmActionConfig;
 }

This breaks too many current implementors of this interface, so we are reverting the change.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

In a recent change we changed the signature of `IAlarmAction`:

```ts
 export interface IAlarmAction {
-  bind(scope: Construct, alarm: IAlarm): AlarmActionConfig;
+  bind(scope: Construct, alarm: IAlarmRef): AlarmActionConfig;
 }
```

This breaks too many current implementors of this interface, so we
are reverting the change.
@rix0rrr rix0rrr requested a review from a team January 15, 2026 10:44
@github-actions github-actions bot added the p2 label Jan 15, 2026
@aws-cdk-automation aws-cdk-automation requested a review from a team January 15, 2026 10:44
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jan 15, 2026
Copy link
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This review is outdated)

@rix0rrr rix0rrr added pr-linter/exempt-test The PR linter will not require test changes pr-linter/exempt-integ-test The PR linter will not require integ test changes labels Jan 15, 2026
@aws-cdk-automation aws-cdk-automation dismissed their stale review January 15, 2026 12:42

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@mergify
Copy link
Contributor

mergify bot commented Jan 15, 2026

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify
Copy link
Contributor

mergify bot commented Jan 15, 2026

Merge Queue Status

✅ The pull request has been merged at 78df1c1

This pull request spent 39 minutes 26 seconds in the queue, including 39 minutes 12 seconds running CI.
The checks were run in-place.

Required conditions to merge

@mergify
Copy link
Contributor

mergify bot commented Jan 15, 2026

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 0c5b0db into main Jan 15, 2026
18 of 19 checks passed
@mergify mergify bot deleted the huijbers/revert-ialarmaction branch January 15, 2026 15:45
@github-actions
Copy link
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

contribution/core This is a PR that came from AWS. p2 pr-linter/exempt-integ-test The PR linter will not require integ test changes pr-linter/exempt-test The PR linter will not require test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants