Repository navigation
Conversation
- 新增 ScriptReferenceProvider 端口与 KeyModeProvider / InlineModeProvider 两套实现
- 应用构建/初始化时通过 configureScriptReference({mode}) 或 ScriptReferenceScope 注入,默认 key 模式零迁移
- GroovyScriptLoader 与脚本编译入口改走 Provider,组件不再直接耦合后端脚本存储接口
- 新增 provider 契约测试 3 例,补充 docs/integration/script-reference.md 与 changeset
- 验证:pnpm run test:flow-design 16 文件 52 用例通过,pnpm run build:flow-design 通过
Refs codingapi/flow-engine#316
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.
背景
配套 codingapi/flow-engine#316:后端把脚本执行能力下放到 infra 后,前端设计器不再直接耦合后端脚本存储接口,改为构建/初始化时注入脚本引用 Provider。
改动
ScriptReferenceProvider端口与KeyModeProvider/InlineModeProvider两套实现(resolve / persist / compile / metadata)configureScriptReference({mode})或ScriptReferenceScope在应用构建时注入,默认 key 模式零迁移;取消后端 mode 探测GroovyScriptLoader与脚本编译入口改走 Provider,scriptKey属性名保留兼容docs/integration/script-reference.md与 changeset验证
pnpm run test:flow-design:16 文件 / 52 用例通过pnpm run build:flow-design通过说明
仅推送特性分支,不合并 dev,是否合并由人工决定。后端配套:codingapi/flow-engine#319。
关联:codingapi/flow-engine#316