Skip to content

fix: quote dogfooding label color to prevent YAML sci-notation parse#98

Merged
jafreck merged 1 commit intomainfrom
fix/label-color-yaml-type
Feb 23, 2026
Merged

fix: quote dogfooding label color to prevent YAML sci-notation parse#98
jafreck merged 1 commit intomainfrom
fix/label-color-yaml-type

Conversation

@jafreck
Copy link
Copy Markdown
Owner

@jafreck jafreck commented Feb 23, 2026

Problem

The label-sync CI job was failing with:

Error: ✗ "Parsed YAML file is invalid:\n.color should be a string (received: number, index: 10)"

The dogfooding label (index 10) has color 5319E7. YAML 1.1 parsers interpret this as scientific notation (5319 × 10^7), producing a number instead of a string.

Fix

Wrap the hex color value in double quotes so YAML always parses it as a string:

- name: dogfooding
  color: "5319E7"   # was: 5319E7

@jafreck jafreck merged commit 9894ba3 into main Feb 23, 2026
2 checks passed
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.18%. Comparing base (e0240cb) to head (27e5f96).
⚠️ Report is 1 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #98   +/-   ##
=======================================
  Coverage   76.18%   76.18%           
=======================================
  Files          70       70           
  Lines        6875     6875           
  Branches      898      897    -1     
=======================================
  Hits         5238     5238           
  Misses       1619     1619           
  Partials       18       18           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jafreck jafreck deleted the fix/label-color-yaml-type branch February 25, 2026 01:18
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.

2 participants