microsoft / microsoft/durabletask-java

Improve isRunning() implementation for OrchestrationMetadata

未关闭
#204 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

P2
主要语言
Java
星标
29
派生
18
平均合并
1 天 10 小时
30 天内合并 PR
2

描述

Currently, isRunning() relies on the name, instanceId, and runtimeStatus parsed from the OrchestrationState returned over gRPC to determine whether the orchestration is running, however, there is also an Exists field on OrchestrationState that should also be considered, as runtimeStatus is populated from an enum with a default value.

This may also affect the implementation of isCompleted() and/or isInstanceFound()

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

定位 OrchestrationMetadata 及其 isRunning()、isCompleted() 和 isInstanceFound() 入口点,然后跟踪 OrchestrationState 如何通过 gRPC 接收。检查当前如何处理 Exists 字段和默认 runtimeStatus,并添加或更新测试,使受影响的方法能够正确区分存在的 orchestration 和不存在的 orchestration。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
distributed-systems
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。