You are very astute. There are relays with inbuilt diodes - hence the convention that 86 is +ve and 85 is negative.
However I prefer to add my own because:
- why pay them to do it?
- why have to worry about a polarity convention for an otherwise non-polar device?
- some relay circuits do no have a polarity (ie, their +ve & -ve across the coil may swap);
- how do you replace an internal blown diode? (ie, just add your own external $0.05 1N4004).
Most of the time the spike quenching diode is not needed.
And IMO, spike sensitive stuff should itself be protected - ie, have their own diode(s). In fact many ICs have that - most inputs and outputs have 2 reverse biased diodes - one to its +ve rail, the other to its -ve rail, hence clipping voltages to ~0.3V to ~0.6V above and below the supply rails.
Incidentally, it seems that inbuilt-diode relays are now less common. Many instead have a parallel resistor (usually ~10kΩ ?) which is supposed to absorb some of the spike. (But does it?)
I still prefer raw coils. I'll add diodes if desired. I won't bother with resistors.
And any circuit I build will have its own protection. Relay diodes are usually then only to reduce electrical noise from the relay whether radiated or likely to be "seen" by dash bulbs or voltmeters and other sensing circuits etc.
PS (the next day) - the testing that Howie alluded to (courtesy of Mr (Not!) Idiot) I assume is to simply touch the (-ve?) coil terminal/wire as it is de-energised.
It's something I managed to avoid for decades until this year after my steering-wheel horn ring failed - I merely used an alligator clip to touch the horn relay's ground wire.
It worked fine a couple of times, but later I must have been touching the relay GND as it de-energised. I fitted a dash-mounted push button that night!
Maybe I should have tried a suppression diode across the coil, but the button was the proper
interim solution.
But thanks to Howie and Mr Idiot, I might consider this "new" method of testing the integrity of spike suppression relays. However I strongly suspect upon finding my first failed diode that I'll build some LED tester instead!
FYI - I recently read that the current rating of such "across coil reverse biased diodes" should be double that of the coil.
IE - with most car relays being 250mA or less, that means a 500mA diode.
Hence the 1 Amp rated 1N400x series is ideal. The 1N4003 with 200V PIV rating should handle most spikes, but the now "standard" 400V 1N4004 adds extra voltage capability. So too the highest PIV in the series - the 1,000V 1N4007 - not that it's likely to be an advantage, but both the -04 & -07 are the common
standardised and hence cheapest versions. (The others seem to have been dropped from production.)