Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix ci PRs might get merged with failing tests #1689

Merged

Conversation

mrgrain
Copy link
Contributor

@mrgrain mrgrain commented Jul 29, 2024

We had a PR aws/jsii-compiler#1191 that got merged despite a failure in Node22 tests.

This happened because on a failure of one of the matrix builds, the job that is unifying them is skipped. This is documented behavior:
image

The fix is to make sure the combination step always runs and manually check the status of the matrix build.


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

@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue Jul 29, 2024
Merged via the queue into main with commit eff4ad9 Jul 29, 2024
13 checks passed
@aws-cdk-automation aws-cdk-automation deleted the mrgrain/ci/fix-unit-tests-can-be-skipped-when-failing branch July 29, 2024 15:57
aws-cdk-automation pushed a commit that referenced this pull request Jul 29, 2024
We had a PR aws/jsii-compiler#1191 that got
merged despite a failure in Node22 tests.

This happened because on a failure of one of the matrix builds, the job
that is unifying them is skipped. This is documented behavior:

![image](https://github.com/user-attachments/assets/c4eb7ae6-1b37-4f5e-91c4-65a5e5661514)

The fix is to make sure the combination step always runs and manually
check the status of the matrix build.

---

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

[Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0

(cherry picked from commit eff4ad9)
@aws-cdk-automation
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
maintenance/v5.3

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

github-merge-queue bot pushed a commit that referenced this pull request Jul 29, 2024
#1690)

# Backport

This will backport the following commits from `main` to
`maintenance/v5.3`:
- [chore: fix ci PRs might get merged with failing tests
(#1689)](#1689)

<!--- Backport version: 9.5.1 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

Co-authored-by: Momo Kornher <kornherm@amazon.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants