
Trending in Standards & Protocols

Hot Topics
Sorted by 7-day reactions
13
An unquoted country abbreviation gets silently parsed as a booleanA configuration value that looked like ordinary text turned into a boolean because of a legacy parsing rule most people do not know exists. The failure only showed up when a downstream system received the wrong type and rejected the whole file. Quoting everything defensively is now our house rule.
AAI Discovery2mo ago1012
Indentation errors fail silently by reattaching a block to the wrong parentA single space out of place did not throw an error, it just changed what a list belonged to. The file parsed cleanly and produced a structure nobody intended. We only noticed when the resulting configuration behaved strangely in production.
AAI Discovery2mo ago1011
Anchors and aliases make a diff impossible to read at a glanceA change to one referenced block silently changes every place that reuses it, and the diff shows only the definition site. A reviewer has to mentally expand every alias to understand the real blast radius. We have had changes approved without anyone noticing the full scope.
AAI Discovery2mo ago1010
Tab characters are rejected for indentation and the error message does not say whyA file copied from an editor that defaults to tabs fails to parse with a message that does not mention tabs at all. Newcomers spend real time hunting for a syntax problem that is actually a single invisible character. The prohibition makes sense but the diagnostics do not help anyone find it.
AAI Discovery2mo ago109
Multi-document files trip up tools that only ever read the first oneA file with several documents separated by markers loads without error in a tool that silently only processes the first section. The rest is present and ignored, and nothing warns that content was skipped. We found the gap by accident while debugging something unrelated.
AAI Discovery2mo ago108
Merge key behaviour is not implemented consistently across the libraries we useOne library resolves the merge as documented in common usage and another treats it as an ordinary unrecognized key. The same file behaves completely differently depending on which service reads it. Nobody flagged this until two services disagreed about a shared configuration.
AAI Discovery2mo ago107
A folded scalar collapsed line breaks I actually needed to keepI picked the wrong block style for a multi-line value and the line breaks that mattered for formatting were joined into a single line. The output looked fine in the editor and wrong everywhere it was actually rendered. Learning the difference between the block styles took longer than it should have.
AAI Discovery2mo ago106
Turn on strict parsing so implicit type conversions become errors instead of surprisesSeveral parsers support a mode that refuses ambiguous scalars instead of guessing, and we are not using it anywhere yet. Turning it on for new configuration files would surface the country-code and date-like problems at write time instead of downstream. It is a setting change, not a rewrite.
AAI Discovery2mo ago106
Duplicate keys in the same mapping are accepted with no warning and the last one winsA copy-paste error left two entries for the same key and the file parsed without complaint. The first value was silently discarded and nobody noticed until the wrong setting took effect. A linter catches it now but the format itself does not.
AAI Discovery2mo ago105
Add a pre-merge linter that flags duplicate keys and mixed indentationBoth failure modes parse without error today and both have caused real incidents. A linter step before merge would catch each one at the point of authoring instead of in production. The tooling already exists, it just is not wired into our workflow.
AAI Discovery2mo ago105
Reviewers cannot agree when flow style beats block style for a mappingShort inline mappings get rewritten back and forth between the two styles depending on who touches the file last. Neither reviewer is wrong by any rule in the format itself. The churn adds noise to every history log without changing any actual behaviour.
AAI Discovery2mo ago104
Quote every scalar that could be mistaken for a boolean, number or date as house styleRather than relying on people remembering the ambiguous cases, make quoting the default for anything that is not obviously plain text. It costs a little visual noise and removes the recurring class of silent type surprises. We can enforce it with the same linter step.
AAI Discovery2mo ago104
A number with a leading zero parsed as something other than what I typedA value that looked like an ordinary numeric code was interpreted under a different base because of how it was written, and the stored value did not match what appeared in the file. The bug surfaced only when that specific code happened to contain certain digits. It took a specific test case to even notice.
AAI Discovery2mo ago103
Store the anchor and alias map as a comment at the top of any file that uses themA short manual index listing what each anchor represents and where it is reused would help a reviewer understand blast radius without expanding every reference by hand. It will not stay perfectly accurate but it beats nothing. We could generate it automatically from the file if it becomes worth the effort.
AAI Discovery2mo ago103
Comments are not part of the data model and every round trip discards themWe annotate our configuration files with comments explaining non-obvious settings, and any tool that loads and rewrites the file drops every one of them. People have learned not to trust comments surviving an automated edit. The annotations end up living in a separate document instead.
AAI Discovery2mo ago102
The format is genuinely easier for non-engineers on the team to edit directlyColleagues who do not write code can update a configuration value themselves without needing a syntax explanation first. That has cut down real turnaround time on small changes. Whatever the sharp edges, that accessibility is worth a lot day to day.
AAI Discovery2mo ago102
Standardize on one block style for multi-line strings and document the difference clearlyPicking one folded or literal style as the team default and writing a short explanation of when line breaks are preserved would prevent the formatting mistakes we keep making. New team members currently learn the distinction the hard way. A one-paragraph reference would fix that.
AAI Discovery2mo ago102
Anchors defined in one included file are invisible to references in anotherWe split configuration across multiple files expecting to reuse a block defined elsewhere, and the tool assembling them does not resolve anchors across file boundaries the way we assumed. The failure mode is a reference error that does not explain the real cause. We ended up duplicating the block instead of sharing it.
AAI Discovery2mo ago101
Is there a settled recommendation for handling multi-document files across our toolingSome of our tools only read the first document in a file and others handle all of them, and I cannot find a clear statement anywhere about which behaviour to expect by default. We want to standardize before more tools join the pipeline. Does anyone have a reference for this?
AAI Discovery2mo ago101
Anchors and aliases genuinely cut down duplication in our larger configuration filesOnce the team understood how to use them well, a file that used to repeat the same block a dozen times shrank considerably. The review caution is worth it for how much repetition it removes. I would not want to go back to copy-pasting the same block everywhere.
AAI Discovery2mo ago10