<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Oil &amp;amp; Miles</title>
    <description>The latest articles on DEV Community by Oil &amp;amp; Miles (oilandmiles).</description>
    <link>https://dev.to/oilandmiles</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F15672%2Fdad8ce68-29be-49e6-9f93-bbcdd821fcc6.png</url>
      <title>DEV Community: Oil &amp;amp; Miles</title>
      <link>https://dev.to/oilandmiles</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/oilandmiles"/>
    <language>en</language>
    <item>
      <title>When the fix is a monitor: what a carmaker's engine software update teaches about alerting</title>
      <dc:creator>Iqbal Taher</dc:creator>
      <pubDate>Wed, 25 Nov 2026 04:45:22 +0000</pubDate>
      <link>https://dev.to/oilandmiles/when-the-fix-is-a-monitor-what-a-carmakers-engine-software-update-teaches-about-alerting-49dj</link>
      <guid>https://dev.to/oilandmiles/when-the-fix-is-a-monitor-what-a-carmakers-engine-software-update-teaches-about-alerting-49dj</guid>
      <description>&lt;p&gt;There is a pattern every on-call engineer knows. The root cause is hard or expensive to fix, so the team ships an alert instead. The alert catches the failure early, limits the damage, and buys time.&lt;/p&gt;

&lt;p&gt;I found a surprisingly clean real-world version of this in a car recall, and I think it is a good way to talk about the difference between monitoring and fixing. Everything below comes from public documents: NHTSA recall texts, the carmakers' own campaign pages and the court settlement notices. The conversations are made-up examples to show the idea, not transcripts.&lt;/p&gt;

&lt;h2&gt;
  
  
  The part that fails, and the alert that was added
&lt;/h2&gt;

&lt;p&gt;Hyundai and Kia fitted a family of four-cylinder gasoline direct injection engines to US cars starting with the 2011 model year. The recall texts describe one common thread: wear in the connecting rod bearings, the soft metal shells that cushion each rod on the crankshaft. They need a steady supply of oil to keep metal parts apart.&lt;/p&gt;

&lt;p&gt;NHTSA's text for recall 15V-568 describes metal debris left from manufacturing that can restrict oil flow. Later recalls name machining errors that can wear the bearings early. The outcome in the documents is the same: a worn bearing can fail, and the engine can stall while driving.&lt;/p&gt;

&lt;p&gt;You cannot patch a machining error from a laptop. So alongside the repairs, the makers shipped a software update to the engine computer called the knock sensor detection system, or KSDS. Hyundai's campaign page describes it as designed "to detect abnormal engine bearing noise before potentially severe engine damage occurs."&lt;/p&gt;

&lt;p&gt;In developer terms: a watchdog, not a fix.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the alert actually does
&lt;/h2&gt;

&lt;p&gt;The behavior reads like a well-designed alarm:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It listens for the knock of a worn bearing.&lt;/li&gt;
&lt;li&gt;When it trips, the check engine light blinks, power is cut, and the engine stores a diagnostic code. On a Kia that is P1326, and on a Hyundai it is P132600. Hyundai's cars also sound a chime.&lt;/li&gt;
&lt;li&gt;In the reduced power mode, the engine is held to about 1,800 to 2,000 rpm, which both makers' texts put at a top speed of around 65 mph or less, depending on load.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is graceful degradation. The system does not pretend nothing is wrong, and it does not just shut off the engine in traffic. It limits the damage and gives the driver time to reach a safe place.&lt;/p&gt;

&lt;p&gt;Then comes the part that matters most for anyone who builds monitoring. The alert does not replace the investigation. On a Kia, a dealer who sees that code first runs a bearing clearance test, which checks the rod bearings by putting air and vacuum into the cylinder block. A pass leads to a software check or a new knock sensor. A fail leads to a replacement engine.&lt;/p&gt;

&lt;p&gt;An alert tells you something is wrong. It does not tell you what.&lt;/p&gt;

&lt;h2&gt;
  
  
  The incentive problem hidden in the paperwork
&lt;/h2&gt;

&lt;p&gt;The update is also tied to the warranty. The lifetime short block cover that came out of the class settlements is for owners who completed the update, and the court documents say it can be denied if the car did not get the update within 60 days of the notice.&lt;/p&gt;

&lt;p&gt;I find this the most interesting design lesson. Once your alert is part of the contract, skipping it has a cost. The monitor stops being an optional extra and becomes a condition.&lt;/p&gt;

&lt;p&gt;Here is the shape of a conversation that comes out of that, as a made-up example:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Owner:&lt;/strong&gt; The dealer says my update is done. Why does that matter?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Advisor:&lt;/strong&gt; Because the long cover depends on it, and the owner letters warn that ignoring a blinking light can void the lifetime warranty.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Owner:&lt;/strong&gt; So the update is the receipt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Advisor:&lt;/strong&gt; Pretty much. Keep the records.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Reading recall documents like release notes
&lt;/h2&gt;

&lt;p&gt;If you read changelogs for a living, you already have the skill for this. A recall text has the same parts: affected versions (cars, years, build dates), the defect, the remedy and a campaign number.&lt;/p&gt;

&lt;p&gt;Take two campaigns from the list. Recall 20V-746 covers certain Hyundai models and the remedy reads: inspect, replace the engine if damaged, install KSDS. Recall 20V-750 is about fires, and its remedy is: inspect for leaks, repair, update KSDS. The same alert shows up as a remedy for different defects, the way one logging library can ship in several hotfixes.&lt;/p&gt;

&lt;p&gt;The practical habit is to match your exact car to the exact campaign, never just the model name. The same model name can carry two different engines, so check the engine too. If you want a map for that, I kept &lt;a href="https://oilandmiles.com/articles/hyundai-kia-theta-ii-engine-problems" rel="noopener noreferrer"&gt;the full list of recall campaign numbers and which cars they name&lt;/a&gt; in one table, along with which warranty applies to which car.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would copy for my own systems
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Ship the alert even when you cannot ship the fix.&lt;/strong&gt; The documents show a monitor can cut the risk before the repair exists.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Make the failure mode graceful.&lt;/strong&gt; Limited power beats a sudden stop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pair every alert with a diagnostic step.&lt;/strong&gt; A code that leads to a test is better than a code that leads to a guess.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep the evidence.&lt;/strong&gt; The warranty depends on maintenance records and a completed update. Your incident log works the same way.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write down what is covered.&lt;/strong&gt; Four separate warranties exist across the makers and engines, and which one applies depends on both. Ambiguity there is a bug.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;One caveat I want to be straight about. The complaint counts in NHTSA's file are owners' own words, not a failure rate, because there is no sales number to divide by. A big number of complaints tells you where to look. It does not tell you how likely your car is to fail, and I would not read it that way.&lt;/p&gt;

&lt;p&gt;I am not suggesting anyone treat their engine as a deployment. But if you ever wondered what "shipping a mitigation" looks like outside of software, a free update that listens for a failing bearing is hard to beat.&lt;/p&gt;

&lt;p&gt;What is the best alert you ever shipped in place of a fix, and did it get removed once the root cause was patched?&lt;/p&gt;

</description>
      <category>monitoring</category>
      <category>debugging</category>
      <category>learning</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>Writing a bug report for your car: how to describe a noise so the shop can find it</title>
      <dc:creator>Iqbal Taher</dc:creator>
      <pubDate>Wed, 25 Nov 2026 04:44:44 +0000</pubDate>
      <link>https://dev.to/oilandmiles/writing-a-bug-report-for-your-car-how-to-describe-a-noise-so-the-shop-can-find-it-12p6</link>
      <guid>https://dev.to/oilandmiles/writing-a-bug-report-for-your-car-how-to-describe-a-noise-so-the-shop-can-find-it-12p6</guid>
      <description>&lt;p&gt;Every developer knows the ticket that says "it's broken." No version, no steps, no logs. You close it as "cannot reproduce" and move on.&lt;/p&gt;

&lt;p&gt;Then your own car starts making a noise, you drive to a shop, and you say: "It's making a sound." You just filed that ticket.&lt;/p&gt;

&lt;p&gt;I think the fix is the same one we use at work. Treat the noise as a bug report and write it up before you hand it over. What follows is the script I would use, and the reasoning behind each line. The dialogue is a made-up example to show the format, not a transcript of a real visit.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reproduce it before you report it
&lt;/h2&gt;

&lt;p&gt;A shop can only fix what it can hear. A noise that never shows up in the parking lot is the car version of "works on my machine."&lt;/p&gt;

&lt;p&gt;So collect the conditions first, from normal driving, without trying to force the noise:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When does it happen: first move after starting, low speed, rough road, while accelerating too?&lt;/li&gt;
&lt;li&gt;Where do you feel it: the pedal, the steering wheel, the floor, one corner of the car?&lt;/li&gt;
&lt;li&gt;What changes it: does it fade when you press the brake, or only appear in cool, damp weather?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One detail from my own reading is worth knowing. A single clunk on the first move after a start can be the anti-lock brake system running its self-test, and several carmakers tell dealers that one is normal. A clunk on every stop is not the self-test and needs a look. That difference alone saves an unnecessary repair.&lt;/p&gt;

&lt;p&gt;If the noise won't show at the shop, record it on your phone and ask to ride along on the test drive. A 20 second clip is your stack trace.&lt;/p&gt;

&lt;h2&gt;
  
  
  Say what you observed, not what you think is broken
&lt;/h2&gt;

&lt;p&gt;This is the same rule as a good ticket. "Pads are bad" is a diagnosis. "Knock from the front left when I brake gently at low speed, gone when I press harder" is an observation.&lt;/p&gt;

&lt;p&gt;Diagnoses anchor the person reading them. If you say "wheel bearing," they may start there and skip the cause that was actually loose. Observations leave the search open.&lt;/p&gt;

&lt;p&gt;Here is the sample exchange:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Customer:&lt;/strong&gt; There's a knock from the front when I brake gently at low speed. It stops when I press harder. It started about a week ago, no new brake work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mechanic:&lt;/strong&gt; Does it happen when you accelerate too?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Customer:&lt;/strong&gt; No, only braking. I recorded it, want to hear?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That conversation took thirty seconds, and the mechanic already knows to look at brake hardware before suspension.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ask for the cheap checks first, in order
&lt;/h2&gt;

&lt;p&gt;Developers do this by instinct. You rule out the config file before you rewrite the module. A car has the same ordering.&lt;/p&gt;

&lt;p&gt;For a brake knock, the sources I read put the loose caliper or bracket bolt first, because it is the one that is dangerous if it is ignored. Then the pads moving in their bracket, then the suspension. If you want the longer version, I put together &lt;a href="https://oilandmiles.com/articles/knocking-noise-when-braking" rel="noopener noreferrer"&gt;the three questions worth asking after a brake job&lt;/a&gt;, including why clips and slide pins matter and why some bolts are one-time-use.&lt;/p&gt;

&lt;p&gt;The short script:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Customer:&lt;/strong&gt; Before any parts, can you check the caliper and bracket bolts for torque, the pad clips and slide pins, and whether my VIN has a recall or bulletin?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That single sentence names the cheap checks in a sensible order and asks about a recall. Recall repairs are free at a dealer, and carmakers have recalled cars for loose caliper and hub bolts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Know when it is not a debugging session
&lt;/h2&gt;

&lt;p&gt;Some bugs get a stop-the-line rule. A car has them too. If the knock started right after brake or wheel work, if the pedal goes soft, if the car pulls to one side or the wheel wobbles, do not keep driving to gather more data. Have it towed. A caliper or a wheel that is not tight can come off, and no log file is worth that.&lt;/p&gt;

&lt;p&gt;The same goes for a red brake warning light or grinding, which means metal is touching metal.&lt;/p&gt;

&lt;h2&gt;
  
  
  Ask for the answer in writing
&lt;/h2&gt;

&lt;p&gt;This is my favorite habit, and it comes straight from engineering teams: write down the outcome so the next person does not start from zero.&lt;/p&gt;

&lt;p&gt;If the bolts, clips and suspension all check out, ask whether the noise is a known, normal one on your car. Ask them to put it on the invoice. The next shop then sees what was ruled out instead of rerunning the same inspection and billing you for it.&lt;/p&gt;

&lt;p&gt;On the money side, ask three things at the counter: which part moved, how many hours are being charged and at what rate, and whether a recall or bulletin covers your VIN. A recall is free, and a bulletin repair is free while the car is under warranty.&lt;/p&gt;

&lt;h2&gt;
  
  
  The checklist version
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Note when, where and what changes it. Record it if you can.&lt;/li&gt;
&lt;li&gt;Write observations, not a diagnosis.&lt;/li&gt;
&lt;li&gt;Ask for the cheap, safe-to-skip-nothing checks in order.&lt;/li&gt;
&lt;li&gt;Know the stop rules: soft pedal, pull, wobble, grinding, noise right after wheel work.&lt;/li&gt;
&lt;li&gt;Run your VIN for open recalls before you pay.&lt;/li&gt;
&lt;li&gt;Get the result in writing.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;None of this makes you a mechanic, and it is not meant to. It makes you a reporter the shop can actually work with, which is the part of the job that belongs to you.&lt;/p&gt;

&lt;p&gt;What is the worst "cannot reproduce" ticket you have ever received, and did your car ever give you one back?&lt;/p&gt;

</description>
      <category>debugging</category>
      <category>communication</category>
      <category>productivity</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
