• Faux@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    22 hours ago

    Most of production failures in my company in last few years come from people making mistakes in yaml indentation.

    • thebestaquaman@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 hours ago

      To me, that makes it sound like you’re writing too much and too complex yaml files manually, and/or that you don’t have good enough CI to catch invalid configurations. Unless, of course, you have very few prod failures overall, and the few that happen are due to yaml indentation, which I still think is a bit weird, since an invalid config caused by incorrect indentation should ideally be caught at compile time (if you’re generating code from the yaml) or by some linter or something (if you’re using it for config).