-
Notifications
You must be signed in to change notification settings - Fork 1
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
Blackfire issue on CI #532
Comments
Will investigate. There are unfortunately minor differences between the "normal" and "interactive" CI runs (interactive TTY, and a wrapping Shell process, mostly) that I think are causing the difference in behavior here (hang on The real question, however, is... should APM extensions even be enabled in CI? The automatic installs are skipped for CI... |
It's more about the profiler, which does make sense in the CI as Blackfire allows you to run performance tests, whether using scenarios or within unit tests. |
I finally managed to find a workaround, I added |
@dzuelke the issue appears to be that the Blackfire agent is started by the profile.d scripts (see https://github.com/heroku/heroku-buildpack-php/blob/main/support/build/blackfire#L46-L67). I agree with @lolautruche: having the Agent in the CI can be interesting for users who want to run performance tests. |
Glad you found a workaround @VincentPeraud (and thanks @tucksaun) |
Hi,
I'm facing an issue with blackfire on heroku CI.
As described in this page https://blackfire.io/docs/integrations/paas/heroku I have added ext-blackfire package in my composer.json
I have configured my app.json heroku file as below:
But in my heroku CI run, I can see the "Test setup step"
echo
but test step below still remain pending...Actually the step is triggered but 2 hours after.
I tried to run in debug mode in my term with "heroku ci:debug" command, and I noticed this error at the end of the test setup step :
It's like blackfire agent:start has been executed twice, and I had to Ctrl+C to get my term back.
I asked to Blackfire support and they told me that it was an issue with heroku/php build pack, so as they asked my I'm creating that issue, tagging @lolautruche
Thanks for your help,
Vince.
The text was updated successfully, but these errors were encountered: