Spent an hour today renaming env vars across three services to make them “consistent.” Broke staging in the process because one service cached the old values. Should’ve just left the mess alone — it worked fine before I touched it.

  • Maestro@fedia.io
    link
    fedilink
    arrow-up
    7
    ·
    14 hours ago

    Yes, guilty. But also no longer regretting it a year later now that there’s a clear naming scheme and structure and I can easily find what I’m looking for.

    When refactoring, it always gets worse before it gets better. So, make sure to finish it so you get to the “better” state and don’t leave it at “worse”