couchbase / couchbase/couchbase-php-client
Random failures when forking a process
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 7
- Forks
- 13
- Avg merge
- 6d 10m
- Merged PRs (30d)
- 2
Description
Hi
I am getting random failures when forking a process.
It shows as a Couchbase\Exception\AmbiguousTimeoutException or a Couchbase\Exception\UnambiguousTimeoutException in the client or parent.
The test script being used is here
This is a example of a parent failing link
Most of the other workflow jobs are showing child failures link
The tests are using the following matrix
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.3', '8.4']
ext-versions: ['couchbase-4.2.2', 'couchbase-4.2.3', 'couchbase-4.2.4', 'couchbase']
I am also seing it fail on MacOS aarch64
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked simple-tests.php reproduction and run its GitHub Actions matrix for PHP 8.3/8.4 and Couchbase extension versions 4.2.2–4.2.4, including the reported macOS aarch64 case. Compare parent and child failures, then trace the client behavior around process forking and timeout exceptions. Done should include a reproducible diagnosis and a verified resolution for the affected environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100