Conversation
Signed-off-by: bbdu3 <ergouyang854@gmail.com>
Signed-off-by: bbdu3 <ergouyang854@gmail.com>
1 task
This was referenced Sep 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
目的和内容
提供独立的 AstronRPA Community Node,使自托管 n8n 能够通过 HTTPS MCP 读取已发布工作流、发起执行、等待结果、查询状态和请求取消。
本次建立节点接入所需的公共执行框架,统一工作流准入、幂等恢复、持久等待和错误处理。对于响应丢失、服务重启和工作流重新发布等情况,保持已受理执行的身份,避免因调用方重试产生重复业务执行。
验证范围为单实例自托管 n8n、单个持有客户端连接的 OpenAPI 实例,以及与仓库源码一致的 Windows 客户端。工作流声明采用
supportScope: controlled-validation。🎯 变更类型 | Change Type
变更内容
1. 新增独立 Community Node 包
在
integrations/n8n/n8n-nodes-astron-rpa/中提供节点、凭据类型、构建配置、依赖锁文件、测试及示例工作流。支持以下操作:
节点业务操作统一使用 MCP。凭据包含 HTTPS MCP 地址、API Key 和协议版本;连接测试仅进行发现及只读检查。
2. 实现幂等执行与持久等待
executeWorkflow和putExecutionToWait接口编排子执行及等待检查点。3. 增加服务端声明与统一准入
新增管理员维护的
INTEGRATION_POLICY_FILE配置及声明校验。声明包含工作流版本、输入 Schema 摘要、能力分类、文件输入输出、GUI/人工交互要求、环境、业务副作用、风险和执行类型等信息。完整声明摘要作为公开 revision,声明内容变化会使已准备的新请求失效。
在纳入管理的用户范围内,固定 MCP、动态 MCP 和 REST 共用准入检查,拒绝未知、不完整、失效或未批准的声明,以及不支持的文件传输请求。
同时新增只读工具
astron_integration_get,提供契约版本、操作列表和客户端就绪状态。4. 修复已受理执行的管理行为
普通重新发布工作流后,原执行仍可查询、同键恢复和请求取消。
执行管理继续检查执行所有权、当前工作流所有权、外部访问状态及 API Key。工作流删除、外部访问停用或权限撤销仍会拒绝访问;新请求仍需满足当前版本和准入要求。
5. 完善错误处理与敏感信息保护
resultVisibility,明确秘密输入导致结果被抑制的情况。6. 补充并统一文档
提供节点使用说明、示例工作流、验收记录和结构化验证证据。
同步修正服务端文档中的工具列表、准入说明和重新发布后的执行权限描述,清理阶段编号、过程性叙述及与当前实现不符的字段说明。
本次代码变更集中于 OpenAPI 服务和独立节点包,客户端、Engine、Java 服务及数据库结构保持不变。
测试
自动化测试覆盖
实际联调覆盖
已在真实 n8n、HTTPS MCP、OpenAPI 服务和 Windows 客户端链路验证:
unknown / CLIENT_RESTARTED状态,不自动重跑。测试结果
未完成的验证
全仓
make check未通过。。frontend/缺少根tsconfig.json,npx tsc --noEmit` 输出帮助后失败;停止点之后的聚合检查未执行。