Repository navigation
fix(docker,mcp): install Unicode/CJK fallback fonts and deduplicate omitted line marker - #1298
Merged
Merged
Conversation
…mitted line marker
kyasbal
requested review from
K53,
RyuSA,
jyane,
kkuchima and
renamoo
as code owners
November 27, 2026 01:48
Contributor
There was a problem hiding this comment.
Code Review
This pull request removes the vertical ellipsis character (⋮) from the text representation of omitted lines in slice diffs, logs, and manifests, and updates all corresponding test assertions. Additionally, it adds the fonts-dejavu-core and fonts-noto-cjk packages to both the main and builder Dockerfiles. There are no review comments, and I have no feedback to provide.
Go Quality Report (
|
| Metric | Result |
|---|---|
| Changed Scope | 2 prod file(s), 6 test file(s), 2 unit(s) |
| Patch Coverage | 100.0% (2/2 lines) |
| Mutation Score | 100.0% (0/0 killed, 0 survived) |
Commit: ea82c1e4a2d8 · Cloud Build Logs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes two visual defects in headless Chromium
render_timelinesPNGs produced by thedefaultDocker image (targeted forv0.62.1):defaultand CI builder images:fonts-dejavu-coreandfonts-noto-cjktoDockerfile(defaultstage only;slimhasKHI_MCP_DISABLE_RENDERER=trueand needs no server-side fonts) andscripts/builder/Dockerfile(for CI/VRT Chromium parity).□) glyphs in container-rendered PNGs for Kubernetes Event summary brackets (【OOMKilling】,【BackOff】), Evidence Deck fold indicators (⋮), arrows (→), and CJK text in logs or annotations.⋮prefix on Evidence Deck omitted-line bands:"⋮ "prefix frommakeLogOmittedLine(pkg/server/mcp/scene/slice_log.go) andmakeDiffOmittedLine(pkg/server/mcp/scene/slice_diff.go), sincetimeline-evidence-deck.component.htmlalready prepends⋮(⋮) and all frontend specs/stories expect plain"N lines omitted"text.pkg/server/mcp/sceneunit test expectations accordingly.Verification
make pre-commit(add-licenses,golangci-lint,qa-fast-must): PASS (0 issues,0 mustfix, 0 advisory, 0 skipped).make pre-push(qa-all-mustincluding cross-OSbuild-go-binaries,deadcode, AST, differential coverage, and unlimited mutation testing): PASS (0 mustfix, 0 advisory, 0 skipped).go test ./pkg/server/mcp/...: PASS.defaultimage locally and verifiedrender_timelinesannotated scene + Evidence Deck PNG inside the container: confirmed【OOMKilling】,【BackOff】, CJK text,→, and single⋮ N lines omittedbands render crisply without tofu or duplicate symbols.