SDK support for activity reset
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- api, testing-qa
调研方向
先阅读 Ruby、TypeScript、Python、PHP、Go、.NET 和 Java 的相关 SDK issue,然后审查本仓库的行为以及历史兼容性测试背景。完成标准是,所列 SDK 能够与暂停和取消一致地支持活动重置,包括心跳重置和异常处理行为。
由索引模型根据 Issue 内容生成。
描述
When a user resets an activity the activity should be restarted.
- They may have passed
--reset-heartbeatsin which case heartbeat details should be cleared - If they didn't pass it, they may nonetheless want the code to start from the beginning of the method (perhaps they've deployed a code fix which improves efficiency or fixes a memory leak, or have non-deterministic code that has randomly gotten into a bad state.)
The server will inform the SDK that heartbeats were reset so that it can throw an error in the user's Activity.
Requirements:
-
Users shouldn't have to predict that resets will happen when writing their activity code
-
Code should by default do the right thing and exit and restart, provided they haven't written an exception handler.
-
Should work as much like pause and cancel as possible for consistency.
-
Users should be able to write a simple exception handler that cleans up after any interruption, including cancellation, pausing, and reset.
-
Users should also be able to differentiate. For example, after cancel, cleanup would be permanent, but after pause/reset, it would be temporary, which may mean the user would want to take different actions.
-
TypeScript https://github.com/temporalio/sdk-typescript/issues/1693
- 主要语言
- Go
- 星标
- 32
- 派生
- 28
- 平均合并
- 1 天 14 小时
- 30 天内合并 PR
- 6
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
temporalio/features 的其他 Issue
-
enhancement
难度 4/5 3-5 天 新手友好度 45/100
temporalio/features#905 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Add Rust SDK support可能重新可做 @chris-olszewski 于 50 天前认领,目前没有进行中的 PR。 未关闭enhancement
temporalio/features#864 · 已指派 1 人 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 30/100
temporalio/features#854 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 30/100
temporalio/features#850 · 3 条评论 ·
维护者通常 1 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
temporalio/features#845 ·
维护者通常 1 天内回复
查看 temporalio/features 的全部 Issue
相似的 Issue
-
agent-butler-finding chore
难度 1/5 1 小时以内 新手友好度 88/100
jordansmall/spindrift#4146 ·
维护者通常 1 天内回复
-
security
难度 2/5 1-3 小时 新手友好度 68/100
IBM/ibmcloud-volume-file-vpc#119 ·
-
security
难度 2/5 1-3 小时 新手友好度 66/100
IBM/networking-go-sdk#339 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
kubernetes-sigs/mcp-lifecycle-operator#439 ·
维护者通常 1 天内回复
-
area: global bug dx priority: low
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复