Skip to content

feat(oocana): add --remote-block-url and --remote-block-timeout CLI args#426

Merged
leavesster merged 1 commit intomainfrom
feat/remote-block-cli-args
Feb 28, 2026
Merged

feat(oocana): add --remote-block-url and --remote-block-timeout CLI args#426
leavesster merged 1 commit intomainfrom
feat/remote-block-cli-args

Conversation

@leavesster
Copy link
Contributor

Support remote block execution config introduced in oocana-rust v0.30.36.

Support remote block execution config introduced in oocana-rust v0.30.36.
Copilot AI review requested due to automatic review settings February 28, 2026 05:46
@coderabbitai
Copy link

coderabbitai bot commented Feb 28, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9374858 and 3318c14.

📒 Files selected for processing (1)
  • packages/oocana/src/oocana.ts

Summary by CodeRabbit

  • 新功能
    • 新增远程区块地址和超时时间两个配置选项。这两个选项可在流程和区块级别配置中使用,并可覆盖相应的环境变量设置,为用户提供更灵活的配置管理方式。

走读

该拉取请求向 RunConfig 添加了两个可选字段(remoteBlockUrl 和 remoteBlockTimeout),用于覆盖对应的环境变量。buildRunConfigArgs 函数已更新,以将这些字段转发为 CLI 参数。这些字段通过 RunConfig 的组成自动可用于 RunFlowConfig 和 RunBlockConfig。

变更

内聚组 / 文件 摘要
RunConfig 配置扩展
packages/oocana/src/oocana.ts
添加 remoteBlockUrl 和 remoteBlockTimeout 可选属性到 RunConfig;更新 buildRunConfigArgs 以将这些字段转发为 --remote-block-url 和 --remote-block-timeout CLI 参数;自动通过 RunFlowConfig 和 RunBlockConfig 的组成暴露这些字段。

预计代码审查工作量

🎯 2 (Simple) | ⏱️ ~8 分钟

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed 标题采用了指定的格式 (): ,类型为 feat,作用域为 oocana,主题清晰地描述了添加两个新的 CLI 参数,与代码变更完全对应。
Description check ✅ Passed 描述清晰关联了代码变更,说明了添加这两个 CLI 参数的目的是支持 oocana-rust v0.30.36 中引入的远程块执行配置。

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds support in the Node binding for configuring remote block execution, matching the new configuration supported by oocana-rust v0.30.36.

Changes:

  • Extends RunConfig with remoteBlockUrl and remoteBlockTimeout options.
  • Plumbs the new options through buildRunConfigArgs() to emit --remote-block-url and --remote-block-timeout CLI flags.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@leavesster leavesster merged commit ad1d03a into main Feb 28, 2026
14 checks passed
@leavesster leavesster deleted the feat/remote-block-cli-args branch February 28, 2026 06:09
@oomol-bot oomol-bot mentioned this pull request Feb 28, 2026
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