I am aware that if you have an Artinian ring $R$ which happens to be commutative and contains unity, then the ring $R$ can be decomposed as: $$ R \cong R_1 \times R_2 \times \cdots \times R_n$$
Where each $R_i$ is an artinian local ring. My question is, if we drop the commutativity constraint, must this still hold? Are there any noncommutative left or right Artinian rings that cannot be written as a direct product of local rings?
We say that a ring is connected if it cannot be written as a direct product of non-trivial ideals. There are many examples of connected Artinian rings.
To produce some, just take any finite quiver $Q$ which is connected as a graph, consider the path algebra $\Bbbk Q$ of $Q$ over some field $\Bbbk$, and pick any admissible ideal $I$ in $\Bbbk Q$. The quotient algebra $A=\Bbbk Q/I$ is then connected. You will find a proof of this (and definitions of all the terms I have used) in the book by Assem, Skowroński and Simson.
A concrete example: pick $n\in\mathbb N$ and let $A$ be the subalgebra of the matrix algebra $M_n(\Bbbk)$ over a field consisting of upper triangular matrices.