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. 🤷

1 point
*

What’s with lemmy and beans? /s

How are you finding Spring?

permalink
report
reply
1 point

Underrated comment here lol

permalink
report
parent
reply
2 points

I don’t hate it. The docs are good and it’s very opinionated, which I appreciate. Makes it easier to divy up the work into chunks management can digest.

I wouldn’t use it for a personal project though.

permalink
report
parent
reply
2 points
Deleted by creator
permalink
report
reply
10 points

This also implies that their only persistent environment is production. No dev. No QA.

permalink
report
reply
6 points

👃👈 ding ding ding!

Dev pushed drop and recreate the dB each time.

And there is no QA, don’t be silly.

permalink
report
parent
reply
2 points
*

That would be silly. Why pay for QA staff when we can spend customer good-will instead?

Edit: Sorry, I’ve worked with this kind of stupid so long, I can hear the logic in my bones. The only target that matters is this upcoming quarterly report. The quarterly report after that happens to future me, and he’s never done anything for me.

permalink
report
parent
reply
5 points

The Tesla model.

permalink
report
parent
reply
2 points
*
permalink
report
reply
1 point

You get a side effect! You get a side effect! You all get siiiide effffects!!!

permalink
report
parent
reply
30 points

Good Lord, this makes my hands sweaty. Why is your entire prod database leaning on one line of code that’s prone to human error? There should be 20 extra accidental steps taken to do something like this.

permalink
report
reply
4 points

Turns out we were always one copy paste error from a major incident.

Don’t worry, I’m fixing it 🤷

permalink
report
parent
reply
1 point

Heh. That looks like it has decent odds of being a “company ending event” incident, to be specific.

But at least there’s lots of comments. And maybe someone already put a safety net in somewhere else and just forgot to update the 20 comments. It could happen.

permalink
report
parent
reply
1 point

Under different circumstances, sure. As it is, worst they could expect is a fine from our regulators for data retention hits. We could recreate the info easily enough if our suppliers played nicely.

permalink
report
parent
reply
12 points

what do you mean? there’s 20 lines of comments warning about it!

permalink
report
parent
reply
29 points

Look, if you hold the lever tight you can safely put the pin back in the grenade!

permalink
report
parent
reply
10 points
*

^C^C^C^C^C^C

permalink
report
parent
reply