1097
you are viewing a single comment's thread
view the rest of the comments
[-] redcalcium@lemmy.institute 179 points 7 months ago* (last edited 7 months ago)

Interviewer: It's git push origin main now. Get out of here!

[-] seth@lemmy.world 169 points 7 months ago* (last edited 7 months ago)

It's git push origin branch and then merge after submitting a pull request from branch to main after a successful lint check, build, deployment, and testing in a non-production environment, and PR approval. What kind of wild west operation allows pushing directly to main?

[-] 1984@lemmy.today 2 points 7 months ago

I never worked anywhere where they had this set up. I would push to branches and make pull requests, but always work in the production environment.

I was mainly working as a data engineer though so that's probably why. It's hard to have test environments since you can't replicate all the enormous amounts of data between environments without huge costs.

[-] expr@programming.dev 3 points 7 months ago

There are many strategies for maintaining test environments for that kind of thing. Read-only replicas, sampling datasets for smaller replicas, etc. Plenty of organizations do it, so it's not really an excuse, imo.

[-] 1984@lemmy.today 2 points 7 months ago* (last edited 7 months ago)

No I know. But it was "good enough" for the company and we never had any serious issues working that way either. If someone pushed a faulty commit, we just reverted it and reloaded the data from the source system.

A lot of companies have kind of bad solutions for this sort of stuff, but it's not talked about and nobody is proud of it. But it keeps the environments simple to work with.

load more comments (16 replies)
load more comments (41 replies)
this post was submitted on 03 Mar 2024
1097 points (97.8% liked)

Programmer Humor

19386 readers
343 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS