Skip to content

feat(qihe): add qihe options config detection#226

Open
edragain2nd wants to merge 2 commits into
pascal-lab:masterfrom
edragain2nd:qihe-options
Open

feat(qihe): add qihe options config detection#226
edragain2nd wants to merge 2 commits into
pascal-lab:masterfrom
edragain2nd:qihe-options

Conversation

@edragain2nd
Copy link
Copy Markdown

implement parts of #205

  1. can automatically add --options ./qihe-options.toml to the run command
  2. not implemented yet
  3. can specify storage.root in qihe-options.toml now

@hongjr03 hongjr03 self-assigned this Jun 4, 2026
Comment thread src/global_state/qihe.rs
) {
command.args(&qihe_config.run_args);
if run_paths.use_options_file {
command.args(["--options", QIHE_OPTIONS_RUN_PATH]);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could we define how auto-detected qihe-options.toml should interact with explicit vide.qihe.runArgs here, since runArgs can already contain --options or override storage.root via -c?

Copy link
Copy Markdown
Member

@hongjr03 hongjr03 left a comment

Choose a reason for hiding this comment

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

Thanks so much for the PR! This impl looks good to me overall. I left one comment about a case we should consider before merging.

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.

2 participants