Skip to content

fix(workflow): snapshot nested definition data - #344

Merged
yuluo-yx merged 1 commit into
agentic-ai-java:mainfrom
alei-jia:codex/test-272-workflow-immutability
Nov 1, 2026
Merged

yuluo-yx merged 1 commit into
agentic-ai-java:mainfrom
alei-jia:codex/test-272-workflow-immutability

Conversation

@alei-jia

@alei-jia alei-jia commented Nov 1, 2026

Copy link
Copy Markdown

I acknowledge this contribution to ARGI; capture deeply immutable Literal and metadata snapshots so caller and accessor mutations cannot change published workflow versions or running arguments; preserve supported scalar types, nested nulls and shared references, explicitly reject unsupported objects, invalid keys, cycles and nesting beyond 128 collection levels, and document RC2 compatibility and conversion guidance without changing public signatures or JSON DSL structure; add 23 offline regression cases covering nested data, JSON, metadata, version conflicts, running mutations and snapshot boundaries; Workflow Core: 26 tests passed, with upstream API and runtime-contract modules also passing; Fixes #272.

@yuluo-yx yuluo-yx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@yuluo-yx
yuluo-yx merged commit 7383546 into agentic-ai-java:main Nov 1, 2026
7 checks passed
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.

[BUG][P2] Workflow 已发布定义应隔离 Literal 与嵌套数据的可变引用

2 participants