Even the earliest systems, such as General Motors' CCC (computer command control) system had self diagnosis functionality. When the computer detected a fault, it illuminated the MIL.
Even the initial systems, like General Motors' CCC (computer command control), featured diagnostic functions. When the computer detected an issue, it activated the MIL warning light.