Azure / Azure/azure-functions-durable-python

Ensure no DurableOrchestrationClient methods fail to decode mesages

未关闭
#191 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
engineering P2
主要语言
Python
星标
157
派生
70
平均合并
2 天 10 小时
30 天内合并 PR
2

描述

When using aiohttp, the library will, by default, validate that the encoding of a server message matches its format but, with Azure Functions and many other services, the message encoding metadata is often not up to data. This mismatch yields a `mimetype encoding` runtime exception that we've already had to fix in multiple places.

We should create a robust tester to ensure these kinds of error no longer take place in our codebase.

贡献指南

打开贡献指南

调研方向

从 DurableOrchestrationClient 的方法及其 aiohttp 响应处理入手,然后检查现有测试套件对消息解码的覆盖情况。重现 mimetype-encoding 故障,并添加覆盖测试,表明每个相关方法都能处理不匹配的服务器编码元数据,而不会引发运行时异常。

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

评估

技术栈
azure, python
领域
backend, testing
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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