infiniflow / infiniflow/infinity

[Feature Request]: infinity-embedded-sdk shall not exit

Open
#1,846 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
C++
Stars
4.7k
Forks
445
Avg merge
2d 2h
Merged PRs (30d)
7

Description

Is there an existing issue for the same feature request?
  • I have checked the existing issues.
Is your feature request related to a problem?

No response

Describe the feature you'd like

LocalInit() exit the process if config version mismatch.
This is unfriendly for infinity-embedded-sdk user.
It's better that the wrapper function returns an integer or catch and convert C++ exceptions to Python exceptions.

Describe implementation you've considered

No response

Documentation, adoption, use case

No response

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/main/infinity_context.cpp and trace LocalInit, then review the linked nanobind exception-conversion guidance for the embedded Python wrapper. Define and implement behavior that avoids exiting the process on a configuration-version mismatch, using either a returned integer or a converted Python exception, and verify the wrapper reports the error to its caller.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.