Skip to content

chore: fix transient random test failures#10122

Open
paulbalandan wants to merge 1 commit intocodeigniter4:developfrom
paulbalandan:transient-random-test-fails
Open

chore: fix transient random test failures#10122
paulbalandan wants to merge 1 commit intocodeigniter4:developfrom
paulbalandan:transient-random-test-fails

Conversation

@paulbalandan
Copy link
Copy Markdown
Member

Description
Random tests still fails at some points. Trying to probe the likely culprit.

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@github-actions github-actions bot added the github_actions Pull requests that update Github_actions code label Apr 18, 2026
@paulbalandan paulbalandan force-pushed the transient-random-test-fails branch from 0973042 to e7823b1 Compare April 18, 2026 18:37
@paulbalandan
Copy link
Copy Markdown
Member Author

paulbalandan commented Apr 18, 2026

The fix here is to acknowledge the fact that the transient failures may be caused by race issues within GitHub Actions. Thus, the script will retry for another round with a fresh random seed. Given that the failures all revolve around CodeIgniter\CodeIgniter not found or failed to autoload, I disabled opcache in CLI as a primary defense and the retry as fallback.

The retry mechanism absorbed the flaky test fails in Language and Log in the SQLSRV matrix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update Github_actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant