Workers Logs record mailbox addresses in request URLs (rule S7)

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

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript

调研方向

Start with docs/live-check.md, section 5, and the observability.enabled setting in wrangler.jsonc; review Cloudflare's current documentation for invocation_logs and head sampling. Then find the project decision or ADR process and determine whether to disable invocation logs or change mailbox API naming. Done means the decision is recorded and a live session's logs contain no mailbox address, with that result documented.

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

描述

Found in the live check on mail.cloudhal.dev (docs/live-check.md, section 5) on 2026-12-01.

Workers Logs (observability.enabled in wrangler.jsonc) records an invocation log for every request, and its message is the request's method and URL. Mail's API names a mailbox by its address in the path (/api/v1/mailboxes/<address>/…), so every request of the open app writes a mailbox's address into the account's logs. Podbay's own log module masks addresses (rule S7), but the platform writes this one itself.

Rule S7: "No body, subject or address is logged, only opaque ids."

Done when

  • The platform's current documentation says what invocation logs record and how they are turned off or kept apart from the Worker's own logs (invocation_logs, head sampling, or another setting). That is in the ledger.
  • A decision says which way Podbay goes: invocation logs off, or mail's API naming a mailbox by its opaque id instead of its address (a contract change, so an ADR first).
  • On the live instance, the logs of a session that reads and writes mail carry no address, and that is recorded.
主要语言
TypeScript
星标
1
派生
1
平均合并
9 小时 3 分钟
30 天内合并 PR
136

环境准备

从这里开始

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

cloudhal-dev/podbay 的其他 Issue

查看 cloudhal-dev/podbay 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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