Skip to content

ci(e2e): install a CJK font on the e2e runners - #15259

Merged
nwparker merged 1 commit into
mainfrom
nwparker/e2e-cjk-fonts
Aug 18, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/e2e-cjk-fonts

Conversation

@nwparker

@nwparker nwparker commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 0 0 0 0
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​3 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3 0

The e2e runners have no font covering Hangul, Han or Kana, so any spec asserting how CJK text renders is measuring tofu rather than the glyph.

This is not hypothetical

An end-of-row preedit spec added for #12729 came back with:

overlay 8.59px over an 8.43px cell = 1.02 cells, covering columns [10,10]
Expected: > 1.5

The composition overlay is shrink-to-fit with no width of its own — it sets left, top, height, fontFamily, fontSize and maxWidth, so its width tracks the glyph's natural advance rather than the two cells the grid reserves for a wide character. With no Korean font that advance is one cell.

So the assertion could not distinguish "the overlay really is one cell" from "there is no font" — which is precisely the question that spec exists to answer, and the reason #12729's diagnosis is still not settled.

The change

fonts-noto-cjk covers all three scripts, added to both jobs that execute specs — the sharded suite and the changed-spec job — plus the ssh-docker lane so the three stay consistent.

What this does and does not do

Does not make any spec pass on its own. It makes the CJK ones mean something.

It also unblocks a question on a live report: a Windows user seeing doubled Korean is running a font with no Hangul glyphs, and font fallback at the wide-character boundary is a live hypothesis there. Right now we cannot test that hypothesis in CI at all.

Verification

e2e.yml parses; the three install steps are the only lines changed.

@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 67f20e60-39b7-4ff5-b779-685e4cfdc915

📥 Commits

Reviewing files that changed from the base of the PR and between 7a695c7 and f624e1b.

📒 Files selected for processing (1)
  • .github/workflows/e2e.yml

Included review availability: Your plan includes up to 10 reviews per rolling hour; 1 remains after this review.


📝 Walkthrough

Walkthrough

Added fonts-noto-cjk to the native or headless tool installation steps for the E2E shard, changed-spec, and SSH watcher-isolation jobs. No other workflow behavior changed.

Merge Risk: ⚪ Minimal · up to f624e

This localized CI change adds CJK font coverage to the relevant end-to-end jobs; no actionable merge-blocking risk remains after normal checks and review.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the change and rationale, but it omits most required template sections, including Linked Issue, Visual Proof, checklist, and AI Disclosure. Use the required headings, add a linked issue, mark Visual Proof as N/A with a reason, complete Testing and checklist items, and address other required sections.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: installing a CJK font on E2E runners.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

The runners have no font covering Hangul, Han or Kana, so any spec that
asserts how CJK text renders is measuring tofu rather than the glyph.

That is not hypothetical. An end-of-row preedit spec added for #12729
measured the composition overlay at 1.02 cells against an 8.43px grid
and failed its "wider than one cell" assertion. The overlay is
shrink-to-fit with no width of its own, so it tracks the glyph's advance
rather than the two cells the grid reserves for a wide character. With
no Korean font that advance is one cell, and the assertion cannot
distinguish a real result from a missing font - which is exactly the
question that spec exists to answer.

fonts-noto-cjk covers all three scripts and is added to both jobs that
execute specs, the sharded suite and the changed-spec job, plus the ssh
docker lane so the three stay consistent.

This does not make any spec pass on its own. It makes the CJK ones
mean something.
@nwparker
nwparker force-pushed the nwparker/e2e-cjk-fonts branch from f624e1b to 1fa53c8 Compare August 18, 2026 09:09
@nwparker
nwparker merged commit 442b46f into main Aug 18, 2026
46 checks passed
paidaxingyo666 pushed a commit to paidaxingyo666/Manta that referenced this pull request Aug 21, 2026
The runners have no font covering Hangul, Han or Kana, so any spec that
asserts how CJK text renders is measuring tofu rather than the glyph.

That is not hypothetical. An end-of-row preedit spec added for stablyai#12729
measured the composition overlay at 1.02 cells against an 8.43px grid
and failed its "wider than one cell" assertion. The overlay is
shrink-to-fit with no width of its own, so it tracks the glyph's advance
rather than the two cells the grid reserves for a wide character. With
no Korean font that advance is one cell, and the assertion cannot
distinguish a real result from a missing font - which is exactly the
question that spec exists to answer.

fonts-noto-cjk covers all three scripts and is added to both jobs that
execute specs, the sharded suite and the changed-spec job, plus the ssh
docker lane so the three stay consistent.

This does not make any spec pass on its own. It makes the CJK ones
mean something.
dallascrilley pushed a commit to dallascrilley/orca that referenced this pull request Aug 27, 2026
The runners have no font covering Hangul, Han or Kana, so any spec that
asserts how CJK text renders is measuring tofu rather than the glyph.

That is not hypothetical. An end-of-row preedit spec added for stablyai#12729
measured the composition overlay at 1.02 cells against an 8.43px grid
and failed its "wider than one cell" assertion. The overlay is
shrink-to-fit with no width of its own, so it tracks the glyph's advance
rather than the two cells the grid reserves for a wide character. With
no Korean font that advance is one cell, and the assertion cannot
distinguish a real result from a missing font - which is exactly the
question that spec exists to answer.

fonts-noto-cjk covers all three scripts and is added to both jobs that
execute specs, the sharded suite and the changed-spec job, plus the ssh
docker lane so the three stay consistent.

This does not make any spec pass on its own. It makes the CJK ones
mean something.
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
The runners have no font covering Hangul, Han or Kana, so any spec that
asserts how CJK text renders is measuring tofu rather than the glyph.

That is not hypothetical. An end-of-row preedit spec added for stablyai#12729
measured the composition overlay at 1.02 cells against an 8.43px grid
and failed its "wider than one cell" assertion. The overlay is
shrink-to-fit with no width of its own, so it tracks the glyph's advance
rather than the two cells the grid reserves for a wide character. With
no Korean font that advance is one cell, and the assertion cannot
distinguish a real result from a missing font - which is exactly the
question that spec exists to answer.

fonts-noto-cjk covers all three scripts and is added to both jobs that
execute specs, the sharded suite and the changed-spec job, plus the ssh
docker lane so the three stay consistent.

This does not make any spec pass on its own. It makes the CJK ones
mean something.
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