Forward Deployed EngineeringSoftware EngineeringIncident and Release Management

It's Friday evening at a customer site and they want a hotfix shipped now. How do you do it safely, and when do you refuse?

Question 38 of 73 · Updated

On this page

Interview-ready answer#

I would not ship a change merely because it is Friday evening and a customer is asking for it. I would establish the business impact, the urgency of the incident and the risk of changing production versus leaving it in its current state. An active outage, data corruption or security exposure may make waiting more dangerous than deploying a carefully controlled fix. A cosmetic defect or an unvalidated feature request generally does not justify emergency release procedures.

If immediate action is justified, I would involve the incident or service owner, identify the smallest reversible mitigation, and reproduce the problem using a sanitized fixture or an approved environment. I would obtain a second engineer's review and the required emergency-change approval, run targeted regression and security checks, use a known-good versioned artifact, and deploy to a controlled cohort. Before deploying, I would define success metrics, abort conditions, rollback or recovery steps and the engineer who will monitor the change afterward.

I would refuse the proposed deployment if it bypasses a required authorization or security control, has an unacceptable risk of irreversible data damage, cannot be meaningfully validated, or lacks the operational capacity to detect and recover from failure. I would explain the specific risk, escalate to the appropriate decision-maker, and offer a safer alternative such as disabling the affected feature, reverting a compatible release, isolating traffic or using a verified manual workaround.

My responsibility as an FDE is to restore the customer's outcome safely, not to prove that I can push code under pressure. Friday is a relevant staffing constraint, not an automatic release prohibition or an excuse to skip engineering controls.

1. Establish what the customer actually needs#

A request to ship a hotfix immediately is often a proposed solution rather than a complete description of the problem. Start by finding the affected workflow and the consequences of delay.

QuestionWhat it establishes
What is failing, and when did it start?The observed symptom and possible triggering change
Which users, tenants or business processes are affected?Scope and business impact
Is the failure ongoing, intermittent or already contained?Whether immediate mitigation is still necessary
Are data integrity, confidentiality, safety or regulatory obligations at risk?Non-negotiable risk boundaries
What happens if we wait for the normal release window?Cost of inaction
Is there an approved workaround or compatible rollback?A potentially safer recovery path
Who owns the service and who is authorized to approve the change?Operational accountability and decision rights
Who can monitor and respond after the deployment?Actual recovery capability during the release window

Use logs, traces, incident reports and customer examples to distinguish verified facts from hypotheses. Avoid collecting confidential payloads or credentials unnecessarily. Establish an incident identifier and a clear owner if the situation warrants incident response.

For example, a report that invoice processing is unavailable might mean requests are rejected before processing, records are partially committed, or the user interface is unable to display a successful result. Those failure modes require different mitigations. A retry-oriented hotfix may be especially dangerous if a financial operation already committed.

2. Assess severity, urgency and change risk separately#

Incident severity is the consequence of the current failure. Change risk is the potential consequence of the proposed intervention. A high-severity incident does not automatically make a high-risk fix acceptable; it makes finding an effective, appropriately controlled intervention more urgent.

The following classification is illustrative, not a universal severity standard. Use the customer's and service owner's actual incident policy.

SituationInitial response
Active data exposure, integrity failure or critical safety riskEscalate immediately to the incident and relevant security or domain owners; prioritize containment
Critical customer workflow unavailableActivate incident response and compare safe rollback, feature isolation and narrowly scoped patch options
Partial degradation with a viable workaroundAgree on the workaround, investigate and weigh an emergency change against normal release
Minor visual defect, noncritical enhancement or speculative improvementNormally defer to the ordinary testing and release process

Evaluate the proposed change along five dimensions: blast radius, reversibility, confidence in the diagnosis, ability to detect failure and available recovery capacity. Also consider dependencies and coupled systems: a change that appears isolated in one repository may change a shared API or message schema.

Do not assign invented numerical risk scores merely to justify a predetermined decision. Document the evidence, the unknowns and the residual risk. If a change is genuinely unavoidable during a serious incident, use the authorized emergency process and incident command structure rather than treating urgency as permission to act alone.

3. Choose the smallest effective intervention#

Before writing a patch, check whether the customer's outcome can be restored without a new build.

  • Roll back a recent deployment if the previous version is known-good, compatible with current data and not affected by the same security vulnerability.
  • Disable or isolate the affected feature through an existing approved control, provided the remaining workflow remains safe.
  • Adjust a known configuration setting within its documented range, with verification and a recorded restoration procedure.
  • Reroute traffic or use an approved fallback only if the alternative satisfies authorization, data-residency, consistency and capacity requirements.
  • Use an approved manual workaround if it is operationally sustainable and does not introduce unsafe duplicate work.
  • Ship a minimal patch if the preceding alternatives cannot adequately contain the impact.

An emergency change is not necessarily a code deployment. The best mitigation can be a feature flag, rollback or temporary reduction in admission. Each can still be a production change and should receive appropriate authorization and monitoring.

Avoid opportunistic refactoring, dependency upgrades, unrelated features and formatting changes in the hotfix. Keep the artifact and diff small enough to review and understand under incident conditions.

4. A practical go/no-go decision#

Loading diagram…

The decision gate represents a documented judgment, not a claim that these checks eliminate all risk. If neither normal release nor a safe emergency mitigation is immediately possible, maintain incident coordination, communicate the current impact and escalate the unresolved risk. In exceptional circumstances, the authorized incident leadership may approve a different containment procedure under the applicable emergency policy, but cannot waive non-waivable safety or legal obligations.

5. Build and validate the patch#

Use the approved source-control and build process. Record the change identifier, reviewed commit, artifact identity, target environment, configuration changes and intended behavior. Build from a known baseline and ensure the tested artifact is the artifact that will be deployed. Avoid editing production files manually or building an untracked binary on a customer machine.

Minimum evidence before deployment#

CheckWhy it matters
Reproduce the reported defectEstablish that the proposed fix addresses the actual failure
Regression test that fails before and passes after the patchDemonstrate the changed behavior
Targeted tests around affected interfacesDetect regressions in callers, dependencies and adjacent workflows
Relevant negative/security testsConfirm authorization, validation and other critical controls remain intact
Build and artifact verificationEnsure the deployed version is identifiable and reproducible
Environment and compatibility checksAccount for configuration, runtime, schema and dependency differences
Independent reviewCatch incorrect assumptions and unsafe side effects
Recovery rehearsal or evidence of a usable recovery pathEstablish that the operator can stop or reverse the change safely

Choose test coverage according to risk. A one-line authorization fix may require more rigorous negative testing than a much larger presentation-layer change. A patch touching a financial transaction needs retry, duplicate-prevention and reconciliation cases. An LLM workflow patch may require representative grounding, tool-authorization, prompt-injection and fallback tests in addition to ordinary unit tests.

Do not replay real sensitive customer operations in an uncontrolled test environment. Use approved fixtures, sanitized copies or a suitable staging environment. Where staging cannot reproduce a critical difference, document the limitation and use only an authorized, tightly bounded production validation that does not create harmful or irreversible effects. If the missing evidence is essential to establish safety, do not deploy the proposed change.

6. Release with a controlled blast radius#

Prefer the deployment strategy already supported and tested by the service. Do not invent a new production release mechanism during an incident unless necessary and appropriately authorized.

StrategyBenefitImportant risk or constraint
Canary releaseCompare a small cohort against a known baseline before expandingRequires meaningful routing, sufficient evidence and isolation of shared side effects
Blue-green deploymentPrepare a parallel environment and switch traffic deliberatelyBoth versions must be compatible with shared state; rollback of routing is not rollback of data
Feature flagRestrict exposure by a supported control and disable behavior quicklyFlag paths, defaults and permissions need testing; disabling may not reverse effects already committed
Rolling deploymentGradually replace service instances while maintaining capacityMixed versions must coexist; readiness alone does not prove application correctness
Compatible rollbackRestore a previously validated versionEarlier code must tolerate current data, schemas, events and configuration

A customer-specific canary should actually be scoped to that customer. If a shared database trigger, background consumer or global configuration changes for everyone, directing only a small fraction of frontend traffic to the new version does not bound the full blast radius.

Start with a cohort selected according to traffic volume, operation risk and the system's architecture. For a critical write path, shadow evaluation without writes may be safer than sending real mutations to an unproven implementation. Confirm that a canary can be observed independently and that the control population remains meaningful.

Illustrative release sequence#

Loading diagram…

Expansion is an explicit decision. A successful deploy command, healthy process probe or single successful HTTP request is insufficient evidence that the customer workflow has recovered.

7. Define release gates before changing production#

Capture a baseline and specify which metrics, logs, synthetic probes and business invariants will determine success. Define stop conditions before seeing the canary results so the team cannot quietly redefine success under pressure.

For example, a hypothetical customer API incident might have these proposed gates:

SignalIllustrative acceptance or stop criterion
Original regressionPreviously failing approved test cases now complete correctly
Customer-facing success rateMeets the agreed incident recovery objective at representative volume
Error rateNo meaningful regression against a comparable control cohort or baseline
LatencyCustomer-facing p95/p99 within the agreed SLO or emergency threshold
Integrity and authorizationNo observed duplicate mutations, integrity violations or unauthorized access; any confirmed violation stops expansion
Resource saturationNo unsafe growth in queue age, database contention, memory pressure or dependency errors

These are example gate categories, not numerical thresholds or measured results. Define appropriate thresholds, measurement windows, minimum observation counts and comparison conditions for the actual service. A low-volume Friday evening canary may produce too little traffic to justify automatic expansion. Use representative synthetic validation where safe, and keep rollout limited until evidence is adequate. A sample with no observed violations does not prove that a violation is impossible.

Monitor version-specific and cohort-specific telemetry. Use correlation IDs and traces to follow representative requests. Observe both the original incident symptom and collateral damage: downstream dependency pressure, timeout rates, retries, queue growth and unexpected side effects.

8. Plan rollback and data recovery separately#

A rollback must be an executable procedure with an owner, access, a known artifact, preconditions and stop triggers. It is not simply a statement that the team can undo the change.

Distinguish the different effects of a release:

  • Code and configuration can often be reverted to a previously reviewed version.
  • A database schema change may make the old code incompatible.
  • A message emitted by the new version may already have been consumed downstream.
  • External actions such as sending notifications, moving money or changing entitlements may require reconciliation or authorized compensating actions.
  • Restoring a database backup can discard legitimate writes made after that backup; it is not an ordinary rollback button.

For changes spanning old and new versions, an expand-and-contract migration pattern can improve compatibility: introduce an additive representation, migrate or backfill under controlled conditions, switch consumers, then remove the old representation in a later planned release. Even additive changes may take locks or consume significant resources, so evaluate them against the actual database. Do not combine a destructive migration with an emergency release merely because both fit in one pull request.

If a code rollback cannot safely undo the effect of the new version, plan containment, recovery and reconciliation before deciding to deploy. A forward fix can be appropriate when rollback is impossible, but it needs its own risk assessment and approval. Verify recovery procedures and backup restoration capabilities appropriate to the required recovery time and acceptable data-loss bounds.

9. When to refuse the proposed change#

A strong FDE can distinguish a firm no-go condition from a manageable risk. Refuse or pause the proposed action when:

  • The customer requests bypassing required authorization, access control, data protection or regulatory obligations.
  • The action requires production privileges that the engineer or requester is not authorized to exercise.
  • The proposed patch can irreversibly corrupt or lose data and there is no adequate recovery or containment plan.
  • The essential safety or correctness evidence cannot be obtained within the requested time.
  • A significant high-risk change cannot be monitored or recovered because the necessary service owners, operators or incident support are unavailable.
  • The proposed action creates a larger foreseeable risk than the current impact and a safer path is available.
  • The scope is not an emergency and the customer is asking to bypass the normal release process for convenience.

Customer approval is necessary for some deployment decisions but does not automatically satisfy the service owner's or security owner's change policy. Escalate to the authorized incident commander, engineering owner, security lead or change authority. Document disagreements and the decision, but do not shift responsibility by asking an unqualified customer to accept a risk they cannot meaningfully evaluate.

Refusing a particular patch is not refusing to help. Continue incident triage, implement an authorized safer mitigation where possible, provide an actionable workaround, and agree on what evidence or approval would make the change acceptable.

10. Communicate clearly under pressure#

The customer needs a clear explanation of the impact, the options, the decision and the remaining uncertainty. Avoid a lengthy architectural lecture during an outage, but do not hide risks.

Illustrative customer update when a patch is justified:

"We have reproduced the issue in the affected workflow and identified a narrowly scoped change. The service owner is reviewing the patch and we are running the targeted regression and compatibility checks. We will start with the approved limited deployment and stop if the agreed recovery or safety criteria fail. We will share the verified outcome and remaining limitations before recommending broader rollout."

Only use those statements when they reflect actual completed work.

Illustrative response when refusing a risky deployment:

"I understand that the affected workflow needs to be restored urgently. The requested change disables a required access-control check, so I cannot deploy it as proposed. That could expose data outside its permitted scope. I recommend isolating the failing path while we involve the service and security owners and validate a fix that preserves authorization."

Agree on the next communication point and owner through the organization's incident process. Do not promise a recovery time that has not been established. Communicate confirmed observations separately from suspected causes. Keep the incident record current so an incoming engineer does not need to reconstruct the decision from chat messages.

11. Two realistic hypothetical scenarios#

Scenario A: ship a controlled emergency fix#

Situation: A recently deployed API version rejects valid requests from an important customer integration because an optional field is incorrectly treated as mandatory. The prior version cannot be immediately restored without disrupting another critical compatibility change.

Decision: A narrowly scoped validator correction may be justified. The engineer reproduces the rejection with an approved fixture, confirms the previous field contract, and tests valid, invalid and unauthorized requests. Another engineer reviews the patch. The incident owner approves a release that limits exposure to the affected route and customer where the architecture supports that isolation.

The team verifies the rollback artifact remains compatible with current state, records the relevant metrics and confirms operational coverage. It releases the tested artifact to the controlled cohort, checks customer request success and authorization behavior, and expands only after evidence supports recovery.

Why this is defensible: The ongoing harm is significant, the failure is understood, the patch is small, and the team has a reasonable way to detect and contain regressions. The decision is still conditional on actual validation and approval.

Scenario B: refuse the requested patch and contain the issue#

Situation: A customer cannot complete a data-import job because a new schema validation rejects certain records. The customer asks the FDE to disable all validation and duplicate checks for the weekend.

Decision: The engineer refuses that particular change. Disabling both controls could create duplicate records, invalid financial data or inconsistent downstream state. The engineer checks which imports already committed, isolates or quarantines rejected records, and agrees on a verified manual or compatibility path with the data and service owners.

A corrected importer is tested using sanitized examples, including replay, malformed input and transaction failure cases. Once an authorized recovery strategy and coverage are available, the team can selectively replay eligible records with the original business identifiers and reconcile the outcomes.

Why this is defensible: Urgency does not justify removing invariants that protect the customer's data. A safer containment path preserves evidence, prevents duplicate work and allows the team to fix the root cause.

Both scenarios are fictional practice examples. They are not personal experience, verified customer incidents or measured outcomes.

12. After the hotfix#

Continue monitoring through an appropriate observation period. Verify the actual customer workflow, confirm the deployed version and reconcile any operations that were in flight during the incident. Hand off responsibility to the named on-call owner with the exact current state, metrics, rollback steps and outstanding risks. Do not leave an unowned change running because the engineer is physically at the customer site.

After stabilization:

  1. Record the incident timeline, approvals, exact artifact and actions.
  2. Compare the verified recovery outcome with the original impact and release gates.
  3. Add a regression test and address the underlying engineering or process defect.
  4. Remove temporary flags or workarounds through an authorized, tested change when appropriate.
  5. Reconcile data or external side effects and communicate unresolved cases.
  6. Review improvements to observability, release automation, change compatibility and escalation procedures without assigning blame.

A successful emergency intervention does not mean the emergency process should become the normal delivery method.

Likely interviewer follow-ups#

Would you ever deploy on a Friday? Yes. If the risk of inaction is greater than the risk of a controlled change and the required approvals, validation, monitoring and recovery capacity exist, a Friday deployment can be appropriate. The calendar alone does not decide.

What if the customer threatens to escalate unless you deploy? Acknowledge the business urgency, explain the concrete risk and safer alternatives, and involve the authorized decision-makers. Do not bypass required controls to avoid an uncomfortable conversation.

What if the fix is only one line? Evaluate its behavior and blast radius, not the diff size. One line can disable authorization, delete records or introduce duplicate writes.

What if you cannot roll back? Establish a safe containment and recovery path and assess the irreversible effects explicitly. If recovery is inadequate, refuse the proposed change rather than assume a future patch can repair the damage.

How would you prove the hotfix worked? Verify the reproduced failure, compare meaningful customer-facing metrics, check integrity and security invariants, and confirm the real workflow with the customer. Deployment success alone is not recovery.

What if the incident is a security exposure? Coordinate with the security and incident owners, prioritize authorized containment, preserve evidence and follow the applicable disclosure and response policy. Do not roll back to a known vulnerable version without assessing exposure and alternatives.

What makes this an FDE judgment question? It tests whether you can balance customer urgency, technical uncertainty, operational ownership and non-negotiable safety constraints while still delivering practical recovery options.

Interview takeaway#

Move quickly when the business impact justifies it, but keep the change small, authorized, observable and recoverable. Define the go/no-go decision before shipping, validate the real customer outcome, and refuse unsafe methods while continuing to help the customer recover.

Related questions

Explore other topics:AI AgentsAI System DesignLarge Language Models