Live data from Hacker News

Ask HN: How to deal with managers who set a hard time-limit on fixing a bug?

news.ycombinator.com

51–60 of 67 posts

Re: Ask HN: How to deal with managers who set a hard time-limit on fixing a bug?

#51

As a manager - I've had to do crap like this now and then to light a fire under people. It can be done to indicate extreme urgency. There also are real-world implications to some delays - for example not being able to run payroll is a legal nightmare and an ethical nightmare for hurting your employees. Generally, when I've had to do this, it's been my fault for not manangeing properly.

I'm curious, does it actually lead to faster resolution or does it lead to engineers spending time thinking about how to deliver the bad news versus actually focusing on the problem?

Also manager. I feel like the manager's communication is off, though the end result is the same. All I need to ensure is that a) you are working on this HARD and know to turn down other tasks (and possibly put in extra hours) and b) you will update me immediately if the timeline can't be met.

Usually this request, though frequently very rare takes the form of "Issue $ISSUE is causing critical impacts on $IMPORTANT_THING, if we don't solve it by $TIME, it will cause $BAD_IMPACTS. Please make this your top priority and redirect questions about all other items to me. If you think this will not be done by $TIME, please let me know as soon as possible. I appreciate your hard work" Then you tell rest of the org: "$TEAM is working on $ISSUE and is re prioritizing other commitments. If you have any questions or concerns, please reach out directly to me."

If the developer turns around and says "this won't happen in time", that's a problem for the manager, not the developer in like 99% of situations. It's not "bad news", it's the truth, and you should always be able to tell the unfiltered truth (especially to your direct manager!) without any repercussions.

Re: Ask HN: How to deal with managers who set a hard time-limit on fixing a bug?

#52
In order to influence your boss in this case requires understanding what is intended, so you can offer a better alternative. As you know, setting a deadline doesn't require that management believes bug fixing is predictable. They could well know it's unpredictable and set a deadline anyway.

You know your bosses better than I do, but all I can make from this example is a boss who wants to make fixing this bug top priority. Possibly the boss wanted to say, "Stop all other work until this bug is fixed" and then, thinking what that might bring -- after all, developers are lazy -- decided to set a false deadline. The intent seems to be to set priorities.

An executive once told us -- a small group of developers -- in a meeting that work must be finished by the deadline come hell or high water. We looked at each other and didn't know what he was trying to say. Obviously there are trade-offs here, so do we trade off quality? Features? What exactly was the executive thinking to sacrifice -- besides unpaid overtime of employees. That's a given.

Maybe the boss can remove obstacles or get help from other departments. These are things that bosses can do that you can't do. Maybe all the boss wants is to get you to say what the hold up is, for example "we need some more information from one of our partners", in order to assist you.

Maybe your boss gets colicky when bugs aren't fixed. You could suggest setting a zero defects policy, which more or less states that bugs are fixed before new features are added. This is one way to meet deadlines that trades off features in return for being able to ship more or less at any time.

It could be there's even a missing role here that you can fill over time. If you can be an expert at treating your boss as a customer, interviewing to discover what exactly is desired, and suggesting technical and management solutions, you'll be a great deal more valuable.

Re: Ask HN: How to deal with managers who set a hard time-limit on fixing a bug?

#53

As a manager - I've had to do crap like this now and then to light a fire under people. It can be done to indicate extreme urgency. There also are real-world implications to some delays - for example not being able to run payroll is a legal nightmare and an ethical nightmare for hurting your employees. Generally, when I've had to do this, it's been my fault for not manangeing properly.

I'm curious, does it actually lead to faster resolution or does it lead to engineers spending time thinking about how to deliver the bad news versus actually focusing on the problem?

Yes, it works, and that's why it's dangerous because it lets a manager fall into bad habits of doing it again.

It makes the people doing the work pull out all the stops - beg vendors for support, drive to the customer site to witness the problem, and generally so whatever it takes.

Re: Ask HN: How to deal with managers who set a hard time-limit on fixing a bug?

#54
Bugs as a class have inherently unbounded time and effort to fix (or rather, they size as either "trivial" or "infinite pending investigation") but effort for individual bugs can be bounded by an assessment of how much time and effort to invest. Help your manager make this assessment by clearly delineating trade-offs. Help your manager help you and the team by clearly communicating progress and flagging unknowns/blockers.

1. Clarify the motivation for the time-box. Is there an externally imposed deadline? An angry customer? A dependency impacting another team or teams in the business? Is it more a matter of boosting the team's sense of priority/urgency and keeping a project from getting off track?

2. Clarify what outcomes are acceptable as "fixed" for the immediate deadline and whether you can do a mitigation to buy time for further investigation. Can you disable a feature, support partial functionality, do some filthy hack, temporarily do something manually, etc.? Try to give your manager some sense of the time/effort required for each possible solution or mitigation.

3. Share clear plans for investigating the bug, progress and findings so far, and next steps after the root cause has been identified. Be specific: "We have researched X, Y, and Z so far. Today, Bob will investigate Thing A and Alice will investigate Thing B. We'll give you an update by 2pm this afternoon."

4. If applicable, flag areas where lack of information or co-operation is blocking the team. DO NOT throw your team members or partners under the bus here, however, you can get into issues like "We're having trouble finding where to escalate questions for Legacy Service" and ask your manager for help.

I've used the words "clear/clarify" and "communicate" a lot here because those are the core issues. For your manager this isn't a philosophical discussion about the unknowable nature of software defects, this comes down to how to allocate resources efficiently for the business and how to reflect status to various stakeholders.

Re: Ask HN: How to deal with managers who set a hard time-limit on fixing a bug?

#55
I would do my best to fix it in the time allotted, but in the end, if it isn't fixed, it's going to take more time.

They could fire you or your whole team and that won't fix the bug either, in fact, that will make it take much longer as they'd have to hire replacements that won't be up to speed.

I would work hard to solve the issue, keep my mouth shut and if it wasn't finished by the next day and someone asked me about it I would tell them about my progress but that I needed more time.

Re: Ask HN: How to deal with managers who set a hard time-limit on fixing a bug?

#56

It sounds like your management really wants this bug to be fixed quickly. You should think about why they try to put so much pressure using their own words, which are not the best indeed. Your team should probably focus on this bug, to fix it ASAP. It may take longer than what the management is hoping for, they are likely aware of that.

The 'bug' was fixed long before the deadline - this isn't about me venting some negative energy on HN when I should be working. Throughout my career I've worked with project managers who've consistently misunderstood the nature of bugs and how they're fixed, and I've often tried to explain why setting an arbitrary timeline doesn't help - regardless of whether they are trying to 'set expectations' or underline the ser…

The discord you're experiencing in your career is real, and to some extent it comes with the profession. Companies are in the business of making working software on time. But you can't always make software work on time. This puts stress on you.

You're trying to get managers to stop setting bug deadlines on the theory that they don't understand that it doesn't help the situation. My assumption would be that they don't care that it doesn't help, they want me to do my job.

I've worked for management that not only showed no signs of understanding the nature of making software, but also didn't understand the nature of making money. A much more serious problem in my opinion. Their job is to bring in the business and your job is to make the software work on time.

It wasn't clear to me earlier that you may be dealing with executives by proxy of a project manager. That's a worse situation because you can't level with a project manager, they are stuck in the middle. You may want to go over his head (if you report to the p.m.) but if you do that, do not complain about him or anything else, bring only solutions and charm.

See my other comment for some more constructive and specific suggestions.

Re: Ask HN: How to deal with managers who set a hard time-limit on fixing a bug?

#57
post #4

Earlier in my career, I would hear my manager say something about a specific situation and I would extrapolate that into a general belief and theoretical/academic debate that frustrated everyone. Make sure you're not doing that. As a manager, sometimes you need to say things like, "This bug needs to be fixed by EOD tomorrow" so that your team understands the urgency and your expectations. The more technical the manag…

> As a manager, sometimes you need to say things like, "This bug needs to be fixed by EOD tomorrow" so that your team understands the urgency and your expectations. I'm sorry but you can do that without sounding both clueless and unreasonable. You can put everything else on hold, stop the line, explain why it's important for this to be fixed, etc.. to get the point across. "This bug needs to be fixed by EOD tomorrow"…

[deleted]

Re: Ask HN: How to deal with managers who set a hard time-limit on fixing a bug?

#58
post #3

First: discuss with your development team the issue, make sure you get buy-in on replying to management with one voice. A.K.A.: avoiding you saying "We can't do X" and someone else goes: "Of course we can!". Second: talk to your manager. Don't send an e-mail. That would just turn in a long, and possibly bitter, battle of 're:re:re:re:' or be interpreted as a C.Y.A. fig leaf. Make sure you start by understanding where…

Agree, and will suggest generically that, fourth, that post-crisis, you sit down with your manager to understand and learn from the experience. Root cause of the bug? Root cause of not seeing it earlier? What made it become a firedrill? Net, how do we avoid a next-time?

In your particular case, it might help to understand what was at stake for your manager in this instance. You may gain some leverage from having come through.

Also, with partners who are integrating your stuff, it can help to provide a reference client or reference integration, so that they can see what you did to make things work - the partner would have helped you by self diagnosing.

Re: Ask HN: How to deal with managers who set a hard time-limit on fixing a bug?

#60

I disagree with most comments. Thing is simpler than that. Just dont take it too seriously. They do their best to get some shit done and if it fails, it fails. They gave you some instructions, do the best you can with it, get back to your familly when you think you should. It's the best way to deal with it, I'm not saying this is an ideal situation.

Yes, this is correct response. This applies to both, bugs and feature deadlines. Early in my career, I would freak out whenever there were hard deadline, spent hours of personal time trying to meet deadlines. Now that I have friends in management and higher, I understand their motivations. They don't care about deadlines.

The best approach is to show concern, managers love meetings, so schedule a meeting to discuss. Don't fight back on deadline but try to understand seriousness and inform them of your status. Really it maybe waste of your valuable time, but your manager needs to report to their manager. They will love you for scheduling a meeting, you are speaking their language. Give them daily or weekly update via email or Slack. That shows them you are serious about deadline. They really just need to stay informed.

Finally, don't waste your personal time on fixing the bug after work. After 5PM spend time with your family and friends. Don't let management fool you in thinking that this is the last hard deadline. They will abuse you if you let them. It is just simple human nature. Don't let them abuse your coworkers either. It takes just one overzealous employee to destroy work-life balance for everyone.

Ever since I have realized that deadlines are mostly meaningless, I have missed many and there were zero negative consequences. In fact, opposite happens most of the time, management stop setting ridiculous deadlines. You just need to make sure you are doing solid work everyday for 8 hours and that's it.

Post reply on HN