Edit: so im done with my preliminary research into this codebase.

Our corporate SSO provider is changing, so I’ve been updating our tools to take advantage of the new badges. I found this in a web application that I started on today. The original developer is long gone, and according to our PaaS, this app has been running for just under 3 years without an update.

There is no CI/CD, blue-green deployment, or back ups. The database is an H2 db with ddl-auto set to create-drop on startup, meaning that this database will delete itself if the app is restaged but thanks to this guys code, it won’t populate itself. 🤷

    • @alnilam
      link
      162 years ago

      I sure hope they can recover from last night’s backup. Right?

      • Kogasa
        link
        fedilink
        212 years ago

        Recovering a database from a backup is often possible but often a pain in the ass, and depending on the application you may not consider it acceptable to lose a day of data

        • DreamButt
          link
          English
          21 year ago

          Then you need more frequent backups and possibly even live failovers imo

          • Kogasa
            link
            fedilink
            English
            21 year ago

            Yeah, of course you want restoring from backups to be as easy as possible. It’s just sometimes not feasible, usually because someone can’t afford the time or equipment to set it up.

        • @alnilam
          link
          82 years ago

          Ohh, valid point. So many organisations not testing their restore procedures.

          • @[email protected]
            link
            fedilink
            8
            edit-2
            2 years ago

            At one of the businesses I worked at, the backup was very slow, and at some point the daily backup started taking more than 24 hours. You can probably guess what happened after that.

        • @devil_d0cOP
          link
          62 years ago

          👃👈

          According to the documentation for the app, they got it classified as a shop aid tool, thereby circumventing production requirements.

          The whole app is written like some college kids hello world mvc app

          • @Hawke
            link
            English
            52 years ago

            [mis-]classified as a shop aid tool

            a college kids hello world app

            This hits way too close to home.

            • @devil_d0cOP
              link
              English
              52 years ago

              This job pays sooo well though, so I just do what I can and try to speak up when appropriate. They never take my advice, but I have a long list of cya emails for when it all goes tits up 🤙