feat(persistence): add opt-in DocumentDB support - #2418
Draft
sriaradhyula wants to merge 1 commit into
Draft
Conversation
Signed-off-by: Sri Aradhyula <sraradhy@cisco.com>
Contributor
|
✅ No proprietary content detected. This PR is clear for review! |
Contributor
Prebuild Artifacts for
|
| Chart | Registry | Version | Status | CI |
|---|---|---|---|---|
| ai-platform-engineering | ghcr.io/cnoe-io/prebuild-helm-charts |
0.5.69-dev.4-feat-documentdb-support-1 |
Published | CI |
Helm install commands
helm upgrade --install ai-platform oci://ghcr.io/cnoe-io/prebuild-helm-charts/ai-platform-engineering --version 0.5.69-dev.4-feat-documentdb-support-1These prebuild artifacts will be automatically cleaned up when the PR is closed or merged.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds opt-in support for the MIT-licensed, PostgreSQL-backed DocumentDB project while keeping MongoDB as CAIPE's default persistence provider.
Design/default-provider discussion: #2419
caipe-documentdbprofiles to the production and development Compose stacks.--database=mongodb|documentdband an interactive provider choice tosetup-caipe.sh.caipe-ui-mongodbHelm subchart withprovider: mongodb|documentdband adds an umbrella-chart values example.MONGODB_URIcontract.pg17-0.113.0; upstream0.114.0documents an active-connection regression.MongoDB remains the default in
.env.example, Compose profiles, setup-caipe, and Helm values. This PR does not migrate existing data or remove MongoDB support.Related compatibility work: #886, #1321, #1924.
Type of change
How Has This Been Tested?
bash -n setup-caipe.shbash tests/integration/test_setup_caipe_mongodb_password.sh(5 checks passed)uv run ruff check tests/test_documentdb_helm.pyuv run pytest -q tests/test_documentdb_helm.py tests/test_mongodb_strict_passwords.py(18 passed)helm lintandhelm templatefor both MongoDB and DocumentDB subchart pathsdocker compose config --quietfor both providers in production and development Compose filesThe broader
tests/test_helm_probes.pysuite currently has unrelated baseline failures in standalone caipe-ui values and existing Dynamic Agents/ontology probe expectations (3 failures, 4 errors; 50 tests passed).Checklist: