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

fix: CI exiting with non-zero code on post-install audit fails #2239

Closed
wants to merge 7 commits into from

Conversation

PROFeNoM
Copy link
Contributor

@PROFeNoM PROFeNoM commented Sep 1, 2023

Description

The 8.0 and 8.1 web tests started failing on the CI a few hours ago. This is due to the 2.6.0 release of composer/composer, which includes #11362.

This PR sets the composer version of the failing tests to 2.5.6.
This pull request modifies the Makefile command for composer update to handle exit code 5.

Readiness checklist

  • (only for Members) Changelog has been added to the release document.
  • Tests added for this feature/bug.

Reviewer checklist

  • Appropriate labels assigned.
  • Milestone is set.
  • Changelog has been added to the release document. For community contributors, the reviewer is in charge of this task.

@PROFeNoM PROFeNoM added 🐛 bug Something isn't working ci labels Sep 1, 2023
@PROFeNoM PROFeNoM added this to the 0.91.0 milestone Sep 1, 2023
@PROFeNoM PROFeNoM requested a review from a team as a code owner September 1, 2023 13:58
@PROFeNoM PROFeNoM self-assigned this Sep 1, 2023
@bwoebi
Copy link
Collaborator

bwoebi commented Sep 1, 2023

This sounds like a special exit code - can't we just check for that instead of forcing composer to be limited?

Copy link
Collaborator

@morrisonlevi morrisonlevi left a comment

Choose a reason for hiding this comment

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

Looks good to me, but I didn't examine failing tests.

@PROFeNoM PROFeNoM requested a review from a team September 4, 2023 06:59
@PROFeNoM
Copy link
Contributor Author

PROFeNoM commented Sep 4, 2023

Changed to handle the exit code 5 specifically

@PROFeNoM
Copy link
Contributor Author

PROFeNoM commented Sep 4, 2023

Do not merge yet. This should be fixed in the hotfix composer/composer just made (2.6.2). I'm re-running master to see if it still fails 👍

@PROFeNoM
Copy link
Contributor Author

PROFeNoM commented Sep 4, 2023

Fixed with 2.6.2. This PR is no longer relevant 👍 Closing it.

@PROFeNoM PROFeNoM closed this Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants