每日更新 — 2026-04-04
感谢今天所有贡献者:Ceren Camkiran、Shoaib Ansari、shoaib050326、Shriyash soni 和 vincenthus 🙏🚀
主要更新¶
- 简化每日更新工作流——移除 Slack 投递,工作流现在只生成 markdown 归档并提交到
docs/daily-updates下,同时扩大了遥测调试脱敏范围以捕获类似oauth_refresh_token的敏感键子串。 - 发布生产 Dockerfile——新的仓库根目录
Dockerfile使用 Python 3.11 slim,从pyproject.toml安装依赖,暴露运行时端口,以非 root 用户运行,并针对/ok端点添加HEALTHCHECK;在app/dockerfile_test.py中新增了全面的结构性测试。 - 接入 MCP server——在
pyproject.toml中添加opensre-mcpCLI 入口点,并在docs/SETUP.md中记录了 setup/OpenClaw 配置。 - 加固贡献者工作流——为 API 调用增加重试逻辑和显式的 HTTP/网络错误处理,移除首次提交查找中宽泛的异常吞没,并按文档将对齐方式改为最早优先(修复 #212)。
- 收紧
TracerClientBase._get类型——输入改为Mapping[str, Any],返回类型标注为JSONDict;运行时行为不变,并新增了针对 URL 构建、参数传递和空参数默认值的聚焦单元测试。 - 修复文档链接——在 README、CONTRIBUTING、SECURITY 和 Mintlify 配置文件中,将所有
opensre.com引用替换为tracer.mintlify.app,以便在上游解决自定义域名错误配置期间解除访问阻塞。 - 提升测试质量——将
MemoryKeyring._entries从类级属性移至实例属性,防止测试间状态串扰,并用身份检查和raise_for_status验证强化了client_test.py中的断言。
源 pull requests¶
- #339 fix: remove daily update Slack delivery and broaden debug redaction (author: vincenthus; contributors: vincenthus; labels: none; files:
.github/workflows/daily-update.yml,app/analytics/provider.py,app/analytics/provider_test.py,app/integrations/daily_update.py,app/integrations/daily_update_test.py,docs/daily-updates/2026-04-02.md) - #305 Add MCP CLI entrypoint for opensre_mcp (author: Ceren Camkiran; contributors: Ceren Camkiran and vincenthus; labels: none; files:
pyproject.toml) - #299 Add production Dockerfile at repo root for container deployment (author: shoaib050326; contributors: Shoaib Ansari and shoaib050326; labels: none; files:
Dockerfile,app/dockerfile_test.py) - #341 Fix spelling errors in daily updates and strengthen test assertions (author: Copilot; contributors: no human contributors recorded in merged PRs today; labels: none; files:
docs/daily-updates/2026-04-02.md,docs/daily-updates/2026-04-03.md,tests/shared/keyring_backend.py, and a remote client test) - #306 Add MCP server usage and OpenClaw configuration docs (author: Ceren Camkiran; contributors: Ceren Camkiran; labels: none; files:
docs/SETUP.md) - #310 fix(ci): harden contributors updater and align earliest-first ordering (author: Shriyash soni; contributors: Shriyash soni; labels: none; files:
.github/workflows/contributors.yml) - #312 refactor(types): tighten TracerClientBase _get typing (author: Shriyash soni; contributors: Shriyash soni; labels: none; files:
app/integrations/clients/tracer_client/tracer_client_base.py,app/integrations/clients/tracer_client/tracer_client_base_test.py) - #346 fix(docs): point docs links to working Mintlify URL (author: vincenthus; contributors: vincenthus; labels: none; files:
CONTRIBUTING.md,README.md,SECURITY.md,docs-mintlify/Sitemap Tracer.xml,docs-mintlify/docs.json,docs-mintlify/technology/product-benefits.mdx,docs-mintlify/toc-actions.js)
生成元数据¶
- 生成器版本:
opensre 0.1.0 - 使用的回退摘要:
no - UTC 时间窗口:
2026-04-03T23:00:00+00:00至2026-04-04T23:00:00+00:00
本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 op/opensre