Skip to content

refactor: prune thin helpers and streamline CLI help#487

Merged
liujuanjuan1984 merged 9 commits into
mainfrom
chore/dead-code-hygiene-audit
May 13, 2026
Merged

refactor: prune thin helpers and streamline CLI help#487
liujuanjuan1984 merged 9 commits into
mainfrom
chore/dead-code-hygiene-audit

Conversation

@liujuanjuan1984
Copy link
Copy Markdown
Collaborator

@liujuanjuan1984 liujuanjuan1984 commented May 12, 2026

概要

  • 清理一批高确信私有薄壳 / 纯转发 helper,收缩 context_helpersapplicationinterrupt_queriesa2a_utils 等内部噪音
  • 补齐 context_helpersa2a_utilsoutput_modes、上游错误映射与 CLI 帮助输出相关测试,提升低覆盖复杂模块的验证信心
  • 将 CLI 文本 logo 调整为 ANSI Shadow 风格,并把 serve 相关环境变量、启动说明与示例收拢到 serve --help
  • 升级 uv.lock 中的 urllib32.7.0,修复 runtime dependency audit 阻塞

审查结论

  • 本 PR 最终 diff 与目标基本一致:薄壳清理集中在高确信、低抽象收益的私有 helper,没有扩大 public surface 变更面
  • normalize_server_call_context 的兼容路径、output_modes 的过滤/降级路径、CLI 根 help 与 serve --help 的分层均有新增测试覆盖
  • 当前未发现需要阻塞合并的功能性问题;剩余主要风险是 ANSI Shadow logo 行宽较大,在窄终端中仍可能发生软换行,但这与本次显示目标一致

验证

  • bash ./scripts/doctor.sh

关联

说明

  • 本次未新建 tracking issue,主要承接上述历史工程卫生、兼容性与测试收敛问题

@liujuanjuan1984 liujuanjuan1984 changed the title refactor: 清理私有薄壳并更新 CLI 文本 icon refactor: prune thin helpers and streamline CLI help May 12, 2026
@liujuanjuan1984 liujuanjuan1984 merged commit 38c1e32 into main May 13, 2026
3 checks passed
@liujuanjuan1984 liujuanjuan1984 deleted the chore/dead-code-hygiene-audit branch May 13, 2026 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant