Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Re-Open issue: "DurableTaskClient.PurgeAllInstancesAsync causing a lot of warnings: 404 The specified container does not exist." https://github.com/microsoft/durabletask-dotnet/issues/475

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

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
42/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
azure, csharp
领域
backend, cloud

调研方向

从提供的 PurgeAllInstancesAsync 复现开始,检查与客户端关联的 Azure Function 存储帐户。确定哪个 blob 容器请求返回 ContainerNotFound,然后判断该容器是否应该存在,以及该警告是预期行为还是表明存在框架问题。

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

描述

Not sure how to re-open an issue from durabletask-dotnet, but @YunchuWang told me to re-open issue https://github.com/microsoft/durabletask-dotnet/issues/475 here, if there is still a problem. So, because there is still a problem/question I re-open the issue here.

When running the code below I get a lot of warnings.

Code:

public async Task PurgeAllInstances(DurableTaskClient client, DateTime fromDate, DateTime toDate, IEnumerable<OrchestrationRuntimeStatus> runtimeStatus)
  {  
      PurgeInstancesFilter filter = new PurgeInstancesFilter(fromDate, toDate, runtimeStatus);
      PurgeInstanceOptions purgeInstanceOptions = new PurgeInstanceOptions();
      PurgeResult purgeResult = await client.PurgeAllInstancesAsync(filter, purgeInstanceOptions, CancellationToken.None).ConfigureAwait(false);
  
  }

Warning:

Severity level: Warning, Message: Error response [9c10a80f-58e6-4378-bcb8-035c7b056089] 404 The specified container does not exist. (00.0s)
Server:Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
x-ms-request-id:b37ab98c-b01e-0009-1e8e-36c22c000000
x-ms-client-request-id:9c10a80f-58e6-4378-bcb8-035c7b056089
x-ms-version:2025-05-05
x-ms-error-code:ContainerNotFound
Date:Mon, 06 Oct 2025 06:59:59 GMT
Content-Length:225
Content-Type:application/xml

@YunchuWang ask me: "can you check in your azure function storage account if any blob containers is missing?". I can, I have no glue for which containers to look. So please let me know what containers should/shouldn't exist.

主要语言
C#
星标
1.7k
派生
338
平均合并
4 天 13 小时
30 天内合并 PR
10

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

Azure/durabletask 的其他 Issue

查看 Azure/durabletask 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

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