Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
lifg
Dec 4, 2000
<this tag left blank>
Muldoon
IME the way to get developers to do PRs in a timely fashion is to wait until they complain about it in a retro, and then suggest a new rule that all PRs are reviewed within a day (or something). Since they complained about it, they’ll buy in to the new rule.

Adbot
ADBOT LOVES YOU

Steve French
Sep 8, 2003

thotsky posted:

I vastly prefer having a tech lead with the sole, or at least primary responsibility for performing code reviews. Otherwise it just takes too long to get them done. Developers who have tickets of their own are not going to drop whatever they're doing to review mine, and ideally I want to have several PRs go through in a single workday.

I have worked at places where code reviews were meant to be handled communally by people checking the open PR page whenever they were not working on something, which resulted in them never getting done. I agree that bugging people about PRs is the norm; downout is the dude who seems to think that's weird.

Also, you don't post PRs before they're ready. If you absolutely have to (horrible, means it's a branch that's definitely living too long or that what you really want to do is a bit of pair programming) you mark them with WIP.

I feel like this misses some huge benefits of code review: it doesn’t just make the code better, it’s a knowledge sharing tool. People learn from having their code reviewed, even if it’s not by someone more experienced (“ah I guess this pattern is confusing to less experienced people”), and even if they’re the one reviewing the code (reading code in general is educational and makes you better at writing it, as does asking clarifying questions and getting answers when something doesn’t make sense).

Blinkz0rz
May 27, 2001

MY CONTEMPT FOR MY OWN EMPLOYEES IS ONLY MATCHED BY MY LOVE FOR TOM BRADY'S SWEATY MAGA BALLS
Team cohesion and shared responsibility. It makes the structure of a team a web of information rather than a hub-and-spoke.

Blinkz0rz fucked around with this message at 04:18 on Oct 8, 2023

a dingus
Mar 22, 2008

Rhetorical questions only
Fun Shoe
Do you all normally pull the feature branch and run the code to test it manually? We have a react native codebase and it's expected for reviewers to build the app and test the feature manually. If you approve something with a bug and haven't tested it manually it's almost as much your fault as the submitters, no matter how detailed and documented the MR has been. IMO if your code passes the scrutiny of your reviewers reading your MR, passes the build pipeline and you create a bug, it's 100% on you to fix and shame for not having a test setup that isn't garbage. This has led to people being super cautious about issuing approvals and generally pisses me off.

Jabor
Jul 16, 2010

#1 Loser at SpaceChem
people being hesitant on approvals can be a bit of a vicious circle, because having approvals be this high-friction involved process means that people pack more into each PR so they have to go through the process less often, which makes PRs more risky and approvers more hesitant, and so on. having a fast and lightweight process for getting small, low-risk prs approved really helps with development velocity.

if it's not obvious to me that a pr is correct, i'll ask the author how they tested it, and ask them to write automated tests if appropriate. if it looks like they tested it properly but a bug slips through regardless, that's a team issue where we discuss how to catch this class of bug earlier.

the other thing to consider is the consequences of a bug getting through. usually if a bug scenario is rare enough that the original author didn't catch it while making the pr, it's not a big deal if it gets approved, submitted, and then rolled back after the bug is found. assuming you have release qa that would catch it before going to actual production users, that is - if you have some kind of push-on-green setup where you rely 100% on automated tests then you do need to be more cautious.

thotsky
Jun 7, 2005

hot to trot

Steve French posted:

I feel like this misses some huge benefits of code review: it doesn’t just make the code better, it’s a knowledge sharing tool. People learn from having their code reviewed, even if it’s not by someone more experienced (“ah I guess this pattern is confusing to less experienced people”), and even if they’re the one reviewing the code (reading code in general is educational and makes you better at writing it, as does asking clarifying questions and getting answers when something doesn’t make sense).

I think all of that still happens to a reasonable degree even when you have a person on the team with the primary responsibility for performing code reviews. It can be a back and forth, and sometimes the tech lead needs stuff reviewed too. That said, I also don't buy into the criticality of involving the entire team in backlog refinement, planning poker and stuff like that so I might just favor more hierarchy in teams than you and Blinkz0rz.

AskYourself
May 23, 2005
Donut is for Homer as Asking yourself is to ...
Guys et girls and everything in between or on the fringe, before we move to another page, I want to take 1/40 of this page to say how impressed I am that this thread got to page :420:

That’s it

Falcon2001
Oct 10, 2004

Eat your hamburgers, Apollo.
Pillbug

a dingus posted:

Do you all normally pull the feature branch and run the code to test it manually? We have a react native codebase and it's expected for reviewers to build the app and test the feature manually. If you approve something with a bug and haven't tested it manually it's almost as much your fault as the submitters, no matter how detailed and documented the MR has been. IMO if your code passes the scrutiny of your reviewers reading your MR, passes the build pipeline and you create a bug, it's 100% on you to fix and shame for not having a test setup that isn't garbage. This has led to people being super cautious about issuing approvals and generally pisses me off.

At least on my team, we don't do that, and the biggest reason is that the tool we're working on modifying infrastructure - testing it manually requires a lot of setup (getting the infra into the unfixed state, running it, checking the output matches/etc). We basically say 'if you open a PR that could need manual testing afterward, provide proof of your own manual testing in the associated task', because otherwise you might not understand how to do the manual testing in question. If it's something small that I can test locally and is specific to the app, I'd probably test it myself just to poke around at it, but that's not really the sort of thing I'm working on.

In general, I think it's a bad idea to add more friction to code reviews of any kind, but honestly the biggest problem you're mentioning here is a cultural one - bugs happen, you can't fully prevent them, so unless it's something super obvious you probably should not be dunking on people for shipping bugs, you should be discussing how to prevent it from happening again.

Edit: Slight clarification: you can try to fully prevent bugs, but no reasonable company is going to agree to the sort of timeline and design behaviors that NASA does with space shuttles or that medical device manufacturers do for embedded pacemakers or whatever; you're looking at more than a 10x timeline increase at the minimum. The bare reality is that companies make deliberate decisions to take on some level of risk associated with software development in exchange for change velocity, so when that risk manifests, it's generally not the fault of the individual developer, but instead the collective fault of the team, and the best discussion to have is 'what can we reasonably do to try and lower the chances of this happening again?'. A good company will not blame the individual, as long as they didn't do something egregiously stupid like bypassing reasonable safety measures with good reason.

Falcon2001 fucked around with this message at 22:00 on Oct 8, 2023

MadFriarAvelyn
Sep 25, 2007

a dingus posted:

Do you all normally pull the feature branch and run the code to test it manually? We have a react native codebase and it's expected for reviewers to build the app and test the feature manually. If you approve something with a bug and haven't tested it manually it's almost as much your fault as the submitters, no matter how detailed and documented the MR has been. IMO if your code passes the scrutiny of your reviewers reading your MR, passes the build pipeline and you create a bug, it's 100% on you to fix and shame for not having a test setup that isn't garbage. This has led to people being super cautious about issuing approvals and generally pisses me off.

On my team, often we'll reserve doing this for two cases: when reviewing code for developers that are still new at the company and are still learning the ropes of the codebase and for changes that are known to be high risk. Once someone has gotten used to working with the codebase this will happen less and less, though maybe with slight suggestions on additional testing notes they'll want to call out when passing a ticket to QA, who often does a manual test themselves before writing Cypress tests to reduce manual testing for changes moving forward.

We also aggressively feature flag all of the changes we make, so if something breaks, oh well. Turn the flag off, throw a party if it's the developers first time breaking something in prod, get a fix in and try again tomorrow.

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...

quote:

We have a react native codebase and it's expected for reviewers to build the app and test the feature manually.

Personally, I would just ask that there's sufficient test coverage (including integration tests etc) that it isn't necessary.

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...

AskYourself posted:

Guys et girls and everything in between or on the fringe, before we move to another page, I want to take 1/40 of this page to say how impressed I am that this thread got to page :420:

That’s it

Forgot to mention, whoever does the 17th post would be the 420.68th page, which is the closest you can get to 420.69. Just putting that out there.

a dingus
Mar 22, 2008

Rhetorical questions only
Fun Shoe
Glad Im not crazy about the high friction MRs. At some point you gotta build poo poo and ship it.

gariig
Dec 31, 2004
Beaten into submission by my fiance
Pillbug

a dingus posted:

Do you all normally pull the feature branch and run the code to test it manually? We have a react native codebase and it's expected for reviewers to build the app and test the feature manually. If you approve something with a bug and haven't tested it manually it's almost as much your fault as the submitters, no matter how detailed and documented the MR has been. IMO if your code passes the scrutiny of your reviewers reading your MR, passes the build pipeline and you create a bug, it's 100% on you to fix and shame for not having a test setup that isn't garbage. This has led to people being super cautious about issuing approvals and generally pisses me off.

This sounds so, so stressful. I work for a live streaming service and we can run our services locally but it's not expected of code reviewers. Also, we don't even blame the committer for a bug much less the code reviewer. The creator of the bug usually fixes it because they have the most context on the code and maybe the bug finder helps (if it was another developer). If a bug happens there's no "blame" the team needs to evaluate why it go through and provide a wider fix (refactor an abstraction)/write better integration tests/etc. The last thing you want is "blame" and "shame" anyone because that's going to stop your velocity of doing complex stories, no one will want to go through that.

Macichne Leainig
Jul 26, 2012

by VG
I got a splinter under my index finger's fingernail last night from a loving door of all things.

It hurts my fingat to type :cry:

smackfu
Jun 7, 2004

a dingus posted:

Do you all normally pull the feature branch and run the code to test it manually?

I’ll only do this if it’s UI code and I’m not confident in the dev’s UI work. It’s pretty easy to make working UI code that passes all the tests but has some quirky behavior that looks bad.

Backend code, I feel like tests work better.

brand engager
Mar 23, 2011

Hate slack canvases

Macichne Leainig
Jul 26, 2012

by VG
No idea where else to post this.

I have two employers, one using G Suite and one using Office 365. As a computer touching goon, my personal preferences are odd at best and I prefer using Outlook for email management on the desktop.

So what I've done to facilitate this is, I've logged into my G Suite account into Outlook alongside the Office 365 account so I can have my emails and calendar in one application.

This is great, except some setting somewhere is syncing my G Suite calendar right onto my Office 365 calendar, often duplicating events on the Outlook calendar view. What's worse is if the event is updated, like the date or time changes, the Office 365 instance persists indefinitely as it was originally, so I have some phantom recurrences on my calendar now. Fortunately the update syncs to the G Suite calendar in Outlook just fine.

Total shot in the dark, but anyone have any idea where to look for disabling this behavior? I've scoured the Outlook settings and I can't find anything on either account. It's limited settings for the G Suite connection, mostly credential management and cache clearing.

Macichne Leainig fucked around with this message at 19:30 on Oct 16, 2023

Woebin
Feb 6, 2006

Welp, after three years of being fully remote my company is pushing for >50% of all work time spent in the office and I've gotten a new boss who's the false empathy control freak type. Guess it's time to move on.

It sucks because I was finally starting to get heard about accessibility stuff.

Xarn
Jun 26, 2015
Probation
Can't post for 2 hours!
I am not particularly happy about the trajectory of my current company, so I am interviewing again.

Apart from the usual interviewing bullshit ("competitive salary" -> proceeds to offer what would be ~25% paycut), I am continuously amazed at just how bad are recruiters at their job. I ticked the "remote work only" option on every platforms where I have a profile, why the gently caress do you send me job that is on-site and NOT EVEN ON THE SAME CONTINENT?

Similarly, half your job is talking with people. Why do you not even have a microphone and rely on the built-in mic in your tablet?

Just uuuugh.

Nybble
Jun 28, 2008

praise chuck, raise heck
As far as I can tell from my search this spring and summer: At best all the good recruiters are 1) at the best companies, 2) overworked, 3) were laid off. So that leaves a lot of stress for the ones who are left remaining and slows everything down.

I’ve worked with some good internal recruiters who were extremely mindful of helping candidates have all the right material to be ready, lining up the right people for panel interviews, and really good at figuring out what teams are looking for in a candidate. And then they all got laid off anyway in the last 18 months of turmoil and are begging for contract gigs.

That said, sending a job req for a different continent could be fun if they have relocation…

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...

Xarn posted:

I am not particularly happy about the trajectory of my current company, so I am interviewing again.

Apart from the usual interviewing bullshit ("competitive salary" -> proceeds to offer what would be ~25% paycut), I am continuously amazed at just how bad are recruiters at their job. I ticked the "remote work only" option on every platforms where I have a profile, why the gently caress do you send me job that is on-site and NOT EVEN ON THE SAME CONTINENT?

Similarly, half your job is talking with people. Why do you not even have a microphone and rely on the built-in mic in your tablet?

Just uuuugh.

"You never know if you don't try! :v:"

Also, you're assuming they even remember who you are between emails.

StumblyWumbly
Sep 12, 2007

Batmanticore!
Quantity over quality has been the strategy in all sorts of applications for a while now. It's not like you're going to switch jobs because you have a warm relationship with the recruiter.

brand engager
Mar 23, 2011

This place is driving me crazy, we do these longass design forms now and the boss still swoops in and has us do whatever setup he wanted anyways. And afterwards any issues are going to get pinned on the person he overruled.

Cup Runneth Over
Aug 8, 2009

She said life's
Too short to worry
Life's too long to wait
It's too short
Not to love everybody
Life's too long to hate


brand engager posted:

This place is driving me crazy, we do these longass design forms now and the boss still swoops in and has us do whatever setup he wanted anyways. And afterwards any issues are going to get pinned on the person he overruled.

Have you tried saying, No?

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...
Or just not really bothering giving a poo poo on the design if it's going to get changed anyway?

Macichne Leainig
Jul 26, 2012

by VG
Well my company culture has taken a big poo poo recently, to the point that the newly appointed VP of Engineering has informally complained about me to HR, and formally complained about my supervisor, to the point that my supervisor is leaving on Wednesday.

The reason the VP of Engineering is complaining about me? He sent an email last week asking if we had any resources on private servers. I said no, because we do not. We don't even have dev or prod servers or anything like that yet.

He replied, "not even on your local machine?" to which I replied, much more politely, "how do you think we develop the platform you loving idiot?" Be specific if you're going to ask questions. I shouldn't have to explain this to a loving VP.

So he cried to HR because he didn't get the answers he wanted.

Anyway I'm hemming and hawing sending an email to HR and the CEO about this VP dude since I've practically already got two feet out the door.

Macichne Leainig
Jul 26, 2012

by VG
Yeah he PM'd me directly and got real nasty even though I specifically told him "I hope you understand that in light of recent events, I believe it's best for both of us to ensure that our communications are transparent and documented. I'd prefer if we can include a third party or have our conversations on open channels from now on. It's important for me to maintain an environment where I feel comfortable and protected. Thank you for your understanding."

So I sent the email to the CEO. gently caress'em

thotsky
Jun 7, 2005

hot to trot
You expect upper management to take your side over the VP? Sounds like the dude asked a dumb question and you overreacted. People in management tend to ask a lot of dumb questions, and don't take too kindly to being met with insubordination. What are you hoping to achieve by escalating? What is your plan B if it backfires?

Macichne Leainig
Jul 26, 2012

by VG
He's been a constant problem for other people, making one engineer straight up leave, not to mention his beef with my supervisor. I don't think they're going to take his side

If they fire me, I am very financially secure and don't have to work for years. :shrug:

The company needs me more than I need them

Also not to mention that he informally complained to HR about not getting any response for me despite the fact I replied within 5 minutes of his email, so that's at least demonstrably false.

Macichne Leainig fucked around with this message at 20:49 on Oct 23, 2023

Mega Comrade
Apr 22, 2004

Listen buddy, we all got problems!
I feel for you if there guy is an idiot, but your not helping yourself responding to them in that manner.

Macichne Leainig
Jul 26, 2012

by VG
The CEO and I just got off a call and it went great so gently caress all y'all haters. He's gonna tell the VP to gently caress off and that he should know to be more tactful considering the VP drove off another developer already

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...

Macichne Leainig posted:

The CEO and I just got off a call and it went great so gently caress all y'all haters. He's gonna tell the VP to gently caress off and that he should know to be more tactful considering the VP drove off another developer already

Bottle this optimism for later

Macichne Leainig
Jul 26, 2012

by VG
I promise I know a lot more about my employment situation and whether or not it will pan out in my favor, but I do appreciate the concern.

thotsky
Jun 7, 2005

hot to trot

Macichne Leainig posted:

The CEO and I just got off a call and it went great so gently caress all y'all haters.

who hurt you?

Nybble
Jun 28, 2008

praise chuck, raise heck
VPs can probably be bullied right back if they are assholes and you are secure enough in your role.

Anyone above that, no way.

Judge Schnoopy
Nov 2, 2005

dont even TRY it, pal

thotsky posted:

who hurt you?

They work in development

Who didn't hurt them

Xguard86
Nov 22, 2004

"You don't understand his pain. Everywhere he goes he sees women working, wearing pants, speaking in gatherings, voting. Surely they will burn in the white hot flames of Hell"
Weird move for a VP to run to HR. Most of the VPs I know, even the nice ones, would have zero problem confronting a subordinate for something.

CPColin
Sep 9, 2003

Big ol' smile.
Imagine siding with a VP on any level after somebody tells a story in this thread lmao

Cup Runneth Over
Aug 8, 2009

She said life's
Too short to worry
Life's too long to wait
It's too short
Not to love everybody
Life's too long to hate


Xguard86 posted:

Weird move for a VP to run to HR. Most of the VPs I know, even the nice ones, would have zero problem confronting a subordinate for something.

Yeah it's hard to imagine getting to that level of management without being able to settle your own scores

Adbot
ADBOT LOVES YOU

Falcon2001
Oct 10, 2004

Eat your hamburgers, Apollo.
Pillbug
This reads like 'Sub-60 person company' to me at least, dunno if I missed something outlining size. Lots of companies like that are run by just total weirdos.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply