Skip to content

refactor(client): remove Python embedded mode - #3712

Merged
qin-ctx merged 2 commits into
mainfrom
refactor/remove-python-embedded-client
Aug 10, 2026
Merged

qin-ctx merged 2 commits into
mainfrom
refactor/remove-python-embedded-client

Conversation

@qin-ctx

@qin-ctx qin-ctx commented Aug 3, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Remove the public in-process Python embedded mode and consolidate Python consumers on the supported HTTP SDK. The shared HTTP Server, Service layer, storage backends, and VectorDB capabilities remain unchanged.

Human Involvement

  • A human participated in the implementation or review loop
  • This PR was generated entirely by AI agents without human participation in the loop

Related Issue

N/A

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update

Changes Made

  • Remove AsyncOpenViking, SyncOpenViking/OpenViking, LocalClient, and their embedded-only session and snapshot wrappers.
  • Remove in-process Service startup registration and lightweight storage fallbacks that existed only for embedded clients.
  • Migrate examples, benchmarks, RAGAS, FUSE, and LangChain integration paths to the Python HTTP SDK or the shared Service layer where tests target domain behavior.
  • Remove embedded-only tests and documentation while preserving HTTP Server, Service, storage, and VectorDB functionality.

Testing

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested this on the following platforms:
    • Linux
    • macOS
    • Windows

Checklist

  • My code follows the project's coding style
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

Screenshots (if applicable)

N/A

Additional Notes

No tests were added; embedded-only tests were deleted and shared Service contract tests were updated. Focused validation completed with 121 tests passing and 12 optional-dependency skips.

@qin-ctx
qin-ctx force-pushed the refactor/remove-python-embedded-client branch from 58478d1 to d0733a5 Compare August 6, 2026 08:55
Consolidate Python consumers on the HTTP SDK while keeping shared server and storage capabilities unchanged.
@qin-ctx
qin-ctx force-pushed the refactor/remove-python-embedded-client branch from d0733a5 to 8d538d4 Compare August 10, 2026 07:40
@qin-ctx
qin-ctx marked this pull request as ready for review August 10, 2026 08:22
@qin-ctx
qin-ctx marked this pull request as draft August 10, 2026 08:49
@qin-ctx
qin-ctx marked this pull request as ready for review August 10, 2026 08:50
@qin-ctx
qin-ctx merged commit 7abd6ab into main Aug 10, 2026
7 of 9 checks passed
@qin-ctx
qin-ctx deleted the refactor/remove-python-embedded-client branch August 10, 2026 10:00
@github-project-automation github-project-automation Bot moved this from Backlog to Done in OpenViking project Aug 10, 2026
frankyang2008-eng added a commit to frankyang2008-eng/OpenViking that referenced this pull request Oct 9, 2026
Sync upstream main (e546b79) - 19 commits, 315 files:

- refactor(client): remove Python embedded mode (volcengine#3712)
- perf(queue): stream semantic vectorization tasks (volcengine#3636)
- perf(queuefs): defer embedding content materialization (volcengine#3871)
- feat(memory): support event tag filtering (volcengine#3850)
- feat(pathlock): keep lease alive across handoff (volcengine#3903)
- feat(server): refresh read-replica API key index via store watcher (volcengine#3857)
- feat(agent-evolution): add trajectory date filters (volcengine#3915)
- feat(agent-evolution): add trajectory task query (volcengine#3856)
- feat(web-studio): add account deletion workflow (volcengine#3912)
- feat(web-studio): add scheduled resource sync management (volcengine#3909)
- fix(watch): avoid global lock during resource moves (volcengine#3833)
- fix(observer): ignore historical lock diagnostics in health (volcengine#3920)
- fix(session): validate archive names when loading history (volcengine#3922)
- fix(task-tracker): delete expired persisted tasks (volcengine#3913)
- fix(storage): exclude zero-byte files from index expectations (volcengine#3904)
- fix(semantic): reduce entity hallucinations in summaries (volcengine#3908)
- fix(retrieval): record first-turn session recalls (volcengine#3907)
- fix(opencode-plugin): serialize saveState to prevent ENOENT race (volcengine#3885)
- fix(examples): align quick start with server mode (volcengine#3923)

Reviewed: zero conflicts, all local dev-branch modifications preserved,
no references to deleted embedded client modules, config backward-compatible.
frankyang2008-eng pushed a commit to frankyang2008-eng/OpenViking that referenced this pull request Oct 9, 2026
* refactor(client): remove Python embedded mode

Consolidate Python consumers on the HTTP SDK while keeping shared server and storage capabilities unchanged.

* refactor(client): remove obsolete embedded leftovers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants