Skip to content

Conversation

@shyim
Copy link
Contributor

@shyim shyim commented Oct 7, 2025

Description

Changed to download directly Symfony CLI from artifacts to hopefully make it more stable.

Right now the Symfony CLI download fails flakely for us:

image
  • I have written test cases for the changes in this pull request
  • I have run npm run format before the commit.
  • I have run npm run lint before the commit.
  • I have run npm run release before the commit.
  • npm test returns with no unit test errors and all code covered.

In case this PR edits any scripts:

  • I have checked the edited scripts for syntax.
  • I have tested the changes in an integration test (If yes, provide workflow YAML and link).

@shyim
Copy link
Contributor Author

shyim commented Oct 7, 2025

Does it make sense in long-term to port all this bash scripts to proper JS and use https://www.npmjs.com/package/@actions/tool-cache ? 🤔 hopefully the runners don't have to re-download it for any run

@shivammathur
Copy link
Owner

The issue with this change is that symfony-cli in past have changed how they name their artifacts and thus breaking it. Please revert the changes and put the direct url as the final fallback in get_symfony_artifact_url. That should improve it.

@shyim
Copy link
Contributor Author

shyim commented Oct 7, 2025

like this?

@shivammathur
Copy link
Owner

@shyim Please keep the api.github.com call and add a fallback to that.

@shivammathur shivammathur merged commit 38e8065 into shivammathur:main Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants