Skip to content

Add reproducer for PHP 8.5 JIT bug affecting Composer#299

Draft
sanmai wants to merge 1 commit intomainfrom
chore/jit-bug-composer
Draft

Add reproducer for PHP 8.5 JIT bug affecting Composer#299
sanmai wants to merge 1 commit intomainfrom
chore/jit-bug-composer

Conversation

@sanmai
Copy link
Owner

@sanmai sanmai commented Jan 29, 2026

Composer's SAT solver produces non-deterministic results when JIT is enabled. Sometimes succeeds, sometimes fails with bogus conflicts.

  • Dockerfile: PHP 8.5 with Composer
  • doit2.sh: Runs composer update with JIT enabled

With JIT: random failures
Without JIT: 100% reliable

php/php-src#21079

Composer's SAT solver produces non-deterministic results when JIT
is enabled. Sometimes succeeds, sometimes fails with bogus conflicts.

- Dockerfile: PHP 8.5 with Composer
- doit2.sh: Runs composer update with JIT enabled

With JIT: random failures
Without JIT: 100% reliable
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Great call! You've got a knack for this.

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.

1 participant