Skip to content

Add AMPHP, ReactPHP, Revolt PHP in community job #10933

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

Merged
merged 3 commits into from
Jul 21, 2023

Conversation

arnaud-lb
Copy link
Member

This adds AMPHP, ReactPHP, Revolt PHP in community job, as an attempt to spot regressions around Fibers.

Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

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

The community builds already take quite long (4h30m):
https://github.com/php/php-src/actions/runs/4516744467/jobs/7955396917

6h is the maximum, I'm not sure if this might push it over the edge. If that becomes a problem we might try to create a base job that builds PHP, mark those as artifacts and then run separate jobs to test the libraries.

Also, could you temporarily copy this to push.yml so we can make sure this works?

@arnaud-lb
Copy link
Member Author

I've been testing this on https://github.com/arnaud-lb/php-src/actions/runs/4519573556/jobs/7960141152, but it's not very stable yet. In particular, the amphp/byte-stream test suite sometimes causes an assertion failure in libsanitizer, that I can't reproduce locally.

The job duration dangerously approaches 6h indeed. I'll see if I can manage to split it into separate jobs.

@arnaud-lb arnaud-lb marked this pull request as ready for review July 14, 2023 13:33
@arnaud-lb arnaud-lb requested a review from TimWolla as a code owner July 14, 2023 13:33
@arnaud-lb
Copy link
Member Author

I was not able to reproduce the ASAN assertion failure that occurred during the amphp/byte-stream test suite, so I've removed this package from the build, for now. The build is now stable.

@TimWolla TimWolla removed their request for review July 14, 2023 13:54
Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

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

Looks ok to me. How much does this add to the total execution time?

@@ -360,6 +360,27 @@ jobs:
echo opcache.enable_cli=1 >> /etc/php.d/opcache.ini
echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini
echo opcache.jit_buffer_size=1G >> /etc/php.d/opcache.ini

Copy link
Member

Choose a reason for hiding this comment

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

Nit: The file generally avoids newlines

@arnaud-lb
Copy link
Member Author

How much does this add to the total execution time?

This adds ~13m to each _COMMUNITY variant except PHP-80

@arnaud-lb arnaud-lb merged commit abd563a into php:master Jul 21, 2023
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