Skip to content

Add pgvector extension test #1205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 7, 2025
Merged

Add pgvector extension test #1205

merged 5 commits into from
Jul 7, 2025

Conversation

valmiranogueira
Copy link
Contributor

@valmiranogueira valmiranogueira commented Jul 3, 2025

K8SPG-715 Powered by Pull Request Badge

CHANGE DESCRIPTION

Problem:
Add tests to verify pgvector extension.

Cause:
Short explanation of the root cause of the issue if applicable.

Solution:
Short explanation of the solution we are providing with this PR.

CHECKLIST

Jira

  • Is the Jira ticket created and referenced properly?
  • Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
  • Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

  • Is an E2E test/test case added for the new feature/change?
  • Are unit tests added where appropriate?

Config/Logging/Testability

  • Are all needed new/changed options added to default YAML files?
  • Are all needed new/changed options added to the Helm Chart?
  • Did we add proper logging messages for operator actions?
  • Did we ensure compatibility with the previous version or cluster upgrade process?
  • Does the change support oldest and newest supported PG version?
  • Does the change support oldest and newest supported Kubernetes version?

@it-percona-cla
Copy link

it-percona-cla commented Jul 3, 2025

CLA assistant check
All committers have signed the CLA.

@valmiranogueira valmiranogueira requested a review from hors July 3, 2025 01:15
Copy link
Contributor

@eleo007 eleo007 left a comment

Choose a reason for hiding this comment

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

Please add this test to:
percona-postgresql-operator/e2e-tests/run-minikube.csv
percona-postgresql-operator/e2e-tests/run-pr.csv
percona-postgresql-operator/e2e-tests/run-release.csv

Copy link
Contributor

@gkech gkech left a comment

Choose a reason for hiding this comment

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

We have an e2e for custom extensions which implies that all the custom extensions will be added there. Should we approach the build-in extensions e2e test in a similar way? Just wondering to understand how we think future tests will be added.

@eleo007
Copy link
Contributor

eleo007 commented Jul 4, 2025

Hi @gkech ,

We have an e2e for custom extensions which implies that all the custom extensions will be added there. Should we approach the build-in extensions e2e test in a similar way? Just wondering to understand how we think future tests will be added.

We have discussed this and decided that built-in extension will their own separate tests. Bc some of them may require other components like pmm, others can be long running (expect this with TDE).
At the moment pg_stat_statements are a part of monitoring test, pgvector and pg_repack will have separate tests each.

@percona percona deleted a comment from CLAassistant Jul 4, 2025
@valmiranogueira valmiranogueira requested review from gkech and eleo007 July 4, 2025 21:12
@JNKPercona
Copy link
Collaborator

Test Name Result Time
backup-enable-disable passed 00:06:28
custom-extensions passed 00:08:38
custom-tls passed 00:04:59
demand-backup passed 00:24:27
finalizers passed 00:03:34
init-deploy passed 00:03:09
monitoring passed 00:07:24
monitoring-pmm3 passed 00:07:34
one-pod passed 00:05:33
operator-self-healing passed 00:07:47
pgvector-extension passed 00:02:37
pitr passed 00:11:24
scaling passed 00:04:40
scheduled-backup passed 00:24:28
self-healing passed 00:09:33
sidecars passed 00:02:30
start-from-backup passed 00:10:23
tablespaces passed 00:07:32
telemetry-transfer passed 00:03:25
upgrade-consistency passed 00:06:09
upgrade-minor passed 00:05:29
users passed 00:03:28
We run 22 out of 22 02:51:21

commit: 14d0021
image: perconalab/percona-postgresql-operator:PR-1205-14d0021f6

@valmiranogueira valmiranogueira merged commit b5ad3a0 into main Jul 7, 2025
18 checks passed
@valmiranogueira valmiranogueira deleted the K8SPG-715 branch July 7, 2025 11:53
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.

6 participants