• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

fktn-k / fkYAML / 28809106979
100%

Build:
DEFAULT BRANCH: develop
Ran 06 Jul 2026 05:07PM UTC
Jobs 1
Files 32
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Jul 2026 05:04PM UTC coverage: 99.969%. Remained the same
28809106979

push

github

web-flow
Fix serialization of strings that are invalid plain scalars (#523)

* Fix serialization of strings that are invalid plain scalars

Quote string scalars that cannot be safely emitted in YAML plain style,
including values starting with directive/reserved/flow indicator characters
such as `%`, `@`, `!`, `&`, and `{`.

Previously the serializer only quoted strings when plain emission would change
the scalar type, e.g. string `"123"` becoming an integer. That missed strings
that still scan as strings but are invalid YAML syntax when emitted plainly.

Add regression coverage for the reported `%` / `%test` mapping case and related
plain-scalar indicator cases.

* Tighten plain scalar serialization coverage

Remove unreachable tab checks from the plain-scalar validation helper, since
tabs are escaped before this helper runs. Add regression cases for the reachable
`-`, `?`, and `:` plain-scalar edge cases so both valid and invalid forms are
covered.

This keeps the serializer behavior aligned with YAML plain scalar rules while
avoiding dead validation branches.

* Rerun CI

* Quote plain strings with whitespace or flow indicators

Quote string scalars containing any whitespace or any of `,[]{}` to avoid
context-dependent plain scalar output. The serializer does not know whether a
scalar is used as an implicit key or inside a flow collection, so this keeps the
plain-scalar validation conservative.

Update serializer tests for whitespace and mid-string flow indicator cases.

1401 of 1402 branches covered (99.93%)

Branch coverage included in aggregate %.

13 of 13 new or added lines in 1 file covered. (100.0%)

5141 of 5142 relevant lines covered (99.98%)

403.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28809106979.1 06 Jul 2026 05:07PM UTC 32
99.97
GitHub Action Run
Source Files on build 28809106979
  • Tree
  • List 32
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28809106979
  • 9f56b48c on github
  • Prev Build on develop (#28738084414)
  • Next Build on develop (#28906424346)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc