fix: align sdk task-store and stream artifact flows#443
Merged
liujuanjuan1984 merged 6 commits intomainfrom May 2, 2026
Merged
fix: align sdk task-store and stream artifact flows#443liujuanjuan1984 merged 6 commits intomainfrom
liujuanjuan1984 merged 6 commits intomainfrom
Conversation
Collaborator
Author
|
补充说明:本轮已移除 SDK-owned |
Collaborator
Author
|
补充说明:本轮已收掉 task store 对伪 |
Collaborator
Author
|
本轮基于当前分支对 PR #443 做了独立审查,结论如下。 审查结论未发现阻塞性问题。当前变更能够较稳健地覆盖 主要判断1.
|
Collaborator
Author
|
本轮独立审查结论:未发现新的阻塞性问题,当前实现比之前的临时方案更贴近 重点判断:
当前剩余的非阻塞风险没有变化,仍是 #446:terminal-state 原子保护对 |
Collaborator
Author
|
补充本轮收尾审查结论:
|
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.
概览
本 PR 收敛两类边界:
a2a-sdktask store / SDK-owned schema 的使用边界模块说明
服务与持久化
src/opencode_a2a/server/rest_tasks.py/v1/tasks改为优先下推到task_store.list(),不再先全量拉取再在进程内分页。src/opencode_a2a/server/application.pysrc/opencode_a2a/server/context_helpers.pyServerCallContext规范化逻辑,补齐伪 context 的user兼容。src/opencode_a2a/server/task_store.pytasks表改为 fail-fast schema 校验后再委托 SDK initialize。src/opencode_a2a/server/migrations.pytasks表。流式输出
src/opencode_a2a/execution/stream_state.pysrc/opencode_a2a/execution/stream_runtime.pysrc/opencode_a2a/execution/coordinator.pyappend=false、lastChunk=true)。src/opencode_a2a/output_modes.pysrc/opencode_a2a/cli.py文档与测试
docs/guide.mdtests/execution/*、tests/server/*验证
bash ./scripts/doctor.shuv run python ./scripts/find_thin_wrappers.py --thin-only src/opencode_a2a关联 Issue
Closes #441
Closes #442
Closes #447
Closes #448
Refs #445
Refs #446