Skip to content

PCBC-1049: GHA - Add 8.0 to server version matrix#242

Merged
DemetrisChr merged 1 commit intocouchbase:mainfrom
DemetrisChr:PCBC-1049-8-0-issues
Feb 26, 2026
Merged

PCBC-1049: GHA - Add 8.0 to server version matrix#242
DemetrisChr merged 1 commit intocouchbase:mainfrom
DemetrisChr:PCBC-1049-8-0-issues

Conversation

@DemetrisChr
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds Couchbase Server version 8.0.0 to the GitHub Actions test matrix and updates the codebase to properly support this version. The changes refactor version-specific helper methods to use more maintainable comparison logic and add necessary version guards for features that are no longer supported in 8.0 (such as Memcached buckets).

Changes:

  • Added server version 8.0.0 to the test matrix in GitHub Actions workflows and removed 7.0.5
  • Removed obsolete version-specific helper methods (is72, is75, is76, is80) and refactored version checks to use general comparison operators
  • Added support for memcached bucket deprecation in 8.0 and fixed replica indexes test to explicitly use Couchstore storage backend

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/tests.yml Updated server version matrix to include 8.0.0 and remove 7.0.5
tests/Helpers/ServerVersion.php Removed obsolete version check methods, refactored version comparisons, and added supportsMemcachedBuckets() method
tests/BucketManagerTest.php Added version check for memcached bucket support and specified Couchstore backend for replica indexes test

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/Helpers/ServerVersion.php
Comment thread tests/Helpers/ServerVersion.php
@DemetrisChr DemetrisChr merged commit e84370f into couchbase:main Feb 26, 2026
146 of 147 checks passed
@DemetrisChr DemetrisChr deleted the PCBC-1049-8-0-issues branch February 26, 2026 16:58
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.

3 participants