Skip to content

Share Chatterbox API across Olares users#15

Merged
progress44 merged 3 commits into
masterfrom
codex/olares-shared-instance
May 21, 2026
Merged

Share Chatterbox API across Olares users#15
progress44 merged 3 commits into
masterfrom
codex/olares-shared-instance

Conversation

@progress44
Copy link
Copy Markdown
Owner

Summary

  • Convert the canonical Olares package to the v2 shared-app model.
  • Add a hidden internal shared entrance for app-to-app API calls.
  • Add a per-user OpenResty proxy entrance for normal user-space API endpoint access.
  • Split the package into shared server and user proxy subcharts.

Verification

  • git diff --check HEAD^ HEAD
  • Verified expected shared-app manifest fields and proxy/server chart files are present
  • python3 -m py_compile main.py app/*.py
  • Agent validation: Ruby YAML parse of rendered admin/member manifest and chart templates; kubectl create --dry-run=client --validate=ignore for rendered Kubernetes resources

Not tested

  • helm template/package: helm is not installed locally
  • live Olares install

Convert the canonical Olares package into the v2 shared-app shape used by current Beclab examples: an admin-installed shared server subchart plus a per-user proxy subchart that preserves a normal user endpoint. The manifest now exposes a hidden shared entrance for internal app-to-app calls and keeps a user-space API entrance for installed users.

Constraint: Follow Olares shared app pattern from local ComfyUI and Whisper examples

Rejected: Only add sharedEntrances to the existing single chart | would still deploy one GPU API instance per user instead of a shared server

Rejected: Update chart and chart-v2 lanes | README identifies olares/chatterboxapi as the canonical current package and the other lanes use different app IDs

Confidence: medium

Scope-risk: moderate

Directive: Keep the user proxy pointed at the shared server namespace unless the Olares subchart namespace convention changes

Tested: Ruby YAML parse of rendered admin/member manifest and chart templates; kubectl create --dry-run=client --validate=ignore for rendered Kubernetes resources; git diff --check

Not-tested: helm template/package because helm is not installed in this environment; live Olares install
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 463119cd92

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread olares/chatterboxapi/Chart.yaml Outdated
Merging master keeps the shared Olares app work on top of the frontend and chart version updates already landed upstream. The README conflict is resolved by preserving upstream API docs and adding Olares packaging as a separate section; chart metadata follows the current 2.30.0 release.

Constraint: PR #15 targets master after upstream version bumps through 2.30.0

Rejected: Keep branch chart version 2.2.0 | would regress package metadata behind current base

Confidence: high

Scope-risk: narrow

Directive: Keep shared-app Olares notes separate from upstream API usage examples

Tested: git diff --check origin/master; conflict-marker scan; python -m compileall -q app main.py start.py; chart metadata sanity script

Not-tested: helm lint because helm is not installed in this environment
Master advanced to the 2.31.0 release while PR #15 was being updated. This merge keeps the shared Olares app branch on the current base and carries the version bump through the app chart and manifest while preserving the shared entrance layout.

Constraint: PR #15 must merge cleanly into the current master tip

Rejected: Leave chart metadata at 2.30.0 | would immediately conflict with the current release bump

Confidence: high

Scope-risk: narrow

Directive: Future release bumps must update both the root Olares chart and manifest metadata

Tested: git diff --check origin/master; conflict-marker scan; python -m compileall -q app main.py start.py; version/shared manifest sanity script

Not-tested: helm lint because helm is not installed in this environment
@progress44 progress44 merged commit e85c3b6 into master May 21, 2026
7 checks passed
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.

1 participant