couchbase / couchbase/couchbase-php-client

Random failures when forking a process

Open
#194 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.