You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(roadmap): label colors are the token values of the design files #4786
Each member of LabelColor names its design token only in a comment. The token files of feat(design): add the design tokens and their build #4738 (src/devops_cli/design/tokens-light.json and tokens-base.json) are not on main yet, so no test holds LabelColor to the token values.
When a token value changes, the label colors stay on the old value, and no test fails. The design spec plan of feat(design): track the project design spec #4735 asks for a test that every label color is a token hex value.
Proposed Solution & Architectural Design
Give each LabelColor member its token name in code, not in a comment (for example a mapping from the member to the token name).
A test reads the token JSON files of src/devops_cli/design/ and asserts that each LabelColor value is the value of its token.
Style Dictionary builds the token files (#4738). The test reads its JSON output with the standard library. Cost: about 15 lines and 1 test, about 40,000 tokens and 30 minutes.
Acceptance Criteria
A test fails when a LabelColor value is not the hex value of the token that the member names in the token files of src/devops_cli/design/.
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
testprefix of the title gives the type.(roadmap)scope of the title gives the scope.It prevents silent drift between label colors and design tokens, but no active defect is reported.It stops label colors from silently diverging from the design spec after a token change.The body states about 15 lines, 1 test, and 30 minutes of work.Both consume design tokens from the spec of #4735, but #4745 builds the docs site theme while this candidate adds a test for roadmap label colors.devops-cli-service commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
(roadmap)scope of the title gives the scope.The test guards label colors, but no user sees a defect now and #4738 is not on main.The test stops label colors from going stale when a design token value changes.The change is about 15 lines and one test.Both items apply the design tokens of #4735, but this item adds a test and 4745 restyles the docs site.