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

@@ -429,7 +429,7 @@ class TestConfigFromTitle(unittest.TestCase):
def test_a_truncated_priority_entry_aborts_instead_of_passing_through(self) -> None:
with self.assertRaises(SystemExit):
runs.untriggered_priority("web-app-a 网络应用·Funkwha...", {})
runs.untriggered_priority("web-app-a 𓏴𓏛·Funkwha...", {})
def test_the_tor_mode_is_carried_over_from_the_job_log(self) -> None:
title = render({"mode": "swarm"})
@@ -30,7 +30,7 @@ FILES = {
roles:
web:
title: Web
hanzi: 网络
glyph: 𓏴
app:
title: Applications
description: Apps for users
+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))