Skip to content

English for everything GitHub renders publicly - #7

Merged
fylorn merged 1 commit into
mainfrom
dev
Sep 14, 2026
Merged

fylorn merged 1 commit into
mainfrom
dev

Conversation

@fylorn

@fylorn fylorn commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

What

Workflow names, step names and CI log output are rendered in the Actions tab and in pull request annotations on a public repository, and they were still Chinese. This switches them over, along with crates/tw-pricing/data/PROVENANCE.md, which sits next to an English README and CONTRIBUTING.

before after
ci.yml steps 格式 / 测试 / 构建 / 冒烟… Format / Test / Build / Smoke (real binary, real socket, real data plane)
pricing.yml 价目表新鲜度 Pricing freshness
pricing.yml steps 看看内置快照放了多久 / 上游有没有新版本 How old is the bundled snapshot / Does upstream have a newer revision
PROVENANCE.md Chinese English

Comments inside the sources stay Chinese. That is the existing convention throughout this codebase and it is deliberate: the line is between what GitHub renders to anyone browsing the repo and what a reader of the source sees.

The coupling to watch

pricing.yml reads the snapshot date straight out of the PROVENANCE.md table:

grep -oE 'Snapshot date \| [0-9-]+' crates/tw-pricing/data/PROVENANCE.md

so the table header and that pattern have to move together. Both greps in that workflow were run against the rewritten file; the date (2026-09-09) and the pinned SHA come back identical to before.

Worth stating because the failure mode here is quiet. That workflow only emits warnings — a pattern that stopped matching would not turn anything red, it would just silently stop telling anyone the bundled table had gone stale.

Verification

Both workflow files parse as YAML and every step name reads back in English. No non-comment Chinese remains in the three files.

🤖 Generated with Claude Code

Workflow names, step names and CI log output show up in the Actions tab
and in pull request annotations on a public repository. Those were still
Chinese; this switches them over, along with `PROVENANCE.md`, which sits
next to an English README and CONTRIBUTING.

Comments inside the sources stay Chinese. That is the existing
convention throughout this codebase and it is deliberate — the split is
between what GitHub renders to anyone browsing the repo and what a
reader of the source sees.

The one coupling worth knowing about: `pricing.yml` reads the snapshot
date straight out of the `PROVENANCE.md` table with

    grep -oE 'Snapshot date \| [0-9-]+'

so the table header and that pattern have to move together. They did,
and both greps were run against the rewritten file — the date and the
pinned SHA come back identical to before. The failure mode otherwise is
quiet: the workflow only warns, so a broken pattern would not turn
anything red, it would just stop telling anyone the table had gone
stale.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@fylorn
fylorn merged commit 1219f1b into main Sep 14, 2026
3 checks passed
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