refactor(meta): label categories with one hieroglyph

A deploy job name repeats the category path on every row of the matrix. One Egyptian hieroglyph costs four UTF-8 bytes where the two Chinese characters it replaces cost six. Unicode names each sign by its Gardiner code, so the opaque value stays identifiable without a comment per entry.

A label has to stay one codepoint: a sign written with a variation selector costs seven bytes and is worse than what it replaced. tests/integration/meta/categories/test_glyph.py enforces that.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kevinveenbirkenbachandClaude Opus 5 committed 2026-10-20 23:17:19 +02:00
1 parent c64c0628ae
commit fbd4b3a18d
12 files changed
+83 -70

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ class TestCoreMessages(unittest.TestCase):
roles:
web:
title: Web
hanzi: 网络
glyph: 𓏴
app:
title: Applications
description: Apps for users
@@ -28,9 +28,7 @@ class TestRoleDisplayName(unittest.TestCase):
),
self.codec.encode(long_heading),
)
self.assertEqual(
"系统控制告警·compose", self.codec.encode("sys-ctl-alm-compose")
)
self.assertEqual("𓉐𓌀𓌉·compose", self.codec.encode("sys-ctl-alm-compose"))
def test_the_id_section_drops_what_the_categories_already_say(self):
self.assertEqual("nextcloud", self.codec.id_fragment(APP))