Skip to content

Add a YAML parsing simulator - #1702

Merged
bobbyonmagic merged 2 commits into
mainfrom
feat/yaml-parsing-simulator
Sep 15, 2026
Merged

bobbyonmagic merged 2 commits into
mainfrom
feat/yaml-parsing-simulator

Conversation

@bobbyonmagic

Copy link
Copy Markdown
Collaborator

Closes #1698.

Nothing on the site covered YAML, which is the most common way a DevOps change fails quietly.

The parser is real and runs in the browser (lib/games/yaml-sim-engine.ts, 24 assertions in the engine test). Every document is read twice, under YAML 1.1 and YAML 1.2, and the differences are listed, because the two specs disagree and that disagreement is where the surprises come from.

Eight lessons, all editable: the Norway problem, version 1.10 being lower than 1.9, leading zeros meaning octal in one spec and decimal in the other, empty against ~ against null against an empty string, block scalars, tabs, and the missing space after a colon. Then quoting, which is the fix for nearly all of it.

Registry validation passes for 56 games. No new tsc errors reference these files.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 15, 2026

Copy link
Copy Markdown

Deploying devops-daily with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6b3b7ff
Status: ✅  Deploy successful!
Preview URL: https://97609695.devops-daily.pages.dev
Branch Preview URL: https://feat-yaml-parsing-simulator.devops-daily.pages.dev

View logs

@bobbyonmagic
bobbyonmagic merged commit b03dd90 into main Sep 15, 2026
3 checks passed
@bobbyonmagic
bobbyonmagic deleted the feat/yaml-parsing-simulator branch September 15, 2026 19:00
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.

Add a YAML parsing simulator (games)

1 participant